Macros
Collaboration diagram for UART Private Macros:

Macros

#define IS_LPUART_STOPBITS(__STOPBITS__)
 Ensure that LPUART frame number of stop bits is valid. More...
 
#define IS_LPUART_STOPBITS(__STOPBITS__)
 Ensure that LPUART frame number of stop bits is valid. More...
 
#define IS_UART_ADDRESS(ADDRESS)   ((ADDRESS) <= 0x0FU)
 
#define IS_UART_ADVFEATURE_AUTOBAUDRATE(__AUTOBAUDRATE__)
 Ensure that UART auto Baud rate state is valid. More...
 
#define IS_UART_ADVFEATURE_AUTOBAUDRATE(__AUTOBAUDRATE__)
 Ensure that UART auto Baud rate state is valid. More...
 
#define IS_UART_ADVFEATURE_AUTOBAUDRATE(__AUTOBAUDRATE__)
 Ensure that UART auto Baud rate state is valid. More...
 
#define IS_UART_ADVFEATURE_AUTOBAUDRATEMODE(__MODE__)
 Ensure that UART auto Baud rate detection mode is valid. More...
 
#define IS_UART_ADVFEATURE_AUTOBAUDRATEMODE(__MODE__)
 Ensure that UART auto Baud rate detection mode is valid. More...
 
#define IS_UART_ADVFEATURE_AUTOBAUDRATEMODE(__MODE__)
 Ensure that UART auto Baud rate detection mode is valid. More...
 
#define IS_UART_ADVFEATURE_DATAINV(__DATAINV__)
 Ensure that UART frame data inversion setting is valid. More...
 
#define IS_UART_ADVFEATURE_DATAINV(__DATAINV__)
 Ensure that UART frame data inversion setting is valid. More...
 
#define IS_UART_ADVFEATURE_DATAINV(__DATAINV__)
 Ensure that UART frame data inversion setting is valid. More...
 
#define IS_UART_ADVFEATURE_DMAONRXERROR(__DMA__)
 Ensure that UART DMA enabling or disabling on error setting is valid. More...
 
#define IS_UART_ADVFEATURE_DMAONRXERROR(__DMA__)
 Ensure that UART DMA enabling or disabling on error setting is valid. More...
 
#define IS_UART_ADVFEATURE_DMAONRXERROR(__DMA__)
 Ensure that UART DMA enabling or disabling on error setting is valid. More...
 
#define IS_UART_ADVFEATURE_INIT(__INIT__)
 Ensure that UART advanced features initialization is valid. More...
 
#define IS_UART_ADVFEATURE_INIT(__INIT__)
 Ensure that UART advanced features initialization is valid. More...
 
#define IS_UART_ADVFEATURE_INIT(__INIT__)
 Ensure that UART advanced features initialization is valid. More...
 
#define IS_UART_ADVFEATURE_MSBFIRST(__MSBFIRST__)
 Ensure that UART frame MSB first setting is valid. More...
 
#define IS_UART_ADVFEATURE_MSBFIRST(__MSBFIRST__)
 Ensure that UART frame MSB first setting is valid. More...
 
#define IS_UART_ADVFEATURE_MSBFIRST(__MSBFIRST__)
 Ensure that UART frame MSB first setting is valid. More...
 
#define IS_UART_ADVFEATURE_RXINV(__RXINV__)
 Ensure that UART frame RX inversion setting is valid. More...
 
#define IS_UART_ADVFEATURE_RXINV(__RXINV__)
 Ensure that UART frame RX inversion setting is valid. More...
 
#define IS_UART_ADVFEATURE_RXINV(__RXINV__)
 Ensure that UART frame RX inversion setting is valid. More...
 
#define IS_UART_ADVFEATURE_STOPMODE(__STOPMODE__)
 Ensure that UART stop mode state is valid. More...
 
#define IS_UART_ADVFEATURE_STOPMODE(__STOPMODE__)
 Ensure that UART stop mode state is valid. More...
 
#define IS_UART_ADVFEATURE_SWAP(__SWAP__)
 Ensure that UART frame RX/TX pins swap setting is valid. More...
 
#define IS_UART_ADVFEATURE_SWAP(__SWAP__)
 Ensure that UART frame RX/TX pins swap setting is valid. More...
 
#define IS_UART_ADVFEATURE_SWAP(__SWAP__)
 Ensure that UART frame RX/TX pins swap setting is valid. More...
 
#define IS_UART_ADVFEATURE_TXINV(__TXINV__)
 Ensure that UART frame TX inversion setting is valid. More...
 
#define IS_UART_ADVFEATURE_TXINV(__TXINV__)
 Ensure that UART frame TX inversion setting is valid. More...
 
#define IS_UART_ADVFEATURE_TXINV(__TXINV__)
 Ensure that UART frame TX inversion setting is valid. More...
 
#define IS_UART_ASSERTIONTIME(__TIME__)   ((__TIME__) <= 0x1FU)
 Check UART assertion time. More...
 
#define IS_UART_ASSERTIONTIME(__TIME__)   ((__TIME__) <= 0x1FU)
 Check UART assertion time. More...
 
#define IS_UART_ASSERTIONTIME(__TIME__)   ((__TIME__) <= 0x1FU)
 Check UART assertion time. More...
 
#define IS_UART_BAUDRATE(__BAUDRATE__)   ((__BAUDRATE__) < 27000001U)
 Check UART Baud rate. More...
 
#define IS_UART_BAUDRATE(__BAUDRATE__)   ((__BAUDRATE__) < 12500001U)
 Check UART Baud rate. More...
 
#define IS_UART_BAUDRATE(__BAUDRATE__)   ((__BAUDRATE__) < 12500001U)
 Check UART Baud rate. More...
 
#define IS_UART_BAUDRATE(BAUDRATE)   ((BAUDRATE) <= 10500000U)
 
#define IS_UART_DE_POLARITY(__POLARITY__)
 Ensure that UART driver enable polarity is valid. More...
 
#define IS_UART_DE_POLARITY(__POLARITY__)
 Ensure that UART driver enable polarity is valid. More...
 
#define IS_UART_DE_POLARITY(__POLARITY__)
 Ensure that UART driver enable polarity is valid. More...
 
#define IS_UART_DEASSERTIONTIME(__TIME__)   ((__TIME__) <= 0x1FU)
 Check UART deassertion time. More...
 
#define IS_UART_DEASSERTIONTIME(__TIME__)   ((__TIME__) <= 0x1FU)
 Check UART deassertion time. More...
 
#define IS_UART_DEASSERTIONTIME(__TIME__)   ((__TIME__) <= 0x1FU)
 Check UART deassertion time. More...
 
#define IS_UART_DMA_RX(__DMARX__)
 Ensure that UART DMA RX state is valid. More...
 
#define IS_UART_DMA_RX(__DMARX__)
 Ensure that UART DMA RX state is valid. More...
 
#define IS_UART_DMA_RX(__DMARX__)
 Ensure that UART DMA RX state is valid. More...
 
#define IS_UART_DMA_TX(__DMATX__)
 Ensure that UART DMA TX state is valid. More...
 
#define IS_UART_DMA_TX(__DMATX__)
 Ensure that UART DMA TX state is valid. More...
 
#define IS_UART_DMA_TX(__DMATX__)
 Ensure that UART DMA TX state is valid. More...
 
#define IS_UART_HALF_DUPLEX(__HDSEL__)
 Ensure that UART half-duplex state is valid. More...
 
#define IS_UART_HALF_DUPLEX(__HDSEL__)
 Ensure that UART half-duplex state is valid. More...
 
#define IS_UART_HALF_DUPLEX(__HDSEL__)
 Ensure that UART half-duplex state is valid. More...
 
#define IS_UART_HARDWARE_FLOW_CONTROL(__CONTROL__)
 Ensure that UART hardware flow control is valid. More...
 
#define IS_UART_HARDWARE_FLOW_CONTROL(__CONTROL__)
 Ensure that UART hardware flow control is valid. More...
 
#define IS_UART_HARDWARE_FLOW_CONTROL(__CONTROL__)
 Ensure that UART hardware flow control is valid. More...
 
#define IS_UART_HARDWARE_FLOW_CONTROL(CONTROL)
 
#define IS_UART_LIN(__LIN__)
 Ensure that UART LIN state is valid. More...
 
#define IS_UART_LIN(__LIN__)
 Ensure that UART LIN state is valid. More...
 
#define IS_UART_LIN(__LIN__)
 Ensure that UART LIN state is valid. More...
 
#define IS_UART_LIN_BREAK_DETECT_LENGTH(__LENGTH__)
 Ensure that UART LIN break detection length is valid. More...
 
#define IS_UART_LIN_BREAK_DETECT_LENGTH(__LENGTH__)
 Ensure that UART LIN break detection length is valid. More...
 
#define IS_UART_LIN_BREAK_DETECT_LENGTH(__LENGTH__)
 Ensure that UART LIN break detection length is valid. More...
 
#define IS_UART_LIN_BREAK_DETECT_LENGTH(LENGTH)
 
#define IS_UART_LIN_OVERSAMPLING(SAMPLING)   (((SAMPLING) == UART_OVERSAMPLING_16))
 
#define IS_UART_LIN_WORD_LENGTH(LENGTH)   (((LENGTH) == UART_WORDLENGTH_8B))
 
#define IS_UART_MODE(__MODE__)   ((((__MODE__) & (~((uint32_t)(UART_MODE_TX_RX)))) == 0x00U) && ((__MODE__) != 0x00U))
 Ensure that UART communication mode is valid. More...
 
#define IS_UART_MODE(__MODE__)   ((((__MODE__) & (~((uint32_t)(UART_MODE_TX_RX)))) == 0x00U) && ((__MODE__) != 0x00U))
 Ensure that UART communication mode is valid. More...
 
#define IS_UART_MODE(__MODE__)   ((((__MODE__) & (~((uint32_t)(UART_MODE_TX_RX)))) == 0x00U) && ((__MODE__) != 0x00U))
 Ensure that UART communication mode is valid. More...
 
#define IS_UART_MODE(MODE)   ((((MODE) & 0x0000FFF3U) == 0x00U) && ((MODE) != 0x00U))
 
#define IS_UART_MUTE_MODE(__MUTE__)
 Ensure that UART mute mode state is valid. More...
 
#define IS_UART_MUTE_MODE(__MUTE__)
 Ensure that UART mute mode state is valid. More...
 
#define IS_UART_MUTE_MODE(__MUTE__)
 Ensure that UART mute mode state is valid. More...
 
#define IS_UART_ONE_BIT_SAMPLE(__ONEBIT__)
 Ensure that UART frame sampling is valid. More...
 
#define IS_UART_ONE_BIT_SAMPLE(__ONEBIT__)
 Ensure that UART frame sampling is valid. More...
 
#define IS_UART_ONE_BIT_SAMPLE(__ONEBIT__)
 Ensure that UART frame sampling is valid. More...
 
#define IS_UART_OVERRUN(__OVERRUN__)
 Ensure that UART frame overrun setting is valid. More...
 
#define IS_UART_OVERRUN(__OVERRUN__)
 Ensure that UART frame overrun setting is valid. More...
 
#define IS_UART_OVERRUN(__OVERRUN__)
 Ensure that UART frame overrun setting is valid. More...
 
#define IS_UART_OVERSAMPLING(__SAMPLING__)
 Ensure that UART oversampling is valid. More...
 
#define IS_UART_OVERSAMPLING(__SAMPLING__)
 Ensure that UART oversampling is valid. More...
 
#define IS_UART_OVERSAMPLING(__SAMPLING__)
 Ensure that UART oversampling is valid. More...
 
#define IS_UART_OVERSAMPLING(SAMPLING)
 
#define IS_UART_PARITY(__PARITY__)
 Ensure that UART frame parity is valid. More...
 
#define IS_UART_PARITY(__PARITY__)
 Ensure that UART frame parity is valid. More...
 
#define IS_UART_PARITY(__PARITY__)
 Ensure that UART frame parity is valid. More...
 
#define IS_UART_PARITY(PARITY)
 
#define IS_UART_PRESCALER(__CLOCKPRESCALER__)
 Ensure that UART Prescaler is valid. More...
 
#define IS_UART_PRESCALER(__CLOCKPRESCALER__)
 Ensure that UART Prescaler is valid. More...
 
#define IS_UART_RECEIVER_TIMEOUT(__TIMEOUT__)
 Ensure that UART receiver timeout setting is valid. More...
 
#define IS_UART_RECEIVER_TIMEOUT(__TIMEOUT__)
 Ensure that UART receiver timeout setting is valid. More...
 
#define IS_UART_RECEIVER_TIMEOUT(__TIMEOUT__)
 Ensure that UART receiver timeout setting is valid. More...
 
#define IS_UART_RECEIVER_TIMEOUT_VALUE(__TIMEOUTVALUE__)   ((__TIMEOUTVALUE__) <= 0xFFFFFFU)
 Check the receiver timeout value. More...
 
#define IS_UART_RECEIVER_TIMEOUT_VALUE(__TIMEOUTVALUE__)   ((__TIMEOUTVALUE__) <= 0xFFFFFFU)
 Check the receiver timeout value. More...
 
#define IS_UART_RECEIVER_TIMEOUT_VALUE(__TIMEOUTVALUE__)   ((__TIMEOUTVALUE__) <= 0xFFFFFFU)
 Check the receiver timeout value. More...
 
#define IS_UART_REQUEST_PARAMETER(__PARAM__)
 Ensure that UART request parameter is valid. More...
 
#define IS_UART_REQUEST_PARAMETER(__PARAM__)
 Ensure that UART request parameter is valid. More...
 
#define IS_UART_REQUEST_PARAMETER(__PARAM__)
 Ensure that UART request parameter is valid. More...
 
#define IS_UART_STATE(__STATE__)
 Ensure that UART state is valid. More...
 
#define IS_UART_STATE(__STATE__)
 Ensure that UART state is valid. More...
 
#define IS_UART_STATE(__STATE__)
 Ensure that UART state is valid. More...
 
#define IS_UART_STATE(STATE)
 
#define IS_UART_STOPBITS(__STOPBITS__)
 Ensure that UART frame number of stop bits is valid. More...
 
#define IS_UART_STOPBITS(__STOPBITS__)
 Ensure that UART frame number of stop bits is valid. More...
 
#define IS_UART_STOPBITS(__STOPBITS__)
 Ensure that UART frame number of stop bits is valid. More...
 
#define IS_UART_STOPBITS(STOPBITS)
 
#define IS_UART_WAKEUP_SELECTION(__WAKE__)
 Ensure that UART wake-up selection is valid. More...
 
#define IS_UART_WAKEUP_SELECTION(__WAKE__)
 Ensure that UART wake-up selection is valid. More...
 
#define IS_UART_WAKEUPMETHOD(__WAKEUP__)
 Ensure that UART wake-up method is valid. More...
 
#define IS_UART_WAKEUPMETHOD(__WAKEUP__)
 Ensure that UART wake-up method is valid. More...
 
#define IS_UART_WAKEUPMETHOD(__WAKEUP__)
 Ensure that UART wake-up method is valid. More...
 
#define IS_UART_WAKEUPMETHOD(WAKEUP)
 
#define IS_UART_WORD_LENGTH(LENGTH)
 
#define UART_BRR_SAMPLING16(_PCLK_, _BAUD_)
 
#define UART_BRR_SAMPLING8(_PCLK_, _BAUD_)
 
#define UART_DIV_LPUART(__PCLK__, __BAUD__, __CLOCKPRESCALER__)
 BRR division operation to set BRR register with LPUART. More...
 
#define UART_DIV_LPUART(__PCLK__, __BAUD__, __CLOCKPRESCALER__)
 BRR division operation to set BRR register with LPUART. More...
 
#define UART_DIV_SAMPLING16(__PCLK__, __BAUD__)   (((__PCLK__) + ((__BAUD__)/2U)) / (__BAUD__))
 BRR division operation to set BRR register in 16-bit oversampling mode. More...
 
#define UART_DIV_SAMPLING16(__PCLK__, __BAUD__, __CLOCKPRESCALER__)
 BRR division operation to set BRR register in 16-bit oversampling mode. More...
 
#define UART_DIV_SAMPLING16(__PCLK__, __BAUD__, __CLOCKPRESCALER__)   ((((__PCLK__)/UARTPrescTable[(__CLOCKPRESCALER__)]) + ((__BAUD__)/2U)) / (__BAUD__))
 BRR division operation to set BRR register in 16-bit oversampling mode. More...
 
#define UART_DIV_SAMPLING16(_PCLK_, _BAUD_)   ((uint32_t)((((uint64_t)(_PCLK_))*25U)/(4U*((uint64_t)(_BAUD_)))))
 
#define UART_DIV_SAMPLING8(__PCLK__, __BAUD__)   ((((__PCLK__)*2U) + ((__BAUD__)/2U)) / (__BAUD__))
 BRR division operation to set BRR register in 8-bit oversampling mode. More...
 
#define UART_DIV_SAMPLING8(__PCLK__, __BAUD__, __CLOCKPRESCALER__)
 BRR division operation to set BRR register in 8-bit oversampling mode. More...
 
#define UART_DIV_SAMPLING8(__PCLK__, __BAUD__, __CLOCKPRESCALER__)   (((((__PCLK__)/UARTPrescTable[(__CLOCKPRESCALER__)])*2U) + ((__BAUD__)/2U)) / (__BAUD__))
 BRR division operation to set BRR register in 8-bit oversampling mode. More...
 
#define UART_DIV_SAMPLING8(_PCLK_, _BAUD_)   ((uint32_t)((((uint64_t)(_PCLK_))*25U)/(2U*((uint64_t)(_BAUD_)))))
 
#define UART_DIVFRAQ_SAMPLING16(_PCLK_, _BAUD_)   ((((UART_DIV_SAMPLING16((_PCLK_), (_BAUD_)) - (UART_DIVMANT_SAMPLING16((_PCLK_), (_BAUD_)) * 100U)) * 16U) + 50U) / 100U)
 
#define UART_DIVFRAQ_SAMPLING8(_PCLK_, _BAUD_)   ((((UART_DIV_SAMPLING8((_PCLK_), (_BAUD_)) - (UART_DIVMANT_SAMPLING8((_PCLK_), (_BAUD_)) * 100U)) * 8U) + 50U) / 100U)
 
#define UART_DIVMANT_SAMPLING16(_PCLK_, _BAUD_)   (UART_DIV_SAMPLING16((_PCLK_), (_BAUD_))/100U)
 
#define UART_DIVMANT_SAMPLING8(_PCLK_, _BAUD_)   (UART_DIV_SAMPLING8((_PCLK_), (_BAUD_))/100U)
 
#define UART_GET_DIV_FACTOR(__CLOCKPRESCALER__)
 Get UART clok division factor from clock prescaler value. More...
 
#define UART_GET_DIV_FACTOR(__CLOCKPRESCALER__)
 Get UART clok division factor from clock prescaler value. More...
 
#define UART_INSTANCE_LOWPOWER(__HANDLE__)   (IS_LPUART_INSTANCE((__HANDLE__)->Instance))
 Check whether or not UART instance is Low Power UART. More...
 
#define UART_INSTANCE_LOWPOWER(__HANDLE__)   (IS_LPUART_INSTANCE((__HANDLE__)->Instance))
 Check whether or not UART instance is Low Power UART. More...
 

Detailed Description

Macro Definition Documentation

◆ IS_LPUART_STOPBITS [1/2]

#define IS_LPUART_STOPBITS (   __STOPBITS__)
Value:
(((__STOPBITS__) == UART_STOPBITS_1) || \
((__STOPBITS__) == UART_STOPBITS_2))

Ensure that LPUART frame number of stop bits is valid.

Parameters
<strong>STOPBITS</strong>LPUART frame number of stop bits.
Return values
SET(STOPBITS is valid) or RESET (STOPBITS is invalid)

Definition at line 1242 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_LPUART_STOPBITS [2/2]

#define IS_LPUART_STOPBITS (   __STOPBITS__)
Value:
(((__STOPBITS__) == UART_STOPBITS_1) || \
((__STOPBITS__) == UART_STOPBITS_2))

Ensure that LPUART frame number of stop bits is valid.

Parameters
<strong>STOPBITS</strong>LPUART frame number of stop bits.
Return values
SET(STOPBITS is valid) or RESET (STOPBITS is invalid)

Definition at line 1302 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_ADDRESS

#define IS_UART_ADDRESS (   ADDRESS)    ((ADDRESS) <= 0x0FU)

Definition at line 799 of file stm32f4xx_hal_uart.h.

◆ IS_UART_ADVFEATURE_AUTOBAUDRATE [1/3]

#define IS_UART_ADVFEATURE_AUTOBAUDRATE (   __AUTOBAUDRATE__)
Value:
(((__AUTOBAUDRATE__) == UART_ADVFEATURE_AUTOBAUDRATE_DISABLE) || \
((__AUTOBAUDRATE__) == UART_ADVFEATURE_AUTOBAUDRATE_ENABLE))

Ensure that UART auto Baud rate state is valid.

Parameters
<strong>AUTOBAUDRATE</strong>UART auto Baud rate state.
Return values
SET(AUTOBAUDRATE is valid) or RESET (AUTOBAUDRATE is invalid)

Definition at line 1335 of file stm32f7xx_hal_uart.h.

◆ IS_UART_ADVFEATURE_AUTOBAUDRATE [2/3]

#define IS_UART_ADVFEATURE_AUTOBAUDRATE (   __AUTOBAUDRATE__)
Value:
(((__AUTOBAUDRATE__) == UART_ADVFEATURE_AUTOBAUDRATE_DISABLE) || \
((__AUTOBAUDRATE__) == UART_ADVFEATURE_AUTOBAUDRATE_ENABLE))

Ensure that UART auto Baud rate state is valid.

Parameters
<strong>AUTOBAUDRATE</strong>UART auto Baud rate state.
Return values
SET(AUTOBAUDRATE is valid) or RESET (AUTOBAUDRATE is invalid)

Definition at line 1440 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_ADVFEATURE_AUTOBAUDRATE [3/3]

#define IS_UART_ADVFEATURE_AUTOBAUDRATE (   __AUTOBAUDRATE__)
Value:
(((__AUTOBAUDRATE__) == \
((__AUTOBAUDRATE__) == UART_ADVFEATURE_AUTOBAUDRATE_ENABLE))

Ensure that UART auto Baud rate state is valid.

Parameters
<strong>AUTOBAUDRATE</strong>UART auto Baud rate state.
Return values
SET(AUTOBAUDRATE is valid) or RESET (AUTOBAUDRATE is invalid)

Definition at line 1500 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_ADVFEATURE_AUTOBAUDRATEMODE [1/3]

#define IS_UART_ADVFEATURE_AUTOBAUDRATEMODE (   __MODE__)
Value:

Ensure that UART auto Baud rate detection mode is valid.

Parameters
<strong>MODE</strong>UART auto Baud rate detection mode.
Return values
SET(MODE is valid) or RESET (MODE is invalid)

Definition at line 1196 of file stm32f7xx_hal_uart.h.

◆ IS_UART_ADVFEATURE_AUTOBAUDRATEMODE [2/3]

#define IS_UART_ADVFEATURE_AUTOBAUDRATEMODE (   __MODE__)
Value:

Ensure that UART auto Baud rate detection mode is valid.

Parameters
<strong>MODE</strong>UART auto Baud rate detection mode.
Return values
SET(MODE is valid) or RESET (MODE is invalid)

Definition at line 1301 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_ADVFEATURE_AUTOBAUDRATEMODE [3/3]

#define IS_UART_ADVFEATURE_AUTOBAUDRATEMODE (   __MODE__)
Value:

Ensure that UART auto Baud rate detection mode is valid.

Parameters
<strong>MODE</strong>UART auto Baud rate detection mode.
Return values
SET(MODE is valid) or RESET (MODE is invalid)

Definition at line 1361 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_ADVFEATURE_DATAINV [1/3]

#define IS_UART_ADVFEATURE_DATAINV (   __DATAINV__)
Value:
(((__DATAINV__) == UART_ADVFEATURE_DATAINV_DISABLE) || \
((__DATAINV__) == UART_ADVFEATURE_DATAINV_ENABLE))

Ensure that UART frame data inversion setting is valid.

Parameters
<strong>DATAINV</strong>UART frame data inversion setting.
Return values
SET(DATAINV is valid) or RESET (DATAINV is invalid)

Definition at line 1311 of file stm32f7xx_hal_uart.h.

◆ IS_UART_ADVFEATURE_DATAINV [2/3]

#define IS_UART_ADVFEATURE_DATAINV (   __DATAINV__)
Value:
(((__DATAINV__) == UART_ADVFEATURE_DATAINV_DISABLE) || \
((__DATAINV__) == UART_ADVFEATURE_DATAINV_ENABLE))

Ensure that UART frame data inversion setting is valid.

Parameters
<strong>DATAINV</strong>UART frame data inversion setting.
Return values
SET(DATAINV is valid) or RESET (DATAINV is invalid)

Definition at line 1416 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_ADVFEATURE_DATAINV [3/3]

#define IS_UART_ADVFEATURE_DATAINV (   __DATAINV__)
Value:
(((__DATAINV__) == UART_ADVFEATURE_DATAINV_DISABLE) || \
((__DATAINV__) == UART_ADVFEATURE_DATAINV_ENABLE))

Ensure that UART frame data inversion setting is valid.

Parameters
<strong>DATAINV</strong>UART frame data inversion setting.
Return values
SET(DATAINV is valid) or RESET (DATAINV is invalid)

Definition at line 1476 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_ADVFEATURE_DMAONRXERROR [1/3]

#define IS_UART_ADVFEATURE_DMAONRXERROR (   __DMA__)
Value:

Ensure that UART DMA enabling or disabling on error setting is valid.

Parameters
<strong>DMA</strong>UART DMA enabling or disabling on error setting.
Return values
SET(DMA is valid) or RESET (DMA is invalid)

Definition at line 1343 of file stm32f7xx_hal_uart.h.

◆ IS_UART_ADVFEATURE_DMAONRXERROR [2/3]

#define IS_UART_ADVFEATURE_DMAONRXERROR (   __DMA__)
Value:

Ensure that UART DMA enabling or disabling on error setting is valid.

Parameters
<strong>DMA</strong>UART DMA enabling or disabling on error setting.
Return values
SET(DMA is valid) or RESET (DMA is invalid)

Definition at line 1448 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_ADVFEATURE_DMAONRXERROR [3/3]

#define IS_UART_ADVFEATURE_DMAONRXERROR (   __DMA__)
Value:

Ensure that UART DMA enabling or disabling on error setting is valid.

Parameters
<strong>DMA</strong>UART DMA enabling or disabling on error setting.
Return values
SET(DMA is valid) or RESET (DMA is invalid)

Definition at line 1509 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_ADVFEATURE_INIT [1/3]

#define IS_UART_ADVFEATURE_INIT (   __INIT__)
Value:

Ensure that UART advanced features initialization is valid.

Parameters
<strong>INIT</strong>UART advanced features initialization.
Return values
SET(INIT is valid) or RESET (INIT is invalid)

Definition at line 1280 of file stm32f7xx_hal_uart.h.

◆ IS_UART_ADVFEATURE_INIT [2/3]

#define IS_UART_ADVFEATURE_INIT (   __INIT__)
Value:

Ensure that UART advanced features initialization is valid.

Parameters
<strong>INIT</strong>UART advanced features initialization.
Return values
SET(INIT is valid) or RESET (INIT is invalid)

Definition at line 1385 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_ADVFEATURE_INIT [3/3]

#define IS_UART_ADVFEATURE_INIT (   __INIT__)
Value:

Ensure that UART advanced features initialization is valid.

Parameters
<strong>INIT</strong>UART advanced features initialization.
Return values
SET(INIT is valid) or RESET (INIT is invalid)

Definition at line 1445 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_ADVFEATURE_MSBFIRST [1/3]

#define IS_UART_ADVFEATURE_MSBFIRST (   __MSBFIRST__)
Value:
(((__MSBFIRST__) == UART_ADVFEATURE_MSBFIRST_DISABLE) || \
((__MSBFIRST__) == UART_ADVFEATURE_MSBFIRST_ENABLE))

Ensure that UART frame MSB first setting is valid.

Parameters
<strong>MSBFIRST</strong>UART frame MSB first setting.
Return values
SET(MSBFIRST is valid) or RESET (MSBFIRST is invalid)

Definition at line 1351 of file stm32f7xx_hal_uart.h.

◆ IS_UART_ADVFEATURE_MSBFIRST [2/3]

#define IS_UART_ADVFEATURE_MSBFIRST (   __MSBFIRST__)
Value:
(((__MSBFIRST__) == UART_ADVFEATURE_MSBFIRST_DISABLE) || \
((__MSBFIRST__) == UART_ADVFEATURE_MSBFIRST_ENABLE))

Ensure that UART frame MSB first setting is valid.

Parameters
<strong>MSBFIRST</strong>UART frame MSB first setting.
Return values
SET(MSBFIRST is valid) or RESET (MSBFIRST is invalid)

Definition at line 1456 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_ADVFEATURE_MSBFIRST [3/3]

#define IS_UART_ADVFEATURE_MSBFIRST (   __MSBFIRST__)
Value:
(((__MSBFIRST__) == UART_ADVFEATURE_MSBFIRST_DISABLE) || \
((__MSBFIRST__) == UART_ADVFEATURE_MSBFIRST_ENABLE))

Ensure that UART frame MSB first setting is valid.

Parameters
<strong>MSBFIRST</strong>UART frame MSB first setting.
Return values
SET(MSBFIRST is valid) or RESET (MSBFIRST is invalid)

Definition at line 1517 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_ADVFEATURE_RXINV [1/3]

#define IS_UART_ADVFEATURE_RXINV (   __RXINV__)
Value:
(((__RXINV__) == UART_ADVFEATURE_RXINV_DISABLE) || \
((__RXINV__) == UART_ADVFEATURE_RXINV_ENABLE))

Ensure that UART frame RX inversion setting is valid.

Parameters
<strong>RXINV</strong>UART frame RX inversion setting.
Return values
SET(RXINV is valid) or RESET (RXINV is invalid)

Definition at line 1303 of file stm32f7xx_hal_uart.h.

◆ IS_UART_ADVFEATURE_RXINV [2/3]

#define IS_UART_ADVFEATURE_RXINV (   __RXINV__)
Value:
(((__RXINV__) == UART_ADVFEATURE_RXINV_DISABLE) || \
((__RXINV__) == UART_ADVFEATURE_RXINV_ENABLE))

Ensure that UART frame RX inversion setting is valid.

Parameters
<strong>RXINV</strong>UART frame RX inversion setting.
Return values
SET(RXINV is valid) or RESET (RXINV is invalid)

Definition at line 1408 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_ADVFEATURE_RXINV [3/3]

#define IS_UART_ADVFEATURE_RXINV (   __RXINV__)
Value:
(((__RXINV__) == UART_ADVFEATURE_RXINV_DISABLE) || \
((__RXINV__) == UART_ADVFEATURE_RXINV_ENABLE))

Ensure that UART frame RX inversion setting is valid.

Parameters
<strong>RXINV</strong>UART frame RX inversion setting.
Return values
SET(RXINV is valid) or RESET (RXINV is invalid)

Definition at line 1468 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_ADVFEATURE_STOPMODE [1/2]

#define IS_UART_ADVFEATURE_STOPMODE (   __STOPMODE__)
Value:
(((__STOPMODE__) == UART_ADVFEATURE_STOPMODE_DISABLE) || \
((__STOPMODE__) == UART_ADVFEATURE_STOPMODE_ENABLE))

Ensure that UART stop mode state is valid.

Parameters
<strong>STOPMODE</strong>UART stop mode state.
Return values
SET(STOPMODE is valid) or RESET (STOPMODE is invalid)

Definition at line 1464 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_ADVFEATURE_STOPMODE [2/2]

#define IS_UART_ADVFEATURE_STOPMODE (   __STOPMODE__)
Value:
(((__STOPMODE__) == UART_ADVFEATURE_STOPMODE_DISABLE) || \
((__STOPMODE__) == UART_ADVFEATURE_STOPMODE_ENABLE))

Ensure that UART stop mode state is valid.

Parameters
<strong>STOPMODE</strong>UART stop mode state.
Return values
SET(STOPMODE is valid) or RESET (STOPMODE is invalid)

Definition at line 1525 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_ADVFEATURE_SWAP [1/3]

#define IS_UART_ADVFEATURE_SWAP (   __SWAP__)
Value:
(((__SWAP__) == UART_ADVFEATURE_SWAP_DISABLE) || \
((__SWAP__) == UART_ADVFEATURE_SWAP_ENABLE))

Ensure that UART frame RX/TX pins swap setting is valid.

Parameters
<strong>SWAP</strong>UART frame RX/TX pins swap setting.
Return values
SET(SWAP is valid) or RESET (SWAP is invalid)

Definition at line 1319 of file stm32f7xx_hal_uart.h.

◆ IS_UART_ADVFEATURE_SWAP [2/3]

#define IS_UART_ADVFEATURE_SWAP (   __SWAP__)
Value:
(((__SWAP__) == UART_ADVFEATURE_SWAP_DISABLE) || \
((__SWAP__) == UART_ADVFEATURE_SWAP_ENABLE))

Ensure that UART frame RX/TX pins swap setting is valid.

Parameters
<strong>SWAP</strong>UART frame RX/TX pins swap setting.
Return values
SET(SWAP is valid) or RESET (SWAP is invalid)

Definition at line 1424 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_ADVFEATURE_SWAP [3/3]

#define IS_UART_ADVFEATURE_SWAP (   __SWAP__)
Value:
(((__SWAP__) == UART_ADVFEATURE_SWAP_DISABLE) || \
((__SWAP__) == UART_ADVFEATURE_SWAP_ENABLE))

Ensure that UART frame RX/TX pins swap setting is valid.

Parameters
<strong>SWAP</strong>UART frame RX/TX pins swap setting.
Return values
SET(SWAP is valid) or RESET (SWAP is invalid)

Definition at line 1484 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_ADVFEATURE_TXINV [1/3]

#define IS_UART_ADVFEATURE_TXINV (   __TXINV__)
Value:
(((__TXINV__) == UART_ADVFEATURE_TXINV_DISABLE) || \
((__TXINV__) == UART_ADVFEATURE_TXINV_ENABLE))

Ensure that UART frame TX inversion setting is valid.

Parameters
<strong>TXINV</strong>UART frame TX inversion setting.
Return values
SET(TXINV is valid) or RESET (TXINV is invalid)

Definition at line 1295 of file stm32f7xx_hal_uart.h.

◆ IS_UART_ADVFEATURE_TXINV [2/3]

#define IS_UART_ADVFEATURE_TXINV (   __TXINV__)
Value:
(((__TXINV__) == UART_ADVFEATURE_TXINV_DISABLE) || \
((__TXINV__) == UART_ADVFEATURE_TXINV_ENABLE))

Ensure that UART frame TX inversion setting is valid.

Parameters
<strong>TXINV</strong>UART frame TX inversion setting.
Return values
SET(TXINV is valid) or RESET (TXINV is invalid)

Definition at line 1400 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_ADVFEATURE_TXINV [3/3]

#define IS_UART_ADVFEATURE_TXINV (   __TXINV__)
Value:
(((__TXINV__) == UART_ADVFEATURE_TXINV_DISABLE) || \
((__TXINV__) == UART_ADVFEATURE_TXINV_ENABLE))

Ensure that UART frame TX inversion setting is valid.

Parameters
<strong>TXINV</strong>UART frame TX inversion setting.
Return values
SET(TXINV is valid) or RESET (TXINV is invalid)

Definition at line 1460 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_ASSERTIONTIME [1/3]

#define IS_UART_ASSERTIONTIME (   __TIME__)    ((__TIME__) <= 0x1FU)

Check UART assertion time.

Parameters
<strong>TIME</strong>5-bit value assertion time.
Return values
Testresult (TRUE or FALSE).

Definition at line 1121 of file stm32f7xx_hal_uart.h.

◆ IS_UART_ASSERTIONTIME [2/3]

#define IS_UART_ASSERTIONTIME (   __TIME__)    ((__TIME__) <= 0x1FU)

Check UART assertion time.

Parameters
<strong>TIME</strong>5-bit value assertion time.
Return values
Testresult (TRUE or FALSE).

Definition at line 1219 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_ASSERTIONTIME [3/3]

#define IS_UART_ASSERTIONTIME (   __TIME__)    ((__TIME__) <= 0x1FU)

Check UART assertion time.

Parameters
<strong>TIME</strong>5-bit value assertion time.
Return values
Testresult (TRUE or FALSE).

Definition at line 1279 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_BAUDRATE [1/4]

#define IS_UART_BAUDRATE (   __BAUDRATE__)    ((__BAUDRATE__) < 27000001U)

Check UART Baud rate.

Parameters
<strong>BAUDRATE</strong>Baudrate specified by the user. The maximum Baud Rate is derived from the maximum clock on F7 (i.e. 216 MHz) divided by the smallest oversampling used on the USART (i.e. 8)
Return values
SET(BAUDRATE is valid) or RESET (BAUDRATE is invalid)

Definition at line 1115 of file stm32f7xx_hal_uart.h.

◆ IS_UART_BAUDRATE [2/4]

#define IS_UART_BAUDRATE (   __BAUDRATE__)    ((__BAUDRATE__) < 12500001U)

Check UART Baud rate.

Parameters
<strong>BAUDRATE</strong>Baudrate specified by the user. The maximum Baud Rate is derived from the maximum clock on H7 (i.e. 100 MHz) divided by the smallest oversampling used on the USART (i.e. 8)
Return values
SET(BAUDRATE is valid) or RESET (BAUDRATE is invalid)

Definition at line 1213 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_BAUDRATE [3/4]

#define IS_UART_BAUDRATE (   __BAUDRATE__)    ((__BAUDRATE__) < 12500001U)

Check UART Baud rate.

Parameters
<strong>BAUDRATE</strong>Baudrate specified by the user. The maximum Baud Rate is derived from the maximum clock on H7 (i.e. 100 MHz) divided by the smallest oversampling used on the USART (i.e. 8)
Return values
SET(BAUDRATE is valid) or RESET (BAUDRATE is invalid)

Definition at line 1273 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_BAUDRATE [4/4]

#define IS_UART_BAUDRATE (   BAUDRATE)    ((BAUDRATE) <= 10500000U)

Definition at line 798 of file stm32f4xx_hal_uart.h.

◆ IS_UART_DE_POLARITY [1/3]

#define IS_UART_DE_POLARITY (   __POLARITY__)
Value:
(((__POLARITY__) == UART_DE_POLARITY_HIGH) || \
((__POLARITY__) == UART_DE_POLARITY_LOW))

Ensure that UART driver enable polarity is valid.

Parameters
<strong>POLARITY</strong>UART driver enable polarity.
Return values
SET(POLARITY is valid) or RESET (POLARITY is invalid)

Definition at line 1388 of file stm32f7xx_hal_uart.h.

◆ IS_UART_DE_POLARITY [2/3]

#define IS_UART_DE_POLARITY (   __POLARITY__)
Value:
(((__POLARITY__) == UART_DE_POLARITY_HIGH) || \
((__POLARITY__) == UART_DE_POLARITY_LOW))

Ensure that UART driver enable polarity is valid.

Parameters
<strong>POLARITY</strong>UART driver enable polarity.
Return values
SET(POLARITY is valid) or RESET (POLARITY is invalid)

Definition at line 1489 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_DE_POLARITY [3/3]

#define IS_UART_DE_POLARITY (   __POLARITY__)
Value:
(((__POLARITY__) == UART_DE_POLARITY_HIGH) || \
((__POLARITY__) == UART_DE_POLARITY_LOW))

Ensure that UART driver enable polarity is valid.

Parameters
<strong>POLARITY</strong>UART driver enable polarity.
Return values
SET(POLARITY is valid) or RESET (POLARITY is invalid)

Definition at line 1550 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_DEASSERTIONTIME [1/3]

#define IS_UART_DEASSERTIONTIME (   __TIME__)    ((__TIME__) <= 0x1FU)

Check UART deassertion time.

Parameters
<strong>TIME</strong>5-bit value deassertion time.
Return values
Testresult (TRUE or FALSE).

Definition at line 1127 of file stm32f7xx_hal_uart.h.

◆ IS_UART_DEASSERTIONTIME [2/3]

#define IS_UART_DEASSERTIONTIME (   __TIME__)    ((__TIME__) <= 0x1FU)

Check UART deassertion time.

Parameters
<strong>TIME</strong>5-bit value deassertion time.
Return values
Testresult (TRUE or FALSE).

Definition at line 1225 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_DEASSERTIONTIME [3/3]

#define IS_UART_DEASSERTIONTIME (   __TIME__)    ((__TIME__) <= 0x1FU)

Check UART deassertion time.

Parameters
<strong>TIME</strong>5-bit value deassertion time.
Return values
Testresult (TRUE or FALSE).

Definition at line 1285 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_DMA_RX [1/3]

#define IS_UART_DMA_RX (   __DMARX__)
Value:
(((__DMARX__) == UART_DMA_RX_DISABLE) || \
((__DMARX__) == UART_DMA_RX_ENABLE))

Ensure that UART DMA RX state is valid.

Parameters
<strong>DMARX</strong>UART DMA RX state.
Return values
SET(DMARX is valid) or RESET (DMARX is invalid)

Definition at line 1245 of file stm32f7xx_hal_uart.h.

◆ IS_UART_DMA_RX [2/3]

#define IS_UART_DMA_RX (   __DMARX__)
Value:
(((__DMARX__) == UART_DMA_RX_DISABLE) || \
((__DMARX__) == UART_DMA_RX_ENABLE))

Ensure that UART DMA RX state is valid.

Parameters
<strong>DMARX</strong>UART DMA RX state.
Return values
SET(DMARX is valid) or RESET (DMARX is invalid)

Definition at line 1350 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_DMA_RX [3/3]

#define IS_UART_DMA_RX (   __DMARX__)
Value:
(((__DMARX__) == UART_DMA_RX_DISABLE) || \
((__DMARX__) == UART_DMA_RX_ENABLE))

Ensure that UART DMA RX state is valid.

Parameters
<strong>DMARX</strong>UART DMA RX state.
Return values
SET(DMARX is valid) or RESET (DMARX is invalid)

Definition at line 1410 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_DMA_TX [1/3]

#define IS_UART_DMA_TX (   __DMATX__)
Value:
(((__DMATX__) == UART_DMA_TX_DISABLE) || \
((__DMATX__) == UART_DMA_TX_ENABLE))

Ensure that UART DMA TX state is valid.

Parameters
<strong>DMATX</strong>UART DMA TX state.
Return values
SET(DMATX is valid) or RESET (DMATX is invalid)

Definition at line 1237 of file stm32f7xx_hal_uart.h.

◆ IS_UART_DMA_TX [2/3]

#define IS_UART_DMA_TX (   __DMATX__)
Value:
(((__DMATX__) == UART_DMA_TX_DISABLE) || \
((__DMATX__) == UART_DMA_TX_ENABLE))

Ensure that UART DMA TX state is valid.

Parameters
<strong>DMATX</strong>UART DMA TX state.
Return values
SET(DMATX is valid) or RESET (DMATX is invalid)

Definition at line 1342 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_DMA_TX [3/3]

#define IS_UART_DMA_TX (   __DMATX__)
Value:
(((__DMATX__) == UART_DMA_TX_DISABLE) || \
((__DMATX__) == UART_DMA_TX_ENABLE))

Ensure that UART DMA TX state is valid.

Parameters
<strong>DMATX</strong>UART DMA TX state.
Return values
SET(DMATX is valid) or RESET (DMATX is invalid)

Definition at line 1402 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_HALF_DUPLEX [1/3]

#define IS_UART_HALF_DUPLEX (   __HDSEL__)
Value:
(((__HDSEL__) == UART_HALF_DUPLEX_DISABLE) || \
((__HDSEL__) == UART_HALF_DUPLEX_ENABLE))

Ensure that UART half-duplex state is valid.

Parameters
<strong>HDSEL</strong>UART half-duplex state.
Return values
SET(HDSEL is valid) or RESET (HDSEL is invalid)

Definition at line 1253 of file stm32f7xx_hal_uart.h.

◆ IS_UART_HALF_DUPLEX [2/3]

#define IS_UART_HALF_DUPLEX (   __HDSEL__)
Value:
(((__HDSEL__) == UART_HALF_DUPLEX_DISABLE) || \
((__HDSEL__) == UART_HALF_DUPLEX_ENABLE))

Ensure that UART half-duplex state is valid.

Parameters
<strong>HDSEL</strong>UART half-duplex state.
Return values
SET(HDSEL is valid) or RESET (HDSEL is invalid)

Definition at line 1358 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_HALF_DUPLEX [3/3]

#define IS_UART_HALF_DUPLEX (   __HDSEL__)
Value:
(((__HDSEL__) == UART_HALF_DUPLEX_DISABLE) || \
((__HDSEL__) == UART_HALF_DUPLEX_ENABLE))

Ensure that UART half-duplex state is valid.

Parameters
<strong>HDSEL</strong>UART half-duplex state.
Return values
SET(HDSEL is valid) or RESET (HDSEL is invalid)

Definition at line 1418 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_HARDWARE_FLOW_CONTROL [1/4]

#define IS_UART_HARDWARE_FLOW_CONTROL (   __CONTROL__)
Value:
(((__CONTROL__) == UART_HWCONTROL_NONE) || \
((__CONTROL__) == UART_HWCONTROL_RTS) || \
((__CONTROL__) == UART_HWCONTROL_CTS) || \
((__CONTROL__) == UART_HWCONTROL_RTS_CTS))

Ensure that UART hardware flow control is valid.

Parameters
<strong>CONTROL</strong>UART hardware flow control.
Return values
SET(CONTROL is valid) or RESET (CONTROL is invalid)

Definition at line 1154 of file stm32f7xx_hal_uart.h.

◆ IS_UART_HARDWARE_FLOW_CONTROL [2/4]

#define IS_UART_HARDWARE_FLOW_CONTROL (   __CONTROL__)
Value:
(((__CONTROL__) == UART_HWCONTROL_NONE) || \
((__CONTROL__) == UART_HWCONTROL_RTS) || \
((__CONTROL__) == UART_HWCONTROL_CTS) || \
((__CONTROL__) == UART_HWCONTROL_RTS_CTS))

Ensure that UART hardware flow control is valid.

Parameters
<strong>CONTROL</strong>UART hardware flow control.
Return values
SET(CONTROL is valid) or RESET (CONTROL is invalid)

Definition at line 1259 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_HARDWARE_FLOW_CONTROL [3/4]

#define IS_UART_HARDWARE_FLOW_CONTROL (   __CONTROL__)
Value:
(((__CONTROL__) == UART_HWCONTROL_NONE) || \
((__CONTROL__) == UART_HWCONTROL_RTS) || \
((__CONTROL__) == UART_HWCONTROL_CTS) || \
((__CONTROL__) == UART_HWCONTROL_RTS_CTS))

Ensure that UART hardware flow control is valid.

Parameters
<strong>CONTROL</strong>UART hardware flow control.
Return values
SET(CONTROL is valid) or RESET (CONTROL is invalid)

Definition at line 1319 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_HARDWARE_FLOW_CONTROL [4/4]

#define IS_UART_HARDWARE_FLOW_CONTROL (   CONTROL)
Value:
(((CONTROL) == UART_HWCONTROL_NONE) || \
((CONTROL) == UART_HWCONTROL_RTS) || \
((CONTROL) == UART_HWCONTROL_CTS) || \
((CONTROL) == UART_HWCONTROL_RTS_CTS))

Definition at line 783 of file stm32f4xx_hal_uart.h.

◆ IS_UART_LIN [1/3]

#define IS_UART_LIN (   __LIN__)
Value:
(((__LIN__) == UART_LIN_DISABLE) || \
((__LIN__) == UART_LIN_ENABLE))

Ensure that UART LIN state is valid.

Parameters
<strong>LIN</strong>UART LIN state.
Return values
SET(LIN is valid) or RESET (LIN is invalid)

Definition at line 1221 of file stm32f7xx_hal_uart.h.

◆ IS_UART_LIN [2/3]

#define IS_UART_LIN (   __LIN__)
Value:
(((__LIN__) == UART_LIN_DISABLE) || \
((__LIN__) == UART_LIN_ENABLE))

Ensure that UART LIN state is valid.

Parameters
<strong>LIN</strong>UART LIN state.
Return values
SET(LIN is valid) or RESET (LIN is invalid)

Definition at line 1326 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_LIN [3/3]

#define IS_UART_LIN (   __LIN__)
Value:
(((__LIN__) == UART_LIN_DISABLE) || \
((__LIN__) == UART_LIN_ENABLE))

Ensure that UART LIN state is valid.

Parameters
<strong>LIN</strong>UART LIN state.
Return values
SET(LIN is valid) or RESET (LIN is invalid)

Definition at line 1386 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_LIN_BREAK_DETECT_LENGTH [1/4]

#define IS_UART_LIN_BREAK_DETECT_LENGTH (   __LENGTH__)
Value:
(((__LENGTH__) == UART_LINBREAKDETECTLENGTH_10B) || \
((__LENGTH__) == UART_LINBREAKDETECTLENGTH_11B))

Ensure that UART LIN break detection length is valid.

Parameters
<strong>LENGTH</strong>UART LIN break detection length.
Return values
SET(LENGTH is valid) or RESET (LENGTH is invalid)

Definition at line 1229 of file stm32f7xx_hal_uart.h.

◆ IS_UART_LIN_BREAK_DETECT_LENGTH [2/4]

#define IS_UART_LIN_BREAK_DETECT_LENGTH (   __LENGTH__)
Value:
(((__LENGTH__) == UART_LINBREAKDETECTLENGTH_10B) || \
((__LENGTH__) == UART_LINBREAKDETECTLENGTH_11B))

Ensure that UART LIN break detection length is valid.

Parameters
<strong>LENGTH</strong>UART LIN break detection length.
Return values
SET(LENGTH is valid) or RESET (LENGTH is invalid)

Definition at line 1334 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_LIN_BREAK_DETECT_LENGTH [3/4]

#define IS_UART_LIN_BREAK_DETECT_LENGTH (   __LENGTH__)
Value:
(((__LENGTH__) == UART_LINBREAKDETECTLENGTH_10B) || \
((__LENGTH__) == UART_LINBREAKDETECTLENGTH_11B))

Ensure that UART LIN break detection length is valid.

Parameters
<strong>LENGTH</strong>UART LIN break detection length.
Return values
SET(LENGTH is valid) or RESET (LENGTH is invalid)

Definition at line 1394 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_LIN_BREAK_DETECT_LENGTH [4/4]

#define IS_UART_LIN_BREAK_DETECT_LENGTH (   LENGTH)
Value:

Definition at line 794 of file stm32f4xx_hal_uart.h.

◆ IS_UART_LIN_OVERSAMPLING

#define IS_UART_LIN_OVERSAMPLING (   SAMPLING)    (((SAMPLING) == UART_OVERSAMPLING_16))

Definition at line 793 of file stm32f4xx_hal_uart.h.

◆ IS_UART_LIN_WORD_LENGTH

#define IS_UART_LIN_WORD_LENGTH (   LENGTH)    (((LENGTH) == UART_WORDLENGTH_8B))

Definition at line 777 of file stm32f4xx_hal_uart.h.

◆ IS_UART_MODE [1/4]

#define IS_UART_MODE (   __MODE__)    ((((__MODE__) & (~((uint32_t)(UART_MODE_TX_RX)))) == 0x00U) && ((__MODE__) != 0x00U))

Ensure that UART communication mode is valid.

Parameters
<strong>MODE</strong>UART communication mode.
Return values
SET(MODE is valid) or RESET (MODE is invalid)

Definition at line 1165 of file stm32f7xx_hal_uart.h.

◆ IS_UART_MODE [2/4]

#define IS_UART_MODE (   __MODE__)    ((((__MODE__) & (~((uint32_t)(UART_MODE_TX_RX)))) == 0x00U) && ((__MODE__) != 0x00U))

Ensure that UART communication mode is valid.

Parameters
<strong>MODE</strong>UART communication mode.
Return values
SET(MODE is valid) or RESET (MODE is invalid)

Definition at line 1270 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_MODE [3/4]

#define IS_UART_MODE (   __MODE__)    ((((__MODE__) & (~((uint32_t)(UART_MODE_TX_RX)))) == 0x00U) && ((__MODE__) != 0x00U))

Ensure that UART communication mode is valid.

Parameters
<strong>MODE</strong>UART communication mode.
Return values
SET(MODE is valid) or RESET (MODE is invalid)

Definition at line 1330 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_MODE [4/4]

#define IS_UART_MODE (   MODE)    ((((MODE) & 0x0000FFF3U) == 0x00U) && ((MODE) != 0x00U))

Definition at line 788 of file stm32f4xx_hal_uart.h.

◆ IS_UART_MUTE_MODE [1/3]

#define IS_UART_MUTE_MODE (   __MUTE__)
Value:
(((__MUTE__) == UART_ADVFEATURE_MUTEMODE_DISABLE) || \

Ensure that UART mute mode state is valid.

Parameters
<strong>MUTE</strong>UART mute mode state.
Return values
SET(MUTE is valid) or RESET (MUTE is invalid)

Definition at line 1369 of file stm32f7xx_hal_uart.h.

◆ IS_UART_MUTE_MODE [2/3]

#define IS_UART_MUTE_MODE (   __MUTE__)
Value:
(((__MUTE__) == UART_ADVFEATURE_MUTEMODE_DISABLE) || \

Ensure that UART mute mode state is valid.

Parameters
<strong>MUTE</strong>UART mute mode state.
Return values
SET(MUTE is valid) or RESET (MUTE is invalid)

Definition at line 1472 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_MUTE_MODE [3/3]

#define IS_UART_MUTE_MODE (   __MUTE__)
Value:
(((__MUTE__) == UART_ADVFEATURE_MUTEMODE_DISABLE) || \

Ensure that UART mute mode state is valid.

Parameters
<strong>MUTE</strong>UART mute mode state.
Return values
SET(MUTE is valid) or RESET (MUTE is invalid)

Definition at line 1533 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_ONE_BIT_SAMPLE [1/3]

#define IS_UART_ONE_BIT_SAMPLE (   __ONEBIT__)
Value:
(((__ONEBIT__) == UART_ONE_BIT_SAMPLE_DISABLE) || \
((__ONEBIT__) == UART_ONE_BIT_SAMPLE_ENABLE))

Ensure that UART frame sampling is valid.

Parameters
<strong>ONEBIT</strong>UART frame sampling.
Return values
SET(ONEBIT is valid) or RESET (ONEBIT is invalid)

Definition at line 1188 of file stm32f7xx_hal_uart.h.

◆ IS_UART_ONE_BIT_SAMPLE [2/3]

#define IS_UART_ONE_BIT_SAMPLE (   __ONEBIT__)
Value:
(((__ONEBIT__) == UART_ONE_BIT_SAMPLE_DISABLE) || \
((__ONEBIT__) == UART_ONE_BIT_SAMPLE_ENABLE))

Ensure that UART frame sampling is valid.

Parameters
<strong>ONEBIT</strong>UART frame sampling.
Return values
SET(ONEBIT is valid) or RESET (ONEBIT is invalid)

Definition at line 1293 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_ONE_BIT_SAMPLE [3/3]

#define IS_UART_ONE_BIT_SAMPLE (   __ONEBIT__)
Value:
(((__ONEBIT__) == UART_ONE_BIT_SAMPLE_DISABLE) || \
((__ONEBIT__) == UART_ONE_BIT_SAMPLE_ENABLE))

Ensure that UART frame sampling is valid.

Parameters
<strong>ONEBIT</strong>UART frame sampling.
Return values
SET(ONEBIT is valid) or RESET (ONEBIT is invalid)

Definition at line 1353 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_OVERRUN [1/3]

#define IS_UART_OVERRUN (   __OVERRUN__)
Value:
(((__OVERRUN__) == UART_ADVFEATURE_OVERRUN_ENABLE) || \
((__OVERRUN__) == UART_ADVFEATURE_OVERRUN_DISABLE))

Ensure that UART frame overrun setting is valid.

Parameters
<strong>OVERRUN</strong>UART frame overrun setting.
Return values
SET(OVERRUN is valid) or RESET (OVERRUN is invalid)

Definition at line 1327 of file stm32f7xx_hal_uart.h.

◆ IS_UART_OVERRUN [2/3]

#define IS_UART_OVERRUN (   __OVERRUN__)
Value:
(((__OVERRUN__) == UART_ADVFEATURE_OVERRUN_ENABLE) || \
((__OVERRUN__) == UART_ADVFEATURE_OVERRUN_DISABLE))

Ensure that UART frame overrun setting is valid.

Parameters
<strong>OVERRUN</strong>UART frame overrun setting.
Return values
SET(OVERRUN is valid) or RESET (OVERRUN is invalid)

Definition at line 1432 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_OVERRUN [3/3]

#define IS_UART_OVERRUN (   __OVERRUN__)
Value:
(((__OVERRUN__) == UART_ADVFEATURE_OVERRUN_ENABLE) || \
((__OVERRUN__) == UART_ADVFEATURE_OVERRUN_DISABLE))

Ensure that UART frame overrun setting is valid.

Parameters
<strong>OVERRUN</strong>UART frame overrun setting.
Return values
SET(OVERRUN is valid) or RESET (OVERRUN is invalid)

Definition at line 1492 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_OVERSAMPLING [1/4]

#define IS_UART_OVERSAMPLING (   __SAMPLING__)
Value:
(((__SAMPLING__) == UART_OVERSAMPLING_16) || \
((__SAMPLING__) == UART_OVERSAMPLING_8))

Ensure that UART oversampling is valid.

Parameters
<strong>SAMPLING</strong>UART oversampling.
Return values
SET(SAMPLING is valid) or RESET (SAMPLING is invalid)

Definition at line 1180 of file stm32f7xx_hal_uart.h.

◆ IS_UART_OVERSAMPLING [2/4]

#define IS_UART_OVERSAMPLING (   __SAMPLING__)
Value:
(((__SAMPLING__) == UART_OVERSAMPLING_16) || \
((__SAMPLING__) == UART_OVERSAMPLING_8))

Ensure that UART oversampling is valid.

Parameters
<strong>SAMPLING</strong>UART oversampling.
Return values
SET(SAMPLING is valid) or RESET (SAMPLING is invalid)

Definition at line 1285 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_OVERSAMPLING [3/4]

#define IS_UART_OVERSAMPLING (   __SAMPLING__)
Value:
(((__SAMPLING__) == UART_OVERSAMPLING_16) || \
((__SAMPLING__) == UART_OVERSAMPLING_8))

Ensure that UART oversampling is valid.

Parameters
<strong>SAMPLING</strong>UART oversampling.
Return values
SET(SAMPLING is valid) or RESET (SAMPLING is invalid)

Definition at line 1345 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_OVERSAMPLING [4/4]

#define IS_UART_OVERSAMPLING (   SAMPLING)
Value:
(((SAMPLING) == UART_OVERSAMPLING_16) || \
((SAMPLING) == UART_OVERSAMPLING_8))

Definition at line 791 of file stm32f4xx_hal_uart.h.

◆ IS_UART_PARITY [1/4]

#define IS_UART_PARITY (   __PARITY__)
Value:
(((__PARITY__) == UART_PARITY_NONE) || \
((__PARITY__) == UART_PARITY_EVEN) || \
((__PARITY__) == UART_PARITY_ODD))

Ensure that UART frame parity is valid.

Parameters
<strong>PARITY</strong>UART frame parity.
Return values
SET(PARITY is valid) or RESET (PARITY is invalid)

Definition at line 1145 of file stm32f7xx_hal_uart.h.

◆ IS_UART_PARITY [2/4]

#define IS_UART_PARITY (   __PARITY__)
Value:
(((__PARITY__) == UART_PARITY_NONE) || \
((__PARITY__) == UART_PARITY_EVEN) || \
((__PARITY__) == UART_PARITY_ODD))

Ensure that UART frame parity is valid.

Parameters
<strong>PARITY</strong>UART frame parity.
Return values
SET(PARITY is valid) or RESET (PARITY is invalid)

Definition at line 1250 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_PARITY [3/4]

#define IS_UART_PARITY (   __PARITY__)
Value:
(((__PARITY__) == UART_PARITY_NONE) || \
((__PARITY__) == UART_PARITY_EVEN) || \
((__PARITY__) == UART_PARITY_ODD))

Ensure that UART frame parity is valid.

Parameters
<strong>PARITY</strong>UART frame parity.
Return values
SET(PARITY is valid) or RESET (PARITY is invalid)

Definition at line 1310 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_PARITY [4/4]

#define IS_UART_PARITY (   PARITY)
Value:
(((PARITY) == UART_PARITY_NONE) || \
((PARITY) == UART_PARITY_EVEN) || \
((PARITY) == UART_PARITY_ODD))

Definition at line 780 of file stm32f4xx_hal_uart.h.

◆ IS_UART_PRESCALER [1/2]

#define IS_UART_PRESCALER (   __CLOCKPRESCALER__)
Value:
(((__CLOCKPRESCALER__) == UART_PRESCALER_DIV1) || \
((__CLOCKPRESCALER__) == UART_PRESCALER_DIV2) || \
((__CLOCKPRESCALER__) == UART_PRESCALER_DIV4) || \
((__CLOCKPRESCALER__) == UART_PRESCALER_DIV6) || \
((__CLOCKPRESCALER__) == UART_PRESCALER_DIV8) || \
((__CLOCKPRESCALER__) == UART_PRESCALER_DIV10) || \
((__CLOCKPRESCALER__) == UART_PRESCALER_DIV12) || \
((__CLOCKPRESCALER__) == UART_PRESCALER_DIV16) || \
((__CLOCKPRESCALER__) == UART_PRESCALER_DIV32) || \
((__CLOCKPRESCALER__) == UART_PRESCALER_DIV64) || \
((__CLOCKPRESCALER__) == UART_PRESCALER_DIV128) || \
((__CLOCKPRESCALER__) == UART_PRESCALER_DIV256))

Ensure that UART Prescaler is valid.

Parameters
<strong>CLOCKPRESCALER</strong>UART Prescaler value.
Return values
SET(CLOCKPRESCALER is valid) or RESET (CLOCKPRESCALER is invalid)

Definition at line 1497 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_PRESCALER [2/2]

#define IS_UART_PRESCALER (   __CLOCKPRESCALER__)
Value:
(((__CLOCKPRESCALER__) == UART_PRESCALER_DIV1) || \
((__CLOCKPRESCALER__) == UART_PRESCALER_DIV2) || \
((__CLOCKPRESCALER__) == UART_PRESCALER_DIV4) || \
((__CLOCKPRESCALER__) == UART_PRESCALER_DIV6) || \
((__CLOCKPRESCALER__) == UART_PRESCALER_DIV8) || \
((__CLOCKPRESCALER__) == UART_PRESCALER_DIV10) || \
((__CLOCKPRESCALER__) == UART_PRESCALER_DIV12) || \
((__CLOCKPRESCALER__) == UART_PRESCALER_DIV16) || \
((__CLOCKPRESCALER__) == UART_PRESCALER_DIV32) || \
((__CLOCKPRESCALER__) == UART_PRESCALER_DIV64) || \
((__CLOCKPRESCALER__) == UART_PRESCALER_DIV128) || \
((__CLOCKPRESCALER__) == UART_PRESCALER_DIV256))

Ensure that UART Prescaler is valid.

Parameters
<strong>CLOCKPRESCALER</strong>UART Prescaler value.
Return values
SET(CLOCKPRESCALER is valid) or RESET (CLOCKPRESCALER is invalid)

Definition at line 1558 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_RECEIVER_TIMEOUT [1/3]

#define IS_UART_RECEIVER_TIMEOUT (   __TIMEOUT__)
Value:
(((__TIMEOUT__) == UART_RECEIVER_TIMEOUT_DISABLE) || \
((__TIMEOUT__) == UART_RECEIVER_TIMEOUT_ENABLE))

Ensure that UART receiver timeout setting is valid.

Parameters
<strong>TIMEOUT</strong>UART receiver timeout setting.
Return values
SET(TIMEOUT is valid) or RESET (TIMEOUT is invalid)

Definition at line 1206 of file stm32f7xx_hal_uart.h.

◆ IS_UART_RECEIVER_TIMEOUT [2/3]

#define IS_UART_RECEIVER_TIMEOUT (   __TIMEOUT__)
Value:
(((__TIMEOUT__) == UART_RECEIVER_TIMEOUT_DISABLE) || \
((__TIMEOUT__) == UART_RECEIVER_TIMEOUT_ENABLE))

Ensure that UART receiver timeout setting is valid.

Parameters
<strong>TIMEOUT</strong>UART receiver timeout setting.
Return values
SET(TIMEOUT is valid) or RESET (TIMEOUT is invalid)

Definition at line 1311 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_RECEIVER_TIMEOUT [3/3]

#define IS_UART_RECEIVER_TIMEOUT (   __TIMEOUT__)
Value:
(((__TIMEOUT__) == UART_RECEIVER_TIMEOUT_DISABLE) || \
((__TIMEOUT__) == UART_RECEIVER_TIMEOUT_ENABLE))

Ensure that UART receiver timeout setting is valid.

Parameters
<strong>TIMEOUT</strong>UART receiver timeout setting.
Return values
SET(TIMEOUT is valid) or RESET (TIMEOUT is invalid)

Definition at line 1371 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_RECEIVER_TIMEOUT_VALUE [1/3]

#define IS_UART_RECEIVER_TIMEOUT_VALUE (   __TIMEOUTVALUE__)    ((__TIMEOUTVALUE__) <= 0xFFFFFFU)

Check the receiver timeout value.

Note
The maximum UART receiver timeout value is 0xFFFFFF.
Parameters
<strong>TIMEOUTVALUE</strong>receiver timeout value.
Return values
Testresult (TRUE or FALSE)

Definition at line 1214 of file stm32f7xx_hal_uart.h.

◆ IS_UART_RECEIVER_TIMEOUT_VALUE [2/3]

#define IS_UART_RECEIVER_TIMEOUT_VALUE (   __TIMEOUTVALUE__)    ((__TIMEOUTVALUE__) <= 0xFFFFFFU)

Check the receiver timeout value.

Note
The maximum UART receiver timeout value is 0xFFFFFF.
Parameters
<strong>TIMEOUTVALUE</strong>receiver timeout value.
Return values
Testresult (TRUE or FALSE)

Definition at line 1319 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_RECEIVER_TIMEOUT_VALUE [3/3]

#define IS_UART_RECEIVER_TIMEOUT_VALUE (   __TIMEOUTVALUE__)    ((__TIMEOUTVALUE__) <= 0xFFFFFFU)

Check the receiver timeout value.

Note
The maximum UART receiver timeout value is 0xFFFFFF.
Parameters
<strong>TIMEOUTVALUE</strong>receiver timeout value.
Return values
Testresult (TRUE or FALSE)

Definition at line 1379 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_REQUEST_PARAMETER [1/3]

#define IS_UART_REQUEST_PARAMETER (   __PARAM__)
Value:
(((__PARAM__) == UART_AUTOBAUD_REQUEST) || \
((__PARAM__) == UART_SENDBREAK_REQUEST) || \
((__PARAM__) == UART_MUTE_MODE_REQUEST) || \
((__PARAM__) == UART_RXDATA_FLUSH_REQUEST) || \
((__PARAM__) == UART_TXDATA_FLUSH_REQUEST))

Ensure that UART request parameter is valid.

Parameters
<strong>PARAM</strong>UART request parameter.
Return values
SET(PARAM is valid) or RESET (PARAM is invalid)

Definition at line 1269 of file stm32f7xx_hal_uart.h.

◆ IS_UART_REQUEST_PARAMETER [2/3]

#define IS_UART_REQUEST_PARAMETER (   __PARAM__)
Value:
(((__PARAM__) == UART_AUTOBAUD_REQUEST) || \
((__PARAM__) == UART_SENDBREAK_REQUEST) || \
((__PARAM__) == UART_MUTE_MODE_REQUEST) || \
((__PARAM__) == UART_RXDATA_FLUSH_REQUEST) || \
((__PARAM__) == UART_TXDATA_FLUSH_REQUEST))

Ensure that UART request parameter is valid.

Parameters
<strong>PARAM</strong>UART request parameter.
Return values
SET(PARAM is valid) or RESET (PARAM is invalid)

Definition at line 1374 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_REQUEST_PARAMETER [3/3]

#define IS_UART_REQUEST_PARAMETER (   __PARAM__)
Value:
(((__PARAM__) == UART_AUTOBAUD_REQUEST) || \
((__PARAM__) == UART_SENDBREAK_REQUEST) || \
((__PARAM__) == UART_MUTE_MODE_REQUEST) || \
((__PARAM__) == UART_RXDATA_FLUSH_REQUEST) || \
((__PARAM__) == UART_TXDATA_FLUSH_REQUEST))

Ensure that UART request parameter is valid.

Parameters
<strong>PARAM</strong>UART request parameter.
Return values
SET(PARAM is valid) or RESET (PARAM is invalid)

Definition at line 1434 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_STATE [1/4]

#define IS_UART_STATE (   __STATE__)
Value:
(((__STATE__) == UART_STATE_DISABLE) || \
((__STATE__) == UART_STATE_ENABLE))

Ensure that UART state is valid.

Parameters
<strong>STATE</strong>UART state.
Return values
SET(STATE is valid) or RESET (STATE is invalid)

Definition at line 1172 of file stm32f7xx_hal_uart.h.

◆ IS_UART_STATE [2/4]

#define IS_UART_STATE (   __STATE__)
Value:
(((__STATE__) == UART_STATE_DISABLE) || \
((__STATE__) == UART_STATE_ENABLE))

Ensure that UART state is valid.

Parameters
<strong>STATE</strong>UART state.
Return values
SET(STATE is valid) or RESET (STATE is invalid)

Definition at line 1277 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_STATE [3/4]

#define IS_UART_STATE (   __STATE__)
Value:
(((__STATE__) == UART_STATE_DISABLE) || \
((__STATE__) == UART_STATE_ENABLE))

Ensure that UART state is valid.

Parameters
<strong>STATE</strong>UART state.
Return values
SET(STATE is valid) or RESET (STATE is invalid)

Definition at line 1337 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_STATE [4/4]

#define IS_UART_STATE (   STATE)
Value:
(((STATE) == UART_STATE_DISABLE) || \
((STATE) == UART_STATE_ENABLE))

Definition at line 789 of file stm32f4xx_hal_uart.h.

◆ IS_UART_STOPBITS [1/4]

#define IS_UART_STOPBITS (   __STOPBITS__)
Value:
(((__STOPBITS__) == UART_STOPBITS_0_5) || \
((__STOPBITS__) == UART_STOPBITS_1) || \
((__STOPBITS__) == UART_STOPBITS_1_5) || \
((__STOPBITS__) == UART_STOPBITS_2))

Ensure that UART frame number of stop bits is valid.

Parameters
<strong>STOPBITS</strong>UART frame number of stop bits.
Return values
SET(STOPBITS is valid) or RESET (STOPBITS is invalid)

Definition at line 1134 of file stm32f7xx_hal_uart.h.

◆ IS_UART_STOPBITS [2/4]

#define IS_UART_STOPBITS (   __STOPBITS__)
Value:
(((__STOPBITS__) == UART_STOPBITS_0_5) || \
((__STOPBITS__) == UART_STOPBITS_1) || \
((__STOPBITS__) == UART_STOPBITS_1_5) || \
((__STOPBITS__) == UART_STOPBITS_2))

Ensure that UART frame number of stop bits is valid.

Parameters
<strong>STOPBITS</strong>UART frame number of stop bits.
Return values
SET(STOPBITS is valid) or RESET (STOPBITS is invalid)

Definition at line 1232 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_STOPBITS [3/4]

#define IS_UART_STOPBITS (   __STOPBITS__)
Value:
(((__STOPBITS__) == UART_STOPBITS_0_5) || \
((__STOPBITS__) == UART_STOPBITS_1) || \
((__STOPBITS__) == UART_STOPBITS_1_5) || \
((__STOPBITS__) == UART_STOPBITS_2))

Ensure that UART frame number of stop bits is valid.

Parameters
<strong>STOPBITS</strong>UART frame number of stop bits.
Return values
SET(STOPBITS is valid) or RESET (STOPBITS is invalid)

Definition at line 1292 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_STOPBITS [4/4]

#define IS_UART_STOPBITS (   STOPBITS)
Value:
(((STOPBITS) == UART_STOPBITS_1) || \
((STOPBITS) == UART_STOPBITS_2))

Definition at line 778 of file stm32f4xx_hal_uart.h.

◆ IS_UART_WAKEUP_SELECTION [1/2]

#define IS_UART_WAKEUP_SELECTION (   __WAKE__)
Value:
(((__WAKE__) == UART_WAKEUP_ON_ADDRESS) || \
((__WAKE__) == UART_WAKEUP_ON_STARTBIT) || \

Ensure that UART wake-up selection is valid.

Parameters
<strong>WAKE</strong>UART wake-up selection.
Return values
SET(WAKE is valid) or RESET (WAKE is invalid)

Definition at line 1480 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_WAKEUP_SELECTION [2/2]

#define IS_UART_WAKEUP_SELECTION (   __WAKE__)
Value:
(((__WAKE__) == UART_WAKEUP_ON_ADDRESS) || \
((__WAKE__) == UART_WAKEUP_ON_STARTBIT) || \

Ensure that UART wake-up selection is valid.

Parameters
<strong>WAKE</strong>UART wake-up selection.
Return values
SET(WAKE is valid) or RESET (WAKE is invalid)

Definition at line 1541 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_WAKEUPMETHOD [1/4]

#define IS_UART_WAKEUPMETHOD (   __WAKEUP__)
Value:
(((__WAKEUP__) == UART_WAKEUPMETHOD_IDLELINE) || \
((__WAKEUP__) == UART_WAKEUPMETHOD_ADDRESSMARK))

Ensure that UART wake-up method is valid.

Parameters
<strong>WAKEUP</strong>UART wake-up method .
Return values
SET(WAKEUP is valid) or RESET (WAKEUP is invalid)

Definition at line 1261 of file stm32f7xx_hal_uart.h.

◆ IS_UART_WAKEUPMETHOD [2/4]

#define IS_UART_WAKEUPMETHOD (   __WAKEUP__)
Value:
(((__WAKEUP__) == UART_WAKEUPMETHOD_IDLELINE) || \
((__WAKEUP__) == UART_WAKEUPMETHOD_ADDRESSMARK))

Ensure that UART wake-up method is valid.

Parameters
<strong>WAKEUP</strong>UART wake-up method .
Return values
SET(WAKEUP is valid) or RESET (WAKEUP is invalid)

Definition at line 1366 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_WAKEUPMETHOD [3/4]

#define IS_UART_WAKEUPMETHOD (   __WAKEUP__)
Value:
(((__WAKEUP__) == UART_WAKEUPMETHOD_IDLELINE) || \
((__WAKEUP__) == UART_WAKEUPMETHOD_ADDRESSMARK))

Ensure that UART wake-up method is valid.

Parameters
<strong>WAKEUP</strong>UART wake-up method .
Return values
SET(WAKEUP is valid) or RESET (WAKEUP is invalid)

Definition at line 1426 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ IS_UART_WAKEUPMETHOD [4/4]

#define IS_UART_WAKEUPMETHOD (   WAKEUP)
Value:
(((WAKEUP) == UART_WAKEUPMETHOD_IDLELINE) || \

Definition at line 796 of file stm32f4xx_hal_uart.h.

◆ IS_UART_WORD_LENGTH

#define IS_UART_WORD_LENGTH (   LENGTH)
Value:
(((LENGTH) == UART_WORDLENGTH_8B) || \
((LENGTH) == UART_WORDLENGTH_9B))

Definition at line 775 of file stm32f4xx_hal_uart.h.

◆ UART_BRR_SAMPLING16

#define UART_BRR_SAMPLING16 (   _PCLK_,
  _BAUD_ 
)
Value:
((UART_DIVMANT_SAMPLING16((_PCLK_), (_BAUD_)) << 4U) + \
(UART_DIVFRAQ_SAMPLING16((_PCLK_), (_BAUD_)) & 0xF0U) + \
(UART_DIVFRAQ_SAMPLING16((_PCLK_), (_BAUD_)) & 0x0FU))

Definition at line 806 of file stm32f4xx_hal_uart.h.

◆ UART_BRR_SAMPLING8

#define UART_BRR_SAMPLING8 (   _PCLK_,
  _BAUD_ 
)
Value:
((UART_DIVMANT_SAMPLING8((_PCLK_), (_BAUD_)) << 4U) + \
((UART_DIVFRAQ_SAMPLING8((_PCLK_), (_BAUD_)) & 0xF8U) << 1U) + \
(UART_DIVFRAQ_SAMPLING8((_PCLK_), (_BAUD_)) & 0x07U))

Definition at line 815 of file stm32f4xx_hal_uart.h.

◆ UART_DIV_LPUART [1/2]

#define UART_DIV_LPUART (   __PCLK__,
  __BAUD__,
  __CLOCKPRESCALER__ 
)
Value:
((uint32_t)((((((uint64_t)(__PCLK__))/(UARTPrescTable[(__CLOCKPRESCALER__)]))*256U)\
+ (uint32_t)((__BAUD__)/2U)) / (__BAUD__)))

BRR division operation to set BRR register with LPUART.

Parameters
<strong>PCLK</strong>LPUART clock.
<strong>BAUD</strong>Baud rate set by the user.
<strong>CLOCKPRESCALER</strong>UART prescaler value.
Return values
Divisionresult

Definition at line 1180 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ UART_DIV_LPUART [2/2]

#define UART_DIV_LPUART (   __PCLK__,
  __BAUD__,
  __CLOCKPRESCALER__ 
)
Value:
((uint32_t)((((((uint64_t)(__PCLK__))/(UARTPrescTable[(__CLOCKPRESCALER__)]))*256U)+ \
(uint32_t)((__BAUD__)/2U)) / (__BAUD__)) \
)

BRR division operation to set BRR register with LPUART.

Parameters
<strong>PCLK</strong>LPUART clock.
<strong>BAUD</strong>Baud rate set by the user.
<strong>CLOCKPRESCALER</strong>UART prescaler value.
Return values
Divisionresult

Definition at line 1238 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ UART_DIV_SAMPLING16 [1/4]

#define UART_DIV_SAMPLING16 (   __PCLK__,
  __BAUD__ 
)    (((__PCLK__) + ((__BAUD__)/2U)) / (__BAUD__))

BRR division operation to set BRR register in 16-bit oversampling mode.

Parameters
<strong>PCLK</strong>UART clock.
<strong>BAUD</strong>Baud rate set by the user.
Return values
Divisionresult

Definition at line 1106 of file stm32f7xx_hal_uart.h.

◆ UART_DIV_SAMPLING16 [2/4]

#define UART_DIV_SAMPLING16 (   __PCLK__,
  __BAUD__,
  __CLOCKPRESCALER__ 
)
Value:
((((__PCLK__)/UARTPrescTable[(__CLOCKPRESCALER__)])\
+ ((__BAUD__)/2U)) / (__BAUD__))

BRR division operation to set BRR register in 16-bit oversampling mode.

Parameters
<strong>PCLK</strong>UART clock.
<strong>BAUD</strong>Baud rate set by the user.
<strong>CLOCKPRESCALER</strong>UART prescaler value.
Return values
Divisionresult

Definition at line 1198 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ UART_DIV_SAMPLING16 [3/4]

#define UART_DIV_SAMPLING16 (   __PCLK__,
  __BAUD__,
  __CLOCKPRESCALER__ 
)    ((((__PCLK__)/UARTPrescTable[(__CLOCKPRESCALER__)]) + ((__BAUD__)/2U)) / (__BAUD__))

BRR division operation to set BRR register in 16-bit oversampling mode.

Parameters
<strong>PCLK</strong>UART clock.
<strong>BAUD</strong>Baud rate set by the user.
<strong>CLOCKPRESCALER</strong>UART prescaler value.
Return values
Divisionresult

Definition at line 1258 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ UART_DIV_SAMPLING16 [4/4]

#define UART_DIV_SAMPLING16 (   _PCLK_,
  _BAUD_ 
)    ((uint32_t)((((uint64_t)(_PCLK_))*25U)/(4U*((uint64_t)(_BAUD_)))))

Definition at line 801 of file stm32f4xx_hal_uart.h.

◆ UART_DIV_SAMPLING8 [1/4]

#define UART_DIV_SAMPLING8 (   __PCLK__,
  __BAUD__ 
)    ((((__PCLK__)*2U) + ((__BAUD__)/2U)) / (__BAUD__))

BRR division operation to set BRR register in 8-bit oversampling mode.

Parameters
<strong>PCLK</strong>UART clock.
<strong>BAUD</strong>Baud rate set by the user.
Return values
Divisionresult

Definition at line 1099 of file stm32f7xx_hal_uart.h.

◆ UART_DIV_SAMPLING8 [2/4]

#define UART_DIV_SAMPLING8 (   __PCLK__,
  __BAUD__,
  __CLOCKPRESCALER__ 
)
Value:
(((((__PCLK__)/UARTPrescTable[(__CLOCKPRESCALER__)])*2U)\
+ ((__BAUD__)/2U)) / (__BAUD__))

BRR division operation to set BRR register in 8-bit oversampling mode.

Parameters
<strong>PCLK</strong>UART clock.
<strong>BAUD</strong>Baud rate set by the user.
<strong>CLOCKPRESCALER</strong>UART prescaler value.
Return values
Divisionresult

Definition at line 1189 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ UART_DIV_SAMPLING8 [3/4]

#define UART_DIV_SAMPLING8 (   __PCLK__,
  __BAUD__,
  __CLOCKPRESCALER__ 
)    (((((__PCLK__)/UARTPrescTable[(__CLOCKPRESCALER__)])*2U) + ((__BAUD__)/2U)) / (__BAUD__))

BRR division operation to set BRR register in 8-bit oversampling mode.

Parameters
<strong>PCLK</strong>UART clock.
<strong>BAUD</strong>Baud rate set by the user.
<strong>CLOCKPRESCALER</strong>UART prescaler value.
Return values
Divisionresult

Definition at line 1249 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ UART_DIV_SAMPLING8 [4/4]

#define UART_DIV_SAMPLING8 (   _PCLK_,
  _BAUD_ 
)    ((uint32_t)((((uint64_t)(_PCLK_))*25U)/(2U*((uint64_t)(_BAUD_)))))

Definition at line 810 of file stm32f4xx_hal_uart.h.

◆ UART_DIVFRAQ_SAMPLING16

#define UART_DIVFRAQ_SAMPLING16 (   _PCLK_,
  _BAUD_ 
)    ((((UART_DIV_SAMPLING16((_PCLK_), (_BAUD_)) - (UART_DIVMANT_SAMPLING16((_PCLK_), (_BAUD_)) * 100U)) * 16U) + 50U) / 100U)

Definition at line 803 of file stm32f4xx_hal_uart.h.

◆ UART_DIVFRAQ_SAMPLING8

#define UART_DIVFRAQ_SAMPLING8 (   _PCLK_,
  _BAUD_ 
)    ((((UART_DIV_SAMPLING8((_PCLK_), (_BAUD_)) - (UART_DIVMANT_SAMPLING8((_PCLK_), (_BAUD_)) * 100U)) * 8U) + 50U) / 100U)

Definition at line 812 of file stm32f4xx_hal_uart.h.

◆ UART_DIVMANT_SAMPLING16

#define UART_DIVMANT_SAMPLING16 (   _PCLK_,
  _BAUD_ 
)    (UART_DIV_SAMPLING16((_PCLK_), (_BAUD_))/100U)

Definition at line 802 of file stm32f4xx_hal_uart.h.

◆ UART_DIVMANT_SAMPLING8

#define UART_DIVMANT_SAMPLING8 (   _PCLK_,
  _BAUD_ 
)    (UART_DIV_SAMPLING8((_PCLK_), (_BAUD_))/100U)

Definition at line 811 of file stm32f4xx_hal_uart.h.

◆ UART_GET_DIV_FACTOR [1/2]

#define UART_GET_DIV_FACTOR (   __CLOCKPRESCALER__)
Value:
(((__CLOCKPRESCALER__) == UART_PRESCALER_DIV1) ? 1U : \
((__CLOCKPRESCALER__) == UART_PRESCALER_DIV2) ? 2U : \
((__CLOCKPRESCALER__) == UART_PRESCALER_DIV4) ? 4U : \
((__CLOCKPRESCALER__) == UART_PRESCALER_DIV6) ? 6U : \
((__CLOCKPRESCALER__) == UART_PRESCALER_DIV8) ? 8U : \
((__CLOCKPRESCALER__) == UART_PRESCALER_DIV10) ? 10U : \
((__CLOCKPRESCALER__) == UART_PRESCALER_DIV12) ? 12U : \
((__CLOCKPRESCALER__) == UART_PRESCALER_DIV16) ? 16U : \
((__CLOCKPRESCALER__) == UART_PRESCALER_DIV32) ? 32U : \
((__CLOCKPRESCALER__) == UART_PRESCALER_DIV64) ? 64U : \
((__CLOCKPRESCALER__) == UART_PRESCALER_DIV128) ? 128U : \
((__CLOCKPRESCALER__) == UART_PRESCALER_DIV256) ? 256U : 1U)

Get UART clok division factor from clock prescaler value.

Parameters
<strong>CLOCKPRESCALER</strong>UART prescaler value.
Return values
UARTclock division factor

Definition at line 1159 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ UART_GET_DIV_FACTOR [2/2]

#define UART_GET_DIV_FACTOR (   __CLOCKPRESCALER__)
Value:
(((__CLOCKPRESCALER__) == UART_PRESCALER_DIV1) ? 1U : \
((__CLOCKPRESCALER__) == UART_PRESCALER_DIV2) ? 2U : \
((__CLOCKPRESCALER__) == UART_PRESCALER_DIV4) ? 4U : \
((__CLOCKPRESCALER__) == UART_PRESCALER_DIV6) ? 6U : \
((__CLOCKPRESCALER__) == UART_PRESCALER_DIV8) ? 8U : \
((__CLOCKPRESCALER__) == UART_PRESCALER_DIV10) ? 10U : \
((__CLOCKPRESCALER__) == UART_PRESCALER_DIV12) ? 12U : \
((__CLOCKPRESCALER__) == UART_PRESCALER_DIV16) ? 16U : \
((__CLOCKPRESCALER__) == UART_PRESCALER_DIV32) ? 32U : \
((__CLOCKPRESCALER__) == UART_PRESCALER_DIV64) ? 64U : \
((__CLOCKPRESCALER__) == UART_PRESCALER_DIV128) ? 128U : \
((__CLOCKPRESCALER__) == UART_PRESCALER_DIV256) ? 256U : 1U)

Get UART clok division factor from clock prescaler value.

Parameters
<strong>CLOCKPRESCALER</strong>UART prescaler value.
Return values
UARTclock division factor

Definition at line 1218 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ UART_INSTANCE_LOWPOWER [1/2]

#define UART_INSTANCE_LOWPOWER (   __HANDLE__)    (IS_LPUART_INSTANCE((__HANDLE__)->Instance))

Check whether or not UART instance is Low Power UART.

Parameters
<strong>HANDLE</strong>specifies the UART Handle.
Return values
SET(instance is LPUART) or RESET (instance isn't LPUART)

Definition at line 1205 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

◆ UART_INSTANCE_LOWPOWER [2/2]

#define UART_INSTANCE_LOWPOWER (   __HANDLE__)    (IS_LPUART_INSTANCE((__HANDLE__)->Instance))

Check whether or not UART instance is Low Power UART.

Parameters
<strong>HANDLE</strong>specifies the UART Handle.
Return values
SET(instance is LPUART) or RESET (instance isn't LPUART)

Definition at line 1265 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.

UART_PARITY_ODD
#define UART_PARITY_ODD
Definition: stm32f7xx_hal_uart.h:338
UART_ADVFEATURE_AUTOBAUDRATE_ENABLE
#define UART_ADVFEATURE_AUTOBAUDRATE_ENABLE
Definition: stm32f7xx_hal_uart.h:542
UART_ADVFEATURE_TXINV_ENABLE
#define UART_ADVFEATURE_TXINV_ENABLE
Definition: stm32f7xx_hal_uart.h:497
UART_RECEIVER_TIMEOUT_ENABLE
#define UART_RECEIVER_TIMEOUT_ENABLE
Definition: stm32f7xx_hal_uart.h:406
UART_ADVFEATURE_RXINV_DISABLE
#define UART_ADVFEATURE_RXINV_DISABLE
Definition: stm32f7xx_hal_uart.h:505
UART_ADVFEATURE_SWAP_ENABLE
#define UART_ADVFEATURE_SWAP_ENABLE
Definition: stm32f7xx_hal_uart.h:524
UART_STOPBITS_0_5
#define UART_STOPBITS_0_5
Definition: stm32f7xx_hal_uart.h:325
UART_LIN_DISABLE
#define UART_LIN_DISABLE
Definition: stm32f7xx_hal_uart.h:414
UART_STOPBITS_2
#define UART_STOPBITS_2
Definition: stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h:350
UARTPrescTable
const uint16_t UARTPrescTable[12]
UART_WAKEUPMETHOD_ADDRESSMARK
#define UART_WAKEUPMETHOD_ADDRESSMARK
Definition: stm32f7xx_hal_uart.h:460
UART_LINBREAKDETECTLENGTH_10B
#define UART_LINBREAKDETECTLENGTH_10B
Definition: stm32f7xx_hal_uart.h:423
UART_ADVFEATURE_AUTOBAUDRATE_ONFALLINGEDGE
#define UART_ADVFEATURE_AUTOBAUDRATE_ONFALLINGEDGE
Definition: stm32f7xx_hal_uart.h:395
UART_ADVFEATURE_AUTOBAUDRATE_ON0X7FFRAME
#define UART_ADVFEATURE_AUTOBAUDRATE_ON0X7FFRAME
Definition: stm32f7xx_hal_uart.h:396
UART_PRESCALER_DIV2
#define UART_PRESCALER_DIV2
Definition: stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h:417
UART_STATE_DISABLE
#define UART_STATE_DISABLE
Definition: stm32f7xx_hal_uart.h:367
UART_PRESCALER_DIV10
#define UART_PRESCALER_DIV10
Definition: stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h:421
UART_PRESCALER_DIV256
#define UART_PRESCALER_DIV256
Definition: stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h:427
UART_ADVFEATURE_MSBFIRST_INIT
#define UART_ADVFEATURE_MSBFIRST_INIT
Definition: stm32f7xx_hal_uart.h:488
UART_WAKEUP_ON_ADDRESS
#define UART_WAKEUP_ON_ADDRESS
Definition: stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h:635
UART_PRESCALER_DIV16
#define UART_PRESCALER_DIV16
Definition: stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h:423
UART_LIN_ENABLE
#define UART_LIN_ENABLE
Definition: stm32f7xx_hal_uart.h:415
UART_PRESCALER_DIV4
#define UART_PRESCALER_DIV4
Definition: stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h:418
UART_ADVFEATURE_AUTOBAUDRATE_ONSTARTBIT
#define UART_ADVFEATURE_AUTOBAUDRATE_ONSTARTBIT
Definition: stm32f7xx_hal_uart.h:394
UART_DE_POLARITY_HIGH
#define UART_DE_POLARITY_HIGH
Definition: stm32f7xx_hal_uart.h:608
UART_DMA_RX_DISABLE
#define UART_DMA_RX_DISABLE
Definition: stm32f7xx_hal_uart.h:441
UART_ADVFEATURE_NO_INIT
#define UART_ADVFEATURE_NO_INIT
Definition: stm32f7xx_hal_uart.h:480
UART_ONE_BIT_SAMPLE_DISABLE
#define UART_ONE_BIT_SAMPLE_DISABLE
Definition: stm32f7xx_hal_uart.h:385
UART_PRESCALER_DIV64
#define UART_PRESCALER_DIV64
Definition: stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h:425
UART_ADVFEATURE_AUTOBAUDRATE_ON0X55FRAME
#define UART_ADVFEATURE_AUTOBAUDRATE_ON0X55FRAME
Definition: stm32f7xx_hal_uart.h:397
UART_ADVFEATURE_RXINVERT_INIT
#define UART_ADVFEATURE_RXINVERT_INIT
Definition: stm32f7xx_hal_uart.h:482
UART_DIVFRAQ_SAMPLING16
#define UART_DIVFRAQ_SAMPLING16(_PCLK_, _BAUD_)
Definition: stm32f4xx_hal_uart.h:803
UART_RECEIVER_TIMEOUT_DISABLE
#define UART_RECEIVER_TIMEOUT_DISABLE
Definition: stm32f7xx_hal_uart.h:405
UART_WORDLENGTH_9B
#define UART_WORDLENGTH_9B
Definition: stm32f4xx_hal_uart.h:248
UART_WAKEUP_ON_READDATA_NONEMPTY
#define UART_WAKEUP_ON_READDATA_NONEMPTY
Definition: stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h:637
UART_STATE_ENABLE
#define UART_STATE_ENABLE
Definition: stm32f7xx_hal_uart.h:368
UART_ADVFEATURE_DMA_ENABLEONRXERROR
#define UART_ADVFEATURE_DMA_ENABLEONRXERROR
Definition: stm32f7xx_hal_uart.h:550
UART_WAKEUPMETHOD_IDLELINE
#define UART_WAKEUPMETHOD_IDLELINE
Definition: stm32f4xx_hal_uart.h:323
UART_LINBREAKDETECTLENGTH_10B
#define UART_LINBREAKDETECTLENGTH_10B
Definition: stm32f4xx_hal_uart.h:314
UART_DIVMANT_SAMPLING8
#define UART_DIVMANT_SAMPLING8(_PCLK_, _BAUD_)
Definition: stm32f4xx_hal_uart.h:811
UART_ADVFEATURE_RXINV_ENABLE
#define UART_ADVFEATURE_RXINV_ENABLE
Definition: stm32f7xx_hal_uart.h:506
UART_ADVFEATURE_DATAINVERT_INIT
#define UART_ADVFEATURE_DATAINVERT_INIT
Definition: stm32f7xx_hal_uart.h:483
UART_ADVFEATURE_DMA_DISABLEONRXERROR
#define UART_ADVFEATURE_DMA_DISABLEONRXERROR
Definition: stm32f7xx_hal_uart.h:551
UART_HWCONTROL_NONE
#define UART_HWCONTROL_NONE
Definition: stm32f7xx_hal_uart.h:346
UART_OVERSAMPLING_8
#define UART_OVERSAMPLING_8
Definition: stm32f7xx_hal_uart.h:377
UART_PARITY_EVEN
#define UART_PARITY_EVEN
Definition: stm32f7xx_hal_uart.h:337
UART_DE_POLARITY_LOW
#define UART_DE_POLARITY_LOW
Definition: stm32f7xx_hal_uart.h:609
UART_ADVFEATURE_SWAP_DISABLE
#define UART_ADVFEATURE_SWAP_DISABLE
Definition: stm32f7xx_hal_uart.h:523
UART_ADVFEATURE_STOPMODE_DISABLE
#define UART_ADVFEATURE_STOPMODE_DISABLE
Definition: stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h:609
UART_HALF_DUPLEX_ENABLE
#define UART_HALF_DUPLEX_ENABLE
Definition: stm32f7xx_hal_uart.h:451
UART_WAKEUP_ON_STARTBIT
#define UART_WAKEUP_ON_STARTBIT
Definition: stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h:636
UART_DIVMANT_SAMPLING16
#define UART_DIVMANT_SAMPLING16(_PCLK_, _BAUD_)
Definition: stm32f4xx_hal_uart.h:802
UART_PRESCALER_DIV12
#define UART_PRESCALER_DIV12
Definition: stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h:422
UART_STOPBITS_1_5
#define UART_STOPBITS_1_5
Definition: stm32f7xx_hal_uart.h:327
UART_LINBREAKDETECTLENGTH_11B
#define UART_LINBREAKDETECTLENGTH_11B
Definition: stm32f4xx_hal_uart.h:315
UART_MUTE_MODE_REQUEST
#define UART_MUTE_MODE_REQUEST
Definition: stm32f7xx_hal_uart.h:470
UART_HWCONTROL_CTS
#define UART_HWCONTROL_CTS
Definition: stm32f7xx_hal_uart.h:348
UART_HWCONTROL_RTS_CTS
#define UART_HWCONTROL_RTS_CTS
Definition: stm32f7xx_hal_uart.h:349
UART_ADVFEATURE_DATAINV_DISABLE
#define UART_ADVFEATURE_DATAINV_DISABLE
Definition: stm32f7xx_hal_uart.h:514
UARTPrescTable
const uint16_t UARTPrescTable[12]
UART_WORDLENGTH_8B
#define UART_WORDLENGTH_8B
Definition: stm32f4xx_hal_uart.h:247
UART_ADVFEATURE_DATAINV_ENABLE
#define UART_ADVFEATURE_DATAINV_ENABLE
Definition: stm32f7xx_hal_uart.h:515
UART_DMA_RX_ENABLE
#define UART_DMA_RX_ENABLE
Definition: stm32f7xx_hal_uart.h:442
UART_HALF_DUPLEX_DISABLE
#define UART_HALF_DUPLEX_DISABLE
Definition: stm32f7xx_hal_uart.h:450
UART_ADVFEATURE_DMADISABLEONERROR_INIT
#define UART_ADVFEATURE_DMADISABLEONERROR_INIT
Definition: stm32f7xx_hal_uart.h:486
UART_PRESCALER_DIV128
#define UART_PRESCALER_DIV128
Definition: stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h:426
UART_DMA_TX_DISABLE
#define UART_DMA_TX_DISABLE
Definition: stm32f7xx_hal_uart.h:432
UART_TXDATA_FLUSH_REQUEST
#define UART_TXDATA_FLUSH_REQUEST
Definition: stm32f7xx_hal_uart.h:472
UART_WAKEUPMETHOD_ADDRESSMARK
#define UART_WAKEUPMETHOD_ADDRESSMARK
Definition: stm32f4xx_hal_uart.h:324
UART_ADVFEATURE_OVERRUN_ENABLE
#define UART_ADVFEATURE_OVERRUN_ENABLE
Definition: stm32f7xx_hal_uart.h:532
UART_ADVFEATURE_TXINVERT_INIT
#define UART_ADVFEATURE_TXINVERT_INIT
Definition: stm32f7xx_hal_uart.h:481
UART_DMA_TX_ENABLE
#define UART_DMA_TX_ENABLE
Definition: stm32f7xx_hal_uart.h:433
UART_ONE_BIT_SAMPLE_ENABLE
#define UART_ONE_BIT_SAMPLE_ENABLE
Definition: stm32f7xx_hal_uart.h:386
UART_RXDATA_FLUSH_REQUEST
#define UART_RXDATA_FLUSH_REQUEST
Definition: stm32f7xx_hal_uart.h:471
UART_HWCONTROL_RTS
#define UART_HWCONTROL_RTS
Definition: stm32f7xx_hal_uart.h:347
UART_PRESCALER_DIV1
#define UART_PRESCALER_DIV1
Definition: stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h:416
UART_PRESCALER_DIV6
#define UART_PRESCALER_DIV6
Definition: stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h:419
UART_OVERSAMPLING_16
#define UART_OVERSAMPLING_16
Definition: stm32f7xx_hal_uart.h:376
UART_ADVFEATURE_MSBFIRST_ENABLE
#define UART_ADVFEATURE_MSBFIRST_ENABLE
Definition: stm32f7xx_hal_uart.h:560
UART_WAKEUPMETHOD_IDLELINE
#define UART_WAKEUPMETHOD_IDLELINE
Definition: stm32f7xx_hal_uart.h:459
UART_PARITY_NONE
#define UART_PARITY_NONE
Definition: stm32f7xx_hal_uart.h:336
UART_ADVFEATURE_RXOVERRUNDISABLE_INIT
#define UART_ADVFEATURE_RXOVERRUNDISABLE_INIT
Definition: stm32f7xx_hal_uart.h:485
UART_ADVFEATURE_MUTEMODE_DISABLE
#define UART_ADVFEATURE_MUTEMODE_DISABLE
Definition: stm32f7xx_hal_uart.h:579
UART_DIVFRAQ_SAMPLING8
#define UART_DIVFRAQ_SAMPLING8(_PCLK_, _BAUD_)
Definition: stm32f4xx_hal_uart.h:812
UART_ADVFEATURE_AUTOBAUDRATE_DISABLE
#define UART_ADVFEATURE_AUTOBAUDRATE_DISABLE
Definition: stm32f7xx_hal_uart.h:541
UART_ADVFEATURE_OVERRUN_DISABLE
#define UART_ADVFEATURE_OVERRUN_DISABLE
Definition: stm32f7xx_hal_uart.h:533
UART_LINBREAKDETECTLENGTH_11B
#define UART_LINBREAKDETECTLENGTH_11B
Definition: stm32f7xx_hal_uart.h:424
UART_ADVFEATURE_SWAP_INIT
#define UART_ADVFEATURE_SWAP_INIT
Definition: stm32f7xx_hal_uart.h:484
UART_PRESCALER_DIV8
#define UART_PRESCALER_DIV8
Definition: stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h:420
UART_PRESCALER_DIV32
#define UART_PRESCALER_DIV32
Definition: stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h:424
UART_ADVFEATURE_STOPMODE_ENABLE
#define UART_ADVFEATURE_STOPMODE_ENABLE
Definition: stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h:610
UART_SENDBREAK_REQUEST
#define UART_SENDBREAK_REQUEST
Definition: stm32f7xx_hal_uart.h:469
UART_ADVFEATURE_TXINV_DISABLE
#define UART_ADVFEATURE_TXINV_DISABLE
Definition: stm32f7xx_hal_uart.h:496
UART_ADVFEATURE_AUTOBAUDRATE_INIT
#define UART_ADVFEATURE_AUTOBAUDRATE_INIT
Definition: stm32f7xx_hal_uart.h:487
UART_ADVFEATURE_MUTEMODE_ENABLE
#define UART_ADVFEATURE_MUTEMODE_ENABLE
Definition: stm32f7xx_hal_uart.h:580
UART_STOPBITS_1
#define UART_STOPBITS_1
Definition: stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h:348
UART_AUTOBAUD_REQUEST
#define UART_AUTOBAUD_REQUEST
Definition: stm32f7xx_hal_uart.h:468
UART_ADVFEATURE_MSBFIRST_DISABLE
#define UART_ADVFEATURE_MSBFIRST_DISABLE
Definition: stm32f7xx_hal_uart.h:559


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:08