STM32L443xx HAL User Manual
|
Functions | |
__STATIC_INLINE void | LL_LPUART_Enable (USART_TypeDef *LPUARTx) |
LPUART Enable. | |
__STATIC_INLINE void | LL_LPUART_Disable (USART_TypeDef *LPUARTx) |
LPUART Disable. | |
__STATIC_INLINE uint32_t | LL_LPUART_IsEnabled (USART_TypeDef *LPUARTx) |
Indicate if LPUART is enabled. | |
__STATIC_INLINE void | LL_LPUART_EnableInStopMode (USART_TypeDef *LPUARTx) |
LPUART enabled in STOP Mode. | |
__STATIC_INLINE void | LL_LPUART_DisableInStopMode (USART_TypeDef *LPUARTx) |
LPUART disabled in STOP Mode. | |
__STATIC_INLINE uint32_t | LL_LPUART_IsEnabledInStopMode (USART_TypeDef *LPUARTx) |
Indicate if LPUART is enabled in STOP Mode (able to wake up MCU from Stop mode or not) | |
__STATIC_INLINE void | LL_LPUART_EnableClockInStopMode (USART_TypeDef *LPUARTx) |
LPUART Clock enabled in STOP Mode. | |
__STATIC_INLINE void | LL_LPUART_DisableClockInStopMode (USART_TypeDef *LPUARTx) |
LPUART clock disabled in STOP Mode. | |
__STATIC_INLINE uint32_t | LL_LPUART_IsClockEnabledInStopMode (USART_TypeDef *LPUARTx) |
Indicate if LPUART clock is enabled in STOP Mode. | |
__STATIC_INLINE void | LL_LPUART_EnableDirectionRx (USART_TypeDef *LPUARTx) |
Receiver Enable (Receiver is enabled and begins searching for a start bit) | |
__STATIC_INLINE void | LL_LPUART_DisableDirectionRx (USART_TypeDef *LPUARTx) |
Receiver Disable. | |
__STATIC_INLINE void | LL_LPUART_EnableDirectionTx (USART_TypeDef *LPUARTx) |
Transmitter Enable. | |
__STATIC_INLINE void | LL_LPUART_DisableDirectionTx (USART_TypeDef *LPUARTx) |
Transmitter Disable. | |
__STATIC_INLINE void | LL_LPUART_SetTransferDirection (USART_TypeDef *LPUARTx, uint32_t TransferDirection) |
Configure simultaneously enabled/disabled states of Transmitter and Receiver. | |
__STATIC_INLINE uint32_t | LL_LPUART_GetTransferDirection (USART_TypeDef *LPUARTx) |
Return enabled/disabled states of Transmitter and Receiver. | |
__STATIC_INLINE void | LL_LPUART_SetParity (USART_TypeDef *LPUARTx, uint32_t Parity) |
Configure Parity (enabled/disabled and parity mode if enabled) | |
__STATIC_INLINE uint32_t | LL_LPUART_GetParity (USART_TypeDef *LPUARTx) |
Return Parity configuration (enabled/disabled and parity mode if enabled) | |
__STATIC_INLINE void | LL_LPUART_SetWakeUpMethod (USART_TypeDef *LPUARTx, uint32_t Method) |
Set Receiver Wake Up method from Mute mode. | |
__STATIC_INLINE uint32_t | LL_LPUART_GetWakeUpMethod (USART_TypeDef *LPUARTx) |
Return Receiver Wake Up method from Mute mode. | |
__STATIC_INLINE void | LL_LPUART_SetDataWidth (USART_TypeDef *LPUARTx, uint32_t DataWidth) |
Set Word length (nb of data bits, excluding start and stop bits) | |
__STATIC_INLINE uint32_t | LL_LPUART_GetDataWidth (USART_TypeDef *LPUARTx) |
Return Word length (i.e. | |
__STATIC_INLINE void | LL_LPUART_EnableMuteMode (USART_TypeDef *LPUARTx) |
Allow switch between Mute Mode and Active mode. | |
__STATIC_INLINE void | LL_LPUART_DisableMuteMode (USART_TypeDef *LPUARTx) |
Prevent Mute Mode use. | |
__STATIC_INLINE uint32_t | LL_LPUART_IsEnabledMuteMode (USART_TypeDef *LPUARTx) |
Indicate if switch between Mute Mode and Active mode is allowed. | |
__STATIC_INLINE void | LL_LPUART_SetStopBitsLength (USART_TypeDef *LPUARTx, uint32_t StopBits) |
Set the length of the stop bits. | |
__STATIC_INLINE uint32_t | LL_LPUART_GetStopBitsLength (USART_TypeDef *LPUARTx) |
Retrieve the length of the stop bits. | |
__STATIC_INLINE void | LL_LPUART_ConfigCharacter (USART_TypeDef *LPUARTx, uint32_t DataWidth, uint32_t Parity, uint32_t StopBits) |
Configure Character frame format (Datawidth, Parity control, Stop Bits) | |
__STATIC_INLINE void | LL_LPUART_SetTXRXSwap (USART_TypeDef *LPUARTx, uint32_t SwapConfig) |
Configure TX/RX pins swapping setting. | |
__STATIC_INLINE uint32_t | LL_LPUART_GetTXRXSwap (USART_TypeDef *LPUARTx) |
Retrieve TX/RX pins swapping configuration. | |
__STATIC_INLINE void | LL_LPUART_SetRXPinLevel (USART_TypeDef *LPUARTx, uint32_t PinInvMethod) |
Configure RX pin active level logic. | |
__STATIC_INLINE uint32_t | LL_LPUART_GetRXPinLevel (USART_TypeDef *LPUARTx) |
Retrieve RX pin active level logic configuration. | |
__STATIC_INLINE void | LL_LPUART_SetTXPinLevel (USART_TypeDef *LPUARTx, uint32_t PinInvMethod) |
Configure TX pin active level logic. | |
__STATIC_INLINE uint32_t | LL_LPUART_GetTXPinLevel (USART_TypeDef *LPUARTx) |
Retrieve TX pin active level logic configuration. | |
__STATIC_INLINE void | LL_LPUART_SetBinaryDataLogic (USART_TypeDef *LPUARTx, uint32_t DataLogic) |
Configure Binary data logic. | |
__STATIC_INLINE uint32_t | LL_LPUART_GetBinaryDataLogic (USART_TypeDef *LPUARTx) |
Retrieve Binary data configuration. | |
__STATIC_INLINE void | LL_LPUART_SetTransferBitOrder (USART_TypeDef *LPUARTx, uint32_t BitOrder) |
Configure transfer bit order (either Less or Most Significant Bit First) | |
__STATIC_INLINE uint32_t | LL_LPUART_GetTransferBitOrder (USART_TypeDef *LPUARTx) |
Return transfer bit order (either Less or Most Significant Bit First) | |
__STATIC_INLINE void | LL_LPUART_ConfigNodeAddress (USART_TypeDef *LPUARTx, uint32_t AddressLen, uint32_t NodeAddress) |
Set Address of the LPUART node. | |
__STATIC_INLINE uint32_t | LL_LPUART_GetNodeAddress (USART_TypeDef *LPUARTx) |
Return 8 bit Address of the LPUART node as set in ADD field of CR2. | |
__STATIC_INLINE uint32_t | LL_LPUART_GetNodeAddressLen (USART_TypeDef *LPUARTx) |
Return Length of Node Address used in Address Detection mode (7-bit or 4-bit) | |
__STATIC_INLINE void | LL_LPUART_EnableRTSHWFlowCtrl (USART_TypeDef *LPUARTx) |
Enable RTS HW Flow Control. | |
__STATIC_INLINE void | LL_LPUART_DisableRTSHWFlowCtrl (USART_TypeDef *LPUARTx) |
Disable RTS HW Flow Control. | |
__STATIC_INLINE void | LL_LPUART_EnableCTSHWFlowCtrl (USART_TypeDef *LPUARTx) |
Enable CTS HW Flow Control. | |
__STATIC_INLINE void | LL_LPUART_DisableCTSHWFlowCtrl (USART_TypeDef *LPUARTx) |
Disable CTS HW Flow Control. | |
__STATIC_INLINE void | LL_LPUART_SetHWFlowCtrl (USART_TypeDef *LPUARTx, uint32_t HardwareFlowControl) |
Configure HW Flow Control mode (both CTS and RTS) | |
__STATIC_INLINE uint32_t | LL_LPUART_GetHWFlowCtrl (USART_TypeDef *LPUARTx) |
Return HW Flow Control configuration (both CTS and RTS) | |
__STATIC_INLINE void | LL_LPUART_EnableOverrunDetect (USART_TypeDef *LPUARTx) |
Enable Overrun detection. | |
__STATIC_INLINE void | LL_LPUART_DisableOverrunDetect (USART_TypeDef *LPUARTx) |
Disable Overrun detection. | |
__STATIC_INLINE uint32_t | LL_LPUART_IsEnabledOverrunDetect (USART_TypeDef *LPUARTx) |
Indicate if Overrun detection is enabled. | |
__STATIC_INLINE void | LL_LPUART_SetWKUPType (USART_TypeDef *LPUARTx, uint32_t Type) |
Select event type for Wake UP Interrupt Flag (WUS[1:0] bits) | |
__STATIC_INLINE uint32_t | LL_LPUART_GetWKUPType (USART_TypeDef *LPUARTx) |
Return event type for Wake UP Interrupt Flag (WUS[1:0] bits) | |
__STATIC_INLINE void | LL_LPUART_SetBaudRate (USART_TypeDef *LPUARTx, uint32_t PeriphClk, uint32_t BaudRate) |
Configure LPUART BRR register for achieving expected Baud Rate value. | |
__STATIC_INLINE uint32_t | LL_LPUART_GetBaudRate (USART_TypeDef *LPUARTx, uint32_t PeriphClk) |
Return current Baud Rate value, according to LPUARTDIV present in BRR register (full BRR content), and to used Peripheral Clock values. |
__STATIC_INLINE void LL_LPUART_ConfigCharacter | ( | USART_TypeDef * | LPUARTx, |
uint32_t | DataWidth, | ||
uint32_t | Parity, | ||
uint32_t | StopBits | ||
) |
Configure Character frame format (Datawidth, Parity control, Stop Bits)
LPUARTx | LPUART Instance |
DataWidth | This parameter can be one of the following values: |
Parity | This parameter can be one of the following values: |
StopBits | This parameter can be one of the following values: |
None |
Definition at line 1074 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE void LL_LPUART_ConfigNodeAddress | ( | USART_TypeDef * | LPUARTx, |
uint32_t | AddressLen, | ||
uint32_t | NodeAddress | ||
) |
Set Address of the LPUART node.
LPUARTx | LPUART Instance |
AddressLen | This parameter can be one of the following values: |
NodeAddress | 4 or 7 bit Address of the LPUART node. |
None |
Definition at line 1246 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE void LL_LPUART_Disable | ( | USART_TypeDef * | LPUARTx | ) |
LPUART Disable.
LPUARTx | LPUART Instance |
None |
Definition at line 551 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE void LL_LPUART_DisableClockInStopMode | ( | USART_TypeDef * | LPUARTx | ) |
LPUART clock disabled in STOP Mode.
LPUARTx | LPUART Instance |
None |
Definition at line 756 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE void LL_LPUART_DisableCTSHWFlowCtrl | ( | USART_TypeDef * | LPUARTx | ) |
Disable CTS HW Flow Control.
LPUARTx | LPUART Instance |
None |
Definition at line 1319 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE void LL_LPUART_DisableDirectionRx | ( | USART_TypeDef * | LPUARTx | ) |
Receiver Disable.
LPUARTx | LPUART Instance |
None |
Definition at line 790 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE void LL_LPUART_DisableDirectionTx | ( | USART_TypeDef * | LPUARTx | ) |
Transmitter Disable.
LPUARTx | LPUART Instance |
None |
Definition at line 812 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE void LL_LPUART_DisableInStopMode | ( | USART_TypeDef * | LPUARTx | ) |
LPUART disabled in STOP Mode.
LPUARTx | LPUART Instance |
None |
Definition at line 719 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE void LL_LPUART_DisableMuteMode | ( | USART_TypeDef * | LPUARTx | ) |
Prevent Mute Mode use.
Set Receiver in active mode permanently.
LPUARTx | LPUART Instance |
None |
Definition at line 958 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE void LL_LPUART_DisableOverrunDetect | ( | USART_TypeDef * | LPUARTx | ) |
Disable Overrun detection.
LPUARTx | LPUART Instance |
None |
Definition at line 1374 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE void LL_LPUART_DisableRTSHWFlowCtrl | ( | USART_TypeDef * | LPUARTx | ) |
Disable RTS HW Flow Control.
LPUARTx | LPUART Instance |
None |
Definition at line 1297 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE void LL_LPUART_Enable | ( | USART_TypeDef * | LPUARTx | ) |
LPUART Enable.
LPUARTx | LPUART Instance |
None |
Definition at line 532 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE void LL_LPUART_EnableClockInStopMode | ( | USART_TypeDef * | LPUARTx | ) |
LPUART Clock enabled in STOP Mode.
LPUARTx | LPUART Instance |
None |
Definition at line 744 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE void LL_LPUART_EnableCTSHWFlowCtrl | ( | USART_TypeDef * | LPUARTx | ) |
Enable CTS HW Flow Control.
LPUARTx | LPUART Instance |
None |
Definition at line 1308 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE void LL_LPUART_EnableDirectionRx | ( | USART_TypeDef * | LPUARTx | ) |
Receiver Enable (Receiver is enabled and begins searching for a start bit)
LPUARTx | LPUART Instance |
None |
Definition at line 779 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE void LL_LPUART_EnableDirectionTx | ( | USART_TypeDef * | LPUARTx | ) |
Transmitter Enable.
LPUARTx | LPUART Instance |
None |
Definition at line 801 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE void LL_LPUART_EnableInStopMode | ( | USART_TypeDef * | LPUARTx | ) |
LPUART enabled in STOP Mode.
LPUARTx | LPUART Instance |
None |
Definition at line 707 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE void LL_LPUART_EnableMuteMode | ( | USART_TypeDef * | LPUARTx | ) |
Allow switch between Mute Mode and Active mode.
LPUARTx | LPUART Instance |
None |
Definition at line 947 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE void LL_LPUART_EnableOverrunDetect | ( | USART_TypeDef * | LPUARTx | ) |
Enable Overrun detection.
LPUARTx | LPUART Instance |
None |
Definition at line 1363 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE void LL_LPUART_EnableRTSHWFlowCtrl | ( | USART_TypeDef * | LPUARTx | ) |
Enable RTS HW Flow Control.
LPUARTx | LPUART Instance |
None |
Definition at line 1286 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE uint32_t LL_LPUART_GetBaudRate | ( | USART_TypeDef * | LPUARTx, |
uint32_t | PeriphClk | ||
) |
Return current Baud Rate value, according to LPUARTDIV present in BRR register (full BRR content), and to used Peripheral Clock values.
LPUARTx | LPUART Instance |
PeriphClk | Peripheral Clock |
Baud | Rate |
Definition at line 1497 of file stm32l4xx_ll_lpuart.h.
References LPUART_BRR_MASK, LPUART_BRR_MIN_VALUE, and LPUART_LPUARTDIV_FREQ_MUL.
__STATIC_INLINE uint32_t LL_LPUART_GetBinaryDataLogic | ( | USART_TypeDef * | LPUARTx | ) |
Retrieve Binary data configuration.
LPUARTx | LPUART Instance |
Returned | value can be one of the following values: |
Definition at line 1187 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE uint32_t LL_LPUART_GetDataWidth | ( | USART_TypeDef * | LPUARTx | ) |
Return Word length (i.e.
nb of data bits, excluding start and stop bits)
LPUARTx | LPUART Instance |
Returned | value can be one of the following values: |
Definition at line 936 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE uint32_t LL_LPUART_GetHWFlowCtrl | ( | USART_TypeDef * | LPUARTx | ) |
Return HW Flow Control configuration (both CTS and RTS)
LPUARTx | LPUART Instance |
Returned | value can be one of the following values: |
Definition at line 1352 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE uint32_t LL_LPUART_GetNodeAddress | ( | USART_TypeDef * | LPUARTx | ) |
Return 8 bit Address of the LPUART node as set in ADD field of CR2.
LPUARTx | LPUART Instance |
Address | of the LPUART node (Value between Min_Data=0 and Max_Data=255) |
Definition at line 1262 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE uint32_t LL_LPUART_GetNodeAddressLen | ( | USART_TypeDef * | LPUARTx | ) |
Return Length of Node Address used in Address Detection mode (7-bit or 4-bit)
LPUARTx | LPUART Instance |
Returned | value can be one of the following values: |
Definition at line 1275 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE uint32_t LL_LPUART_GetParity | ( | USART_TypeDef * | LPUARTx | ) |
Return Parity configuration (enabled/disabled and parity mode if enabled)
LPUARTx | LPUART Instance |
Returned | value can be one of the following values: |
Definition at line 880 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE uint32_t LL_LPUART_GetRXPinLevel | ( | USART_TypeDef * | LPUARTx | ) |
Retrieve RX pin active level logic configuration.
LPUARTx | LPUART Instance |
Returned | value can be one of the following values: |
Definition at line 1130 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE uint32_t LL_LPUART_GetStopBitsLength | ( | USART_TypeDef * | LPUARTx | ) |
Retrieve the length of the stop bits.
LPUARTx | LPUART Instance |
Returned | value can be one of the following values: |
Definition at line 1045 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE uint32_t LL_LPUART_GetTransferBitOrder | ( | USART_TypeDef * | LPUARTx | ) |
Return transfer bit order (either Less or Most Significant Bit First)
LPUARTx | LPUART Instance |
Returned | value can be one of the following values: |
Definition at line 1218 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE uint32_t LL_LPUART_GetTransferDirection | ( | USART_TypeDef * | LPUARTx | ) |
Return enabled/disabled states of Transmitter and Receiver.
LPUARTx | LPUART Instance |
Returned | value can be one of the following values: |
Definition at line 846 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE uint32_t LL_LPUART_GetTXPinLevel | ( | USART_TypeDef * | LPUARTx | ) |
Retrieve TX pin active level logic configuration.
LPUARTx | LPUART Instance |
Returned | value can be one of the following values: |
Definition at line 1157 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE uint32_t LL_LPUART_GetTXRXSwap | ( | USART_TypeDef * | LPUARTx | ) |
Retrieve TX/RX pins swapping configuration.
LPUARTx | LPUART Instance |
Returned | value can be one of the following values: |
Definition at line 1103 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE uint32_t LL_LPUART_GetWakeUpMethod | ( | USART_TypeDef * | LPUARTx | ) |
Return Receiver Wake Up method from Mute mode.
LPUARTx | LPUART Instance |
Returned | value can be one of the following values: |
Definition at line 907 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE uint32_t LL_LPUART_GetWKUPType | ( | USART_TypeDef * | LPUARTx | ) |
Return event type for Wake UP Interrupt Flag (WUS[1:0] bits)
LPUARTx | LPUART Instance |
Returned | value can be one of the following values: |
Definition at line 1414 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE uint32_t LL_LPUART_IsClockEnabledInStopMode | ( | USART_TypeDef * | LPUARTx | ) |
Indicate if LPUART clock is enabled in STOP Mode.
LPUARTx | LPUART Instance |
State | of bit (1 or 0). |
Definition at line 767 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE uint32_t LL_LPUART_IsEnabled | ( | USART_TypeDef * | LPUARTx | ) |
Indicate if LPUART is enabled.
LPUARTx | LPUART Instance |
State | of bit (1 or 0). |
Definition at line 562 of file stm32l4xx_ll_lpuart.h.
Referenced by LL_LPUART_Init().
__STATIC_INLINE uint32_t LL_LPUART_IsEnabledInStopMode | ( | USART_TypeDef * | LPUARTx | ) |
Indicate if LPUART is enabled in STOP Mode (able to wake up MCU from Stop mode or not)
LPUARTx | LPUART Instance |
State | of bit (1 or 0). |
Definition at line 731 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE uint32_t LL_LPUART_IsEnabledMuteMode | ( | USART_TypeDef * | LPUARTx | ) |
Indicate if switch between Mute Mode and Active mode is allowed.
LPUARTx | LPUART Instance |
State | of bit (1 or 0). |
Definition at line 969 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE uint32_t LL_LPUART_IsEnabledOverrunDetect | ( | USART_TypeDef * | LPUARTx | ) |
Indicate if Overrun detection is enabled.
LPUARTx | LPUART Instance |
State | of bit (1 or 0). |
Definition at line 1385 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE void LL_LPUART_SetBaudRate | ( | USART_TypeDef * | LPUARTx, |
uint32_t | PeriphClk, | ||
uint32_t | BaudRate | ||
) |
Configure LPUART BRR register for achieving expected Baud Rate value.
LPUARTx | LPUART Instance |
PeriphClk | Peripheral Clock |
BaudRate | Baud Rate |
None |
Definition at line 1454 of file stm32l4xx_ll_lpuart.h.
References __LL_LPUART_DIV.
Referenced by LL_LPUART_Init().
__STATIC_INLINE void LL_LPUART_SetBinaryDataLogic | ( | USART_TypeDef * | LPUARTx, |
uint32_t | DataLogic | ||
) |
Configure Binary data logic.
LPUARTx | LPUART Instance |
DataLogic | This parameter can be one of the following values: |
None |
Definition at line 1174 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE void LL_LPUART_SetDataWidth | ( | USART_TypeDef * | LPUARTx, |
uint32_t | DataWidth | ||
) |
Set Word length (nb of data bits, excluding start and stop bits)
LPUARTx | LPUART Instance |
DataWidth | This parameter can be one of the following values: |
None |
Definition at line 922 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE void LL_LPUART_SetHWFlowCtrl | ( | USART_TypeDef * | LPUARTx, |
uint32_t | HardwareFlowControl | ||
) |
Configure HW Flow Control mode (both CTS and RTS)
LPUARTx | LPUART Instance |
HardwareFlowControl | This parameter can be one of the following values: |
None |
Definition at line 1336 of file stm32l4xx_ll_lpuart.h.
Referenced by LL_LPUART_Init().
__STATIC_INLINE void LL_LPUART_SetParity | ( | USART_TypeDef * | LPUARTx, |
uint32_t | Parity | ||
) |
Configure Parity (enabled/disabled and parity mode if enabled)
LPUARTx | LPUART Instance |
Parity | This parameter can be one of the following values: |
None |
Definition at line 865 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE void LL_LPUART_SetRXPinLevel | ( | USART_TypeDef * | LPUARTx, |
uint32_t | PinInvMethod | ||
) |
Configure RX pin active level logic.
LPUARTx | LPUART Instance |
PinInvMethod | This parameter can be one of the following values: |
None |
Definition at line 1117 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE void LL_LPUART_SetStopBitsLength | ( | USART_TypeDef * | LPUARTx, |
uint32_t | StopBits | ||
) |
Set the length of the stop bits.
LPUARTx | LPUART Instance |
StopBits | This parameter can be one of the following values: |
None |
Definition at line 1032 of file stm32l4xx_ll_lpuart.h.
Referenced by LL_LPUART_Init().
__STATIC_INLINE void LL_LPUART_SetTransferBitOrder | ( | USART_TypeDef * | LPUARTx, |
uint32_t | BitOrder | ||
) |
Configure transfer bit order (either Less or Most Significant Bit First)
LPUARTx | LPUART Instance |
BitOrder | This parameter can be one of the following values: |
None |
Definition at line 1203 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE void LL_LPUART_SetTransferDirection | ( | USART_TypeDef * | LPUARTx, |
uint32_t | TransferDirection | ||
) |
Configure simultaneously enabled/disabled states of Transmitter and Receiver.
LPUARTx | LPUART Instance |
TransferDirection | This parameter can be one of the following values: |
None |
Definition at line 830 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE void LL_LPUART_SetTXPinLevel | ( | USART_TypeDef * | LPUARTx, |
uint32_t | PinInvMethod | ||
) |
Configure TX pin active level logic.
LPUARTx | LPUART Instance |
PinInvMethod | This parameter can be one of the following values: |
None |
Definition at line 1144 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE void LL_LPUART_SetTXRXSwap | ( | USART_TypeDef * | LPUARTx, |
uint32_t | SwapConfig | ||
) |
Configure TX/RX pins swapping setting.
LPUARTx | LPUART Instance |
SwapConfig | This parameter can be one of the following values: |
None |
Definition at line 1090 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE void LL_LPUART_SetWakeUpMethod | ( | USART_TypeDef * | LPUARTx, |
uint32_t | Method | ||
) |
Set Receiver Wake Up method from Mute mode.
LPUARTx | LPUART Instance |
Method | This parameter can be one of the following values: |
None |
Definition at line 894 of file stm32l4xx_ll_lpuart.h.
__STATIC_INLINE void LL_LPUART_SetWKUPType | ( | USART_TypeDef * | LPUARTx, |
uint32_t | Type | ||
) |
Select event type for Wake UP Interrupt Flag (WUS[1:0] bits)
LPUARTx | LPUART Instance |
Type | This parameter can be one of the following values: |
None |
Definition at line 1400 of file stm32l4xx_ll_lpuart.h.