|
STM32H735xx 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_EnableFIFO (USART_TypeDef *LPUARTx) |
| FIFO Mode Enable. | |
| __STATIC_INLINE void | LL_LPUART_DisableFIFO (USART_TypeDef *LPUARTx) |
| FIFO Mode Disable. | |
| __STATIC_INLINE uint32_t | LL_LPUART_IsEnabledFIFO (USART_TypeDef *LPUARTx) |
| Indicate if FIFO Mode is enabled. | |
| __STATIC_INLINE void | LL_LPUART_SetTXFIFOThreshold (USART_TypeDef *LPUARTx, uint32_t Threshold) |
| Configure TX FIFO Threshold. | |
| __STATIC_INLINE uint32_t | LL_LPUART_GetTXFIFOThreshold (USART_TypeDef *LPUARTx) |
| Return TX FIFO Threshold Configuration. | |
| __STATIC_INLINE void | LL_LPUART_SetRXFIFOThreshold (USART_TypeDef *LPUARTx, uint32_t Threshold) |
| Configure RX FIFO Threshold. | |
| __STATIC_INLINE uint32_t | LL_LPUART_GetRXFIFOThreshold (USART_TypeDef *LPUARTx) |
| Return RX FIFO Threshold Configuration. | |
| __STATIC_INLINE void | LL_LPUART_ConfigFIFOsThreshold (USART_TypeDef *LPUARTx, uint32_t TXThreshold, uint32_t RXThreshold) |
| Configure TX and RX FIFOs Threshold. | |
| __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_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_SetPrescaler (USART_TypeDef *LPUARTx, uint32_t PrescalerValue) |
| Configure Clock source prescaler for baudrate generator and oversampling. | |
| __STATIC_INLINE uint32_t | LL_LPUART_GetPrescaler (USART_TypeDef *LPUARTx) |
| Retrieve the Clock source prescaler for baudrate generator and oversampling. | |
| __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 PrescalerValue, 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, uint32_t PrescalerValue) |
| 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 996 of file stm32h7xx_ll_lpuart.h.
| __STATIC_INLINE void LL_LPUART_ConfigFIFOsThreshold | ( | USART_TypeDef * | LPUARTx, |
| uint32_t | TXThreshold, | ||
| uint32_t | RXThreshold | ||
| ) |
Configure TX and RX FIFOs Threshold.
| LPUARTx | LPUART Instance |
| TXThreshold | This parameter can be one of the following values: |
| RXThreshold | This parameter can be one of the following values: |
| None |
Definition at line 654 of file stm32h7xx_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 1168 of file stm32h7xx_ll_lpuart.h.
| __STATIC_INLINE void LL_LPUART_Disable | ( | USART_TypeDef * | LPUARTx | ) |
LPUART Disable.
| LPUARTx | LPUART Instance |
| None |
Definition at line 514 of file stm32h7xx_ll_lpuart.h.
| __STATIC_INLINE void LL_LPUART_DisableCTSHWFlowCtrl | ( | USART_TypeDef * | LPUARTx | ) |
Disable CTS HW Flow Control.
| LPUARTx | LPUART Instance |
| None |
Definition at line 1241 of file stm32h7xx_ll_lpuart.h.
| __STATIC_INLINE void LL_LPUART_DisableDirectionRx | ( | USART_TypeDef * | LPUARTx | ) |
Receiver Disable.
| LPUARTx | LPUART Instance |
| None |
Definition at line 714 of file stm32h7xx_ll_lpuart.h.
| __STATIC_INLINE void LL_LPUART_DisableDirectionTx | ( | USART_TypeDef * | LPUARTx | ) |
Transmitter Disable.
| LPUARTx | LPUART Instance |
| None |
Definition at line 736 of file stm32h7xx_ll_lpuart.h.
| __STATIC_INLINE void LL_LPUART_DisableFIFO | ( | USART_TypeDef * | LPUARTx | ) |
FIFO Mode Disable.
| LPUARTx | LPUART Instance |
| None |
Definition at line 547 of file stm32h7xx_ll_lpuart.h.
| __STATIC_INLINE void LL_LPUART_DisableInStopMode | ( | USART_TypeDef * | LPUARTx | ) |
LPUART disabled in STOP Mode.
| LPUARTx | LPUART Instance |
| None |
Definition at line 680 of file stm32h7xx_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 882 of file stm32h7xx_ll_lpuart.h.
| __STATIC_INLINE void LL_LPUART_DisableOverrunDetect | ( | USART_TypeDef * | LPUARTx | ) |
Disable Overrun detection.
| LPUARTx | LPUART Instance |
| None |
Definition at line 1296 of file stm32h7xx_ll_lpuart.h.
| __STATIC_INLINE void LL_LPUART_DisableRTSHWFlowCtrl | ( | USART_TypeDef * | LPUARTx | ) |
Disable RTS HW Flow Control.
| LPUARTx | LPUART Instance |
| None |
Definition at line 1219 of file stm32h7xx_ll_lpuart.h.
| __STATIC_INLINE void LL_LPUART_Enable | ( | USART_TypeDef * | LPUARTx | ) |
LPUART Enable.
| LPUARTx | LPUART Instance |
| None |
Definition at line 495 of file stm32h7xx_ll_lpuart.h.
| __STATIC_INLINE void LL_LPUART_EnableCTSHWFlowCtrl | ( | USART_TypeDef * | LPUARTx | ) |
Enable CTS HW Flow Control.
| LPUARTx | LPUART Instance |
| None |
Definition at line 1230 of file stm32h7xx_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 703 of file stm32h7xx_ll_lpuart.h.
| __STATIC_INLINE void LL_LPUART_EnableDirectionTx | ( | USART_TypeDef * | LPUARTx | ) |
Transmitter Enable.
| LPUARTx | LPUART Instance |
| None |
Definition at line 725 of file stm32h7xx_ll_lpuart.h.
| __STATIC_INLINE void LL_LPUART_EnableFIFO | ( | USART_TypeDef * | LPUARTx | ) |
FIFO Mode Enable.
| LPUARTx | LPUART Instance |
| None |
Definition at line 536 of file stm32h7xx_ll_lpuart.h.
| __STATIC_INLINE void LL_LPUART_EnableInStopMode | ( | USART_TypeDef * | LPUARTx | ) |
LPUART enabled in STOP Mode.
| LPUARTx | LPUART Instance |
| None |
Definition at line 668 of file stm32h7xx_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 871 of file stm32h7xx_ll_lpuart.h.
| __STATIC_INLINE void LL_LPUART_EnableOverrunDetect | ( | USART_TypeDef * | LPUARTx | ) |
Enable Overrun detection.
| LPUARTx | LPUART Instance |
| None |
Definition at line 1285 of file stm32h7xx_ll_lpuart.h.
| __STATIC_INLINE void LL_LPUART_EnableRTSHWFlowCtrl | ( | USART_TypeDef * | LPUARTx | ) |
Enable RTS HW Flow Control.
| LPUARTx | LPUART Instance |
| None |
Definition at line 1208 of file stm32h7xx_ll_lpuart.h.
| __STATIC_INLINE uint32_t LL_LPUART_GetBaudRate | ( | USART_TypeDef * | LPUARTx, |
| uint32_t | PeriphClk, | ||
| uint32_t | PrescalerValue | ||
| ) |
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 |
| PrescalerValue | This parameter can be one of the following values:
|
| Baud | Rate |
Definition at line 1401 of file stm32h7xx_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 1109 of file stm32h7xx_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 860 of file stm32h7xx_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 1274 of file stm32h7xx_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 1184 of file stm32h7xx_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 1197 of file stm32h7xx_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 804 of file stm32h7xx_ll_lpuart.h.
| __STATIC_INLINE uint32_t LL_LPUART_GetPrescaler | ( | USART_TypeDef * | LPUARTx | ) |
Retrieve the Clock source prescaler for baudrate generator and oversampling.
| LPUARTx | LPUART Instance |
Definition at line 940 of file stm32h7xx_ll_lpuart.h.
| __STATIC_INLINE uint32_t LL_LPUART_GetRXFIFOThreshold | ( | USART_TypeDef * | LPUARTx | ) |
Return RX FIFO Threshold Configuration.
| LPUARTx | LPUART Instance |
| Returned | value can be one of the following values: |
Definition at line 628 of file stm32h7xx_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 1052 of file stm32h7xx_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 967 of file stm32h7xx_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 1140 of file stm32h7xx_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 770 of file stm32h7xx_ll_lpuart.h.
| __STATIC_INLINE uint32_t LL_LPUART_GetTXFIFOThreshold | ( | USART_TypeDef * | LPUARTx | ) |
Return TX FIFO Threshold Configuration.
| LPUARTx | LPUART Instance |
| Returned | value can be one of the following values: |
Definition at line 593 of file stm32h7xx_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 1079 of file stm32h7xx_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 1025 of file stm32h7xx_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 831 of file stm32h7xx_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 1336 of file stm32h7xx_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 525 of file stm32h7xx_ll_lpuart.h.
Referenced by LL_LPUART_Init().
| __STATIC_INLINE uint32_t LL_LPUART_IsEnabledFIFO | ( | USART_TypeDef * | LPUARTx | ) |
Indicate if FIFO Mode is enabled.
| LPUARTx | LPUART Instance |
| State | of bit (1 or 0). |
Definition at line 558 of file stm32h7xx_ll_lpuart.h.
| __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 692 of file stm32h7xx_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 893 of file stm32h7xx_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 1307 of file stm32h7xx_ll_lpuart.h.
| __STATIC_INLINE void LL_LPUART_SetBaudRate | ( | USART_TypeDef * | LPUARTx, |
| uint32_t | PeriphClk, | ||
| uint32_t | PrescalerValue, | ||
| uint32_t | BaudRate | ||
| ) |
Configure LPUART BRR register for achieving expected Baud Rate value.
| LPUARTx | LPUART Instance |
| PeriphClk | Peripheral Clock |
| PrescalerValue | This parameter can be one of the following values:
|
| BaudRate | Baud Rate |
| None |
Definition at line 1370 of file stm32h7xx_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 1096 of file stm32h7xx_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 846 of file stm32h7xx_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 1258 of file stm32h7xx_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 789 of file stm32h7xx_ll_lpuart.h.
| __STATIC_INLINE void LL_LPUART_SetPrescaler | ( | USART_TypeDef * | LPUARTx, |
| uint32_t | PrescalerValue | ||
| ) |
Configure Clock source prescaler for baudrate generator and oversampling.
| LPUARTx | LPUART Instance |
| PrescalerValue | This parameter can be one of the following values:
|
| None |
Definition at line 917 of file stm32h7xx_ll_lpuart.h.
Referenced by LL_LPUART_Init().
| __STATIC_INLINE void LL_LPUART_SetRXFIFOThreshold | ( | USART_TypeDef * | LPUARTx, |
| uint32_t | Threshold | ||
| ) |
Configure RX FIFO Threshold.
| LPUARTx | LPUART Instance |
| Threshold | This parameter can be one of the following values: |
| None |
Definition at line 611 of file stm32h7xx_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 1039 of file stm32h7xx_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 954 of file stm32h7xx_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 1125 of file stm32h7xx_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 754 of file stm32h7xx_ll_lpuart.h.
| __STATIC_INLINE void LL_LPUART_SetTXFIFOThreshold | ( | USART_TypeDef * | LPUARTx, |
| uint32_t | Threshold | ||
| ) |
Configure TX FIFO Threshold.
| LPUARTx | LPUART Instance |
| Threshold | This parameter can be one of the following values: |
| None |
Definition at line 576 of file stm32h7xx_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 1066 of file stm32h7xx_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 1012 of file stm32h7xx_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 818 of file stm32h7xx_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 1322 of file stm32h7xx_ll_lpuart.h.
1.7.6.1