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... | |
#define IS_LPUART_STOPBITS | ( | __STOPBITS__ | ) |
Ensure that LPUART frame number of stop bits is valid.
<strong>STOPBITS</strong> | LPUART frame number of stop bits. |
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.
#define IS_LPUART_STOPBITS | ( | __STOPBITS__ | ) |
Ensure that LPUART frame number of stop bits is valid.
<strong>STOPBITS</strong> | LPUART frame number of stop bits. |
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.
#define IS_UART_ADDRESS | ( | ADDRESS | ) | ((ADDRESS) <= 0x0FU) |
Definition at line 799 of file stm32f4xx_hal_uart.h.
#define IS_UART_ADVFEATURE_AUTOBAUDRATE | ( | __AUTOBAUDRATE__ | ) |
Ensure that UART auto Baud rate state is valid.
<strong>AUTOBAUDRATE</strong> | UART auto Baud rate state. |
SET | (AUTOBAUDRATE is valid) or RESET (AUTOBAUDRATE is invalid) |
Definition at line 1335 of file stm32f7xx_hal_uart.h.
#define IS_UART_ADVFEATURE_AUTOBAUDRATE | ( | __AUTOBAUDRATE__ | ) |
Ensure that UART auto Baud rate state is valid.
<strong>AUTOBAUDRATE</strong> | UART auto Baud rate state. |
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.
#define IS_UART_ADVFEATURE_AUTOBAUDRATE | ( | __AUTOBAUDRATE__ | ) |
Ensure that UART auto Baud rate state is valid.
<strong>AUTOBAUDRATE</strong> | UART auto Baud rate state. |
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.
#define IS_UART_ADVFEATURE_AUTOBAUDRATEMODE | ( | __MODE__ | ) |
Ensure that UART auto Baud rate detection mode is valid.
<strong>MODE</strong> | UART auto Baud rate detection mode. |
SET | (MODE is valid) or RESET (MODE is invalid) |
Definition at line 1196 of file stm32f7xx_hal_uart.h.
#define IS_UART_ADVFEATURE_AUTOBAUDRATEMODE | ( | __MODE__ | ) |
Ensure that UART auto Baud rate detection mode is valid.
<strong>MODE</strong> | UART auto Baud rate detection mode. |
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.
#define IS_UART_ADVFEATURE_AUTOBAUDRATEMODE | ( | __MODE__ | ) |
Ensure that UART auto Baud rate detection mode is valid.
<strong>MODE</strong> | UART auto Baud rate detection mode. |
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.
#define IS_UART_ADVFEATURE_DATAINV | ( | __DATAINV__ | ) |
Ensure that UART frame data inversion setting is valid.
<strong>DATAINV</strong> | UART frame data inversion setting. |
SET | (DATAINV is valid) or RESET (DATAINV is invalid) |
Definition at line 1311 of file stm32f7xx_hal_uart.h.
#define IS_UART_ADVFEATURE_DATAINV | ( | __DATAINV__ | ) |
Ensure that UART frame data inversion setting is valid.
<strong>DATAINV</strong> | UART frame data inversion setting. |
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.
#define IS_UART_ADVFEATURE_DATAINV | ( | __DATAINV__ | ) |
Ensure that UART frame data inversion setting is valid.
<strong>DATAINV</strong> | UART frame data inversion setting. |
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.
#define IS_UART_ADVFEATURE_DMAONRXERROR | ( | __DMA__ | ) |
Ensure that UART DMA enabling or disabling on error setting is valid.
<strong>DMA</strong> | UART DMA enabling or disabling on error setting. |
SET | (DMA is valid) or RESET (DMA is invalid) |
Definition at line 1343 of file stm32f7xx_hal_uart.h.
#define IS_UART_ADVFEATURE_DMAONRXERROR | ( | __DMA__ | ) |
Ensure that UART DMA enabling or disabling on error setting is valid.
<strong>DMA</strong> | UART DMA enabling or disabling on error setting. |
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.
#define IS_UART_ADVFEATURE_DMAONRXERROR | ( | __DMA__ | ) |
Ensure that UART DMA enabling or disabling on error setting is valid.
<strong>DMA</strong> | UART DMA enabling or disabling on error setting. |
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.
#define IS_UART_ADVFEATURE_INIT | ( | __INIT__ | ) |
Ensure that UART advanced features initialization is valid.
<strong>INIT</strong> | UART advanced features initialization. |
SET | (INIT is valid) or RESET (INIT is invalid) |
Definition at line 1280 of file stm32f7xx_hal_uart.h.
#define IS_UART_ADVFEATURE_INIT | ( | __INIT__ | ) |
Ensure that UART advanced features initialization is valid.
<strong>INIT</strong> | UART advanced features initialization. |
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.
#define IS_UART_ADVFEATURE_INIT | ( | __INIT__ | ) |
Ensure that UART advanced features initialization is valid.
<strong>INIT</strong> | UART advanced features initialization. |
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.
#define IS_UART_ADVFEATURE_MSBFIRST | ( | __MSBFIRST__ | ) |
Ensure that UART frame MSB first setting is valid.
<strong>MSBFIRST</strong> | UART frame MSB first setting. |
SET | (MSBFIRST is valid) or RESET (MSBFIRST is invalid) |
Definition at line 1351 of file stm32f7xx_hal_uart.h.
#define IS_UART_ADVFEATURE_MSBFIRST | ( | __MSBFIRST__ | ) |
Ensure that UART frame MSB first setting is valid.
<strong>MSBFIRST</strong> | UART frame MSB first setting. |
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.
#define IS_UART_ADVFEATURE_MSBFIRST | ( | __MSBFIRST__ | ) |
Ensure that UART frame MSB first setting is valid.
<strong>MSBFIRST</strong> | UART frame MSB first setting. |
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.
#define IS_UART_ADVFEATURE_RXINV | ( | __RXINV__ | ) |
Ensure that UART frame RX inversion setting is valid.
<strong>RXINV</strong> | UART frame RX inversion setting. |
SET | (RXINV is valid) or RESET (RXINV is invalid) |
Definition at line 1303 of file stm32f7xx_hal_uart.h.
#define IS_UART_ADVFEATURE_RXINV | ( | __RXINV__ | ) |
Ensure that UART frame RX inversion setting is valid.
<strong>RXINV</strong> | UART frame RX inversion setting. |
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.
#define IS_UART_ADVFEATURE_RXINV | ( | __RXINV__ | ) |
Ensure that UART frame RX inversion setting is valid.
<strong>RXINV</strong> | UART frame RX inversion setting. |
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.
#define IS_UART_ADVFEATURE_STOPMODE | ( | __STOPMODE__ | ) |
Ensure that UART stop mode state is valid.
<strong>STOPMODE</strong> | UART stop mode state. |
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.
#define IS_UART_ADVFEATURE_STOPMODE | ( | __STOPMODE__ | ) |
Ensure that UART stop mode state is valid.
<strong>STOPMODE</strong> | UART stop mode state. |
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.
#define IS_UART_ADVFEATURE_SWAP | ( | __SWAP__ | ) |
Ensure that UART frame RX/TX pins swap setting is valid.
<strong>SWAP</strong> | UART frame RX/TX pins swap setting. |
SET | (SWAP is valid) or RESET (SWAP is invalid) |
Definition at line 1319 of file stm32f7xx_hal_uart.h.
#define IS_UART_ADVFEATURE_SWAP | ( | __SWAP__ | ) |
Ensure that UART frame RX/TX pins swap setting is valid.
<strong>SWAP</strong> | UART frame RX/TX pins swap setting. |
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.
#define IS_UART_ADVFEATURE_SWAP | ( | __SWAP__ | ) |
Ensure that UART frame RX/TX pins swap setting is valid.
<strong>SWAP</strong> | UART frame RX/TX pins swap setting. |
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.
#define IS_UART_ADVFEATURE_TXINV | ( | __TXINV__ | ) |
Ensure that UART frame TX inversion setting is valid.
<strong>TXINV</strong> | UART frame TX inversion setting. |
SET | (TXINV is valid) or RESET (TXINV is invalid) |
Definition at line 1295 of file stm32f7xx_hal_uart.h.
#define IS_UART_ADVFEATURE_TXINV | ( | __TXINV__ | ) |
Ensure that UART frame TX inversion setting is valid.
<strong>TXINV</strong> | UART frame TX inversion setting. |
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.
#define IS_UART_ADVFEATURE_TXINV | ( | __TXINV__ | ) |
Ensure that UART frame TX inversion setting is valid.
<strong>TXINV</strong> | UART frame TX inversion setting. |
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.
#define IS_UART_ASSERTIONTIME | ( | __TIME__ | ) | ((__TIME__) <= 0x1FU) |
Check UART assertion time.
<strong>TIME</strong> | 5-bit value assertion time. |
Test | result (TRUE or FALSE). |
Definition at line 1121 of file stm32f7xx_hal_uart.h.
#define IS_UART_ASSERTIONTIME | ( | __TIME__ | ) | ((__TIME__) <= 0x1FU) |
Check UART assertion time.
<strong>TIME</strong> | 5-bit value assertion time. |
Test | result (TRUE or FALSE). |
Definition at line 1219 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define IS_UART_ASSERTIONTIME | ( | __TIME__ | ) | ((__TIME__) <= 0x1FU) |
Check UART assertion time.
<strong>TIME</strong> | 5-bit value assertion time. |
Test | result (TRUE or FALSE). |
Definition at line 1279 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define IS_UART_BAUDRATE | ( | __BAUDRATE__ | ) | ((__BAUDRATE__) < 27000001U) |
Check UART Baud rate.
<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) |
SET | (BAUDRATE is valid) or RESET (BAUDRATE is invalid) |
Definition at line 1115 of file stm32f7xx_hal_uart.h.
#define IS_UART_BAUDRATE | ( | __BAUDRATE__ | ) | ((__BAUDRATE__) < 12500001U) |
Check UART Baud rate.
<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) |
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.
#define IS_UART_BAUDRATE | ( | __BAUDRATE__ | ) | ((__BAUDRATE__) < 12500001U) |
Check UART Baud rate.
<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) |
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.
#define IS_UART_BAUDRATE | ( | BAUDRATE | ) | ((BAUDRATE) <= 10500000U) |
Definition at line 798 of file stm32f4xx_hal_uart.h.
#define IS_UART_DE_POLARITY | ( | __POLARITY__ | ) |
Ensure that UART driver enable polarity is valid.
<strong>POLARITY</strong> | UART driver enable polarity. |
SET | (POLARITY is valid) or RESET (POLARITY is invalid) |
Definition at line 1388 of file stm32f7xx_hal_uart.h.
#define IS_UART_DE_POLARITY | ( | __POLARITY__ | ) |
Ensure that UART driver enable polarity is valid.
<strong>POLARITY</strong> | UART driver enable polarity. |
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.
#define IS_UART_DE_POLARITY | ( | __POLARITY__ | ) |
Ensure that UART driver enable polarity is valid.
<strong>POLARITY</strong> | UART driver enable polarity. |
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.
#define IS_UART_DEASSERTIONTIME | ( | __TIME__ | ) | ((__TIME__) <= 0x1FU) |
Check UART deassertion time.
<strong>TIME</strong> | 5-bit value deassertion time. |
Test | result (TRUE or FALSE). |
Definition at line 1127 of file stm32f7xx_hal_uart.h.
#define IS_UART_DEASSERTIONTIME | ( | __TIME__ | ) | ((__TIME__) <= 0x1FU) |
Check UART deassertion time.
<strong>TIME</strong> | 5-bit value deassertion time. |
Test | result (TRUE or FALSE). |
Definition at line 1225 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define IS_UART_DEASSERTIONTIME | ( | __TIME__ | ) | ((__TIME__) <= 0x1FU) |
Check UART deassertion time.
<strong>TIME</strong> | 5-bit value deassertion time. |
Test | result (TRUE or FALSE). |
Definition at line 1285 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define IS_UART_DMA_RX | ( | __DMARX__ | ) |
Ensure that UART DMA RX state is valid.
<strong>DMARX</strong> | UART DMA RX state. |
SET | (DMARX is valid) or RESET (DMARX is invalid) |
Definition at line 1245 of file stm32f7xx_hal_uart.h.
#define IS_UART_DMA_RX | ( | __DMARX__ | ) |
Ensure that UART DMA RX state is valid.
<strong>DMARX</strong> | UART DMA RX state. |
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.
#define IS_UART_DMA_RX | ( | __DMARX__ | ) |
Ensure that UART DMA RX state is valid.
<strong>DMARX</strong> | UART DMA RX state. |
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.
#define IS_UART_DMA_TX | ( | __DMATX__ | ) |
Ensure that UART DMA TX state is valid.
<strong>DMATX</strong> | UART DMA TX state. |
SET | (DMATX is valid) or RESET (DMATX is invalid) |
Definition at line 1237 of file stm32f7xx_hal_uart.h.
#define IS_UART_DMA_TX | ( | __DMATX__ | ) |
Ensure that UART DMA TX state is valid.
<strong>DMATX</strong> | UART DMA TX state. |
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.
#define IS_UART_DMA_TX | ( | __DMATX__ | ) |
Ensure that UART DMA TX state is valid.
<strong>DMATX</strong> | UART DMA TX state. |
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.
#define IS_UART_HALF_DUPLEX | ( | __HDSEL__ | ) |
Ensure that UART half-duplex state is valid.
<strong>HDSEL</strong> | UART half-duplex state. |
SET | (HDSEL is valid) or RESET (HDSEL is invalid) |
Definition at line 1253 of file stm32f7xx_hal_uart.h.
#define IS_UART_HALF_DUPLEX | ( | __HDSEL__ | ) |
Ensure that UART half-duplex state is valid.
<strong>HDSEL</strong> | UART half-duplex state. |
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.
#define IS_UART_HALF_DUPLEX | ( | __HDSEL__ | ) |
Ensure that UART half-duplex state is valid.
<strong>HDSEL</strong> | UART half-duplex state. |
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.
#define IS_UART_HARDWARE_FLOW_CONTROL | ( | __CONTROL__ | ) |
Ensure that UART hardware flow control is valid.
<strong>CONTROL</strong> | UART hardware flow control. |
SET | (CONTROL is valid) or RESET (CONTROL is invalid) |
Definition at line 1154 of file stm32f7xx_hal_uart.h.
#define IS_UART_HARDWARE_FLOW_CONTROL | ( | __CONTROL__ | ) |
Ensure that UART hardware flow control is valid.
<strong>CONTROL</strong> | UART hardware flow control. |
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.
#define IS_UART_HARDWARE_FLOW_CONTROL | ( | __CONTROL__ | ) |
Ensure that UART hardware flow control is valid.
<strong>CONTROL</strong> | UART hardware flow control. |
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.
#define IS_UART_HARDWARE_FLOW_CONTROL | ( | CONTROL | ) |
Definition at line 783 of file stm32f4xx_hal_uart.h.
#define IS_UART_LIN | ( | __LIN__ | ) |
Ensure that UART LIN state is valid.
<strong>LIN</strong> | UART LIN state. |
SET | (LIN is valid) or RESET (LIN is invalid) |
Definition at line 1221 of file stm32f7xx_hal_uart.h.
#define IS_UART_LIN | ( | __LIN__ | ) |
Ensure that UART LIN state is valid.
<strong>LIN</strong> | UART LIN state. |
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.
#define IS_UART_LIN | ( | __LIN__ | ) |
Ensure that UART LIN state is valid.
<strong>LIN</strong> | UART LIN state. |
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.
#define IS_UART_LIN_BREAK_DETECT_LENGTH | ( | __LENGTH__ | ) |
Ensure that UART LIN break detection length is valid.
<strong>LENGTH</strong> | UART LIN break detection length. |
SET | (LENGTH is valid) or RESET (LENGTH is invalid) |
Definition at line 1229 of file stm32f7xx_hal_uart.h.
#define IS_UART_LIN_BREAK_DETECT_LENGTH | ( | __LENGTH__ | ) |
Ensure that UART LIN break detection length is valid.
<strong>LENGTH</strong> | UART LIN break detection length. |
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.
#define IS_UART_LIN_BREAK_DETECT_LENGTH | ( | __LENGTH__ | ) |
Ensure that UART LIN break detection length is valid.
<strong>LENGTH</strong> | UART LIN break detection length. |
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.
#define IS_UART_LIN_BREAK_DETECT_LENGTH | ( | LENGTH | ) |
Definition at line 794 of file stm32f4xx_hal_uart.h.
#define IS_UART_LIN_OVERSAMPLING | ( | SAMPLING | ) | (((SAMPLING) == UART_OVERSAMPLING_16)) |
Definition at line 793 of file stm32f4xx_hal_uart.h.
#define IS_UART_LIN_WORD_LENGTH | ( | LENGTH | ) | (((LENGTH) == UART_WORDLENGTH_8B)) |
Definition at line 777 of file stm32f4xx_hal_uart.h.
#define IS_UART_MODE | ( | __MODE__ | ) | ((((__MODE__) & (~((uint32_t)(UART_MODE_TX_RX)))) == 0x00U) && ((__MODE__) != 0x00U)) |
Ensure that UART communication mode is valid.
<strong>MODE</strong> | UART communication mode. |
SET | (MODE is valid) or RESET (MODE is invalid) |
Definition at line 1165 of file stm32f7xx_hal_uart.h.
#define IS_UART_MODE | ( | __MODE__ | ) | ((((__MODE__) & (~((uint32_t)(UART_MODE_TX_RX)))) == 0x00U) && ((__MODE__) != 0x00U)) |
Ensure that UART communication mode is valid.
<strong>MODE</strong> | UART communication mode. |
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.
#define IS_UART_MODE | ( | __MODE__ | ) | ((((__MODE__) & (~((uint32_t)(UART_MODE_TX_RX)))) == 0x00U) && ((__MODE__) != 0x00U)) |
Ensure that UART communication mode is valid.
<strong>MODE</strong> | UART communication mode. |
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.
#define IS_UART_MODE | ( | MODE | ) | ((((MODE) & 0x0000FFF3U) == 0x00U) && ((MODE) != 0x00U)) |
Definition at line 788 of file stm32f4xx_hal_uart.h.
#define IS_UART_MUTE_MODE | ( | __MUTE__ | ) |
Ensure that UART mute mode state is valid.
<strong>MUTE</strong> | UART mute mode state. |
SET | (MUTE is valid) or RESET (MUTE is invalid) |
Definition at line 1369 of file stm32f7xx_hal_uart.h.
#define IS_UART_MUTE_MODE | ( | __MUTE__ | ) |
Ensure that UART mute mode state is valid.
<strong>MUTE</strong> | UART mute mode state. |
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.
#define IS_UART_MUTE_MODE | ( | __MUTE__ | ) |
Ensure that UART mute mode state is valid.
<strong>MUTE</strong> | UART mute mode state. |
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.
#define IS_UART_ONE_BIT_SAMPLE | ( | __ONEBIT__ | ) |
Ensure that UART frame sampling is valid.
<strong>ONEBIT</strong> | UART frame sampling. |
SET | (ONEBIT is valid) or RESET (ONEBIT is invalid) |
Definition at line 1188 of file stm32f7xx_hal_uart.h.
#define IS_UART_ONE_BIT_SAMPLE | ( | __ONEBIT__ | ) |
Ensure that UART frame sampling is valid.
<strong>ONEBIT</strong> | UART frame sampling. |
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.
#define IS_UART_ONE_BIT_SAMPLE | ( | __ONEBIT__ | ) |
Ensure that UART frame sampling is valid.
<strong>ONEBIT</strong> | UART frame sampling. |
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.
#define IS_UART_OVERRUN | ( | __OVERRUN__ | ) |
Ensure that UART frame overrun setting is valid.
<strong>OVERRUN</strong> | UART frame overrun setting. |
SET | (OVERRUN is valid) or RESET (OVERRUN is invalid) |
Definition at line 1327 of file stm32f7xx_hal_uart.h.
#define IS_UART_OVERRUN | ( | __OVERRUN__ | ) |
Ensure that UART frame overrun setting is valid.
<strong>OVERRUN</strong> | UART frame overrun setting. |
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.
#define IS_UART_OVERRUN | ( | __OVERRUN__ | ) |
Ensure that UART frame overrun setting is valid.
<strong>OVERRUN</strong> | UART frame overrun setting. |
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.
#define IS_UART_OVERSAMPLING | ( | __SAMPLING__ | ) |
Ensure that UART oversampling is valid.
<strong>SAMPLING</strong> | UART oversampling. |
SET | (SAMPLING is valid) or RESET (SAMPLING is invalid) |
Definition at line 1180 of file stm32f7xx_hal_uart.h.
#define IS_UART_OVERSAMPLING | ( | __SAMPLING__ | ) |
Ensure that UART oversampling is valid.
<strong>SAMPLING</strong> | UART oversampling. |
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.
#define IS_UART_OVERSAMPLING | ( | __SAMPLING__ | ) |
Ensure that UART oversampling is valid.
<strong>SAMPLING</strong> | UART oversampling. |
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.
#define IS_UART_OVERSAMPLING | ( | SAMPLING | ) |
Definition at line 791 of file stm32f4xx_hal_uart.h.
#define IS_UART_PARITY | ( | __PARITY__ | ) |
Ensure that UART frame parity is valid.
<strong>PARITY</strong> | UART frame parity. |
SET | (PARITY is valid) or RESET (PARITY is invalid) |
Definition at line 1145 of file stm32f7xx_hal_uart.h.
#define IS_UART_PARITY | ( | __PARITY__ | ) |
Ensure that UART frame parity is valid.
<strong>PARITY</strong> | UART frame parity. |
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.
#define IS_UART_PARITY | ( | __PARITY__ | ) |
Ensure that UART frame parity is valid.
<strong>PARITY</strong> | UART frame parity. |
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.
#define IS_UART_PARITY | ( | PARITY | ) |
Definition at line 780 of file stm32f4xx_hal_uart.h.
#define IS_UART_PRESCALER | ( | __CLOCKPRESCALER__ | ) |
Ensure that UART Prescaler is valid.
<strong>CLOCKPRESCALER</strong> | UART Prescaler value. |
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.
#define IS_UART_PRESCALER | ( | __CLOCKPRESCALER__ | ) |
Ensure that UART Prescaler is valid.
<strong>CLOCKPRESCALER</strong> | UART Prescaler value. |
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.
#define IS_UART_RECEIVER_TIMEOUT | ( | __TIMEOUT__ | ) |
Ensure that UART receiver timeout setting is valid.
<strong>TIMEOUT</strong> | UART receiver timeout setting. |
SET | (TIMEOUT is valid) or RESET (TIMEOUT is invalid) |
Definition at line 1206 of file stm32f7xx_hal_uart.h.
#define IS_UART_RECEIVER_TIMEOUT | ( | __TIMEOUT__ | ) |
Ensure that UART receiver timeout setting is valid.
<strong>TIMEOUT</strong> | UART receiver timeout setting. |
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.
#define IS_UART_RECEIVER_TIMEOUT | ( | __TIMEOUT__ | ) |
Ensure that UART receiver timeout setting is valid.
<strong>TIMEOUT</strong> | UART receiver timeout setting. |
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.
#define IS_UART_RECEIVER_TIMEOUT_VALUE | ( | __TIMEOUTVALUE__ | ) | ((__TIMEOUTVALUE__) <= 0xFFFFFFU) |
Check the receiver timeout value.
<strong>TIMEOUTVALUE</strong> | receiver timeout value. |
Test | result (TRUE or FALSE) |
Definition at line 1214 of file stm32f7xx_hal_uart.h.
#define IS_UART_RECEIVER_TIMEOUT_VALUE | ( | __TIMEOUTVALUE__ | ) | ((__TIMEOUTVALUE__) <= 0xFFFFFFU) |
Check the receiver timeout value.
<strong>TIMEOUTVALUE</strong> | receiver timeout value. |
Test | result (TRUE or FALSE) |
Definition at line 1319 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define IS_UART_RECEIVER_TIMEOUT_VALUE | ( | __TIMEOUTVALUE__ | ) | ((__TIMEOUTVALUE__) <= 0xFFFFFFU) |
Check the receiver timeout value.
<strong>TIMEOUTVALUE</strong> | receiver timeout value. |
Test | result (TRUE or FALSE) |
Definition at line 1379 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define IS_UART_REQUEST_PARAMETER | ( | __PARAM__ | ) |
Ensure that UART request parameter is valid.
<strong>PARAM</strong> | UART request parameter. |
SET | (PARAM is valid) or RESET (PARAM is invalid) |
Definition at line 1269 of file stm32f7xx_hal_uart.h.
#define IS_UART_REQUEST_PARAMETER | ( | __PARAM__ | ) |
Ensure that UART request parameter is valid.
<strong>PARAM</strong> | UART request parameter. |
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.
#define IS_UART_REQUEST_PARAMETER | ( | __PARAM__ | ) |
Ensure that UART request parameter is valid.
<strong>PARAM</strong> | UART request parameter. |
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.
#define IS_UART_STATE | ( | __STATE__ | ) |
Ensure that UART state is valid.
<strong>STATE</strong> | UART state. |
SET | (STATE is valid) or RESET (STATE is invalid) |
Definition at line 1172 of file stm32f7xx_hal_uart.h.
#define IS_UART_STATE | ( | __STATE__ | ) |
Ensure that UART state is valid.
<strong>STATE</strong> | UART state. |
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.
#define IS_UART_STATE | ( | __STATE__ | ) |
Ensure that UART state is valid.
<strong>STATE</strong> | UART state. |
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.
#define IS_UART_STATE | ( | STATE | ) |
Definition at line 789 of file stm32f4xx_hal_uart.h.
#define IS_UART_STOPBITS | ( | __STOPBITS__ | ) |
Ensure that UART frame number of stop bits is valid.
<strong>STOPBITS</strong> | UART frame number of stop bits. |
SET | (STOPBITS is valid) or RESET (STOPBITS is invalid) |
Definition at line 1134 of file stm32f7xx_hal_uart.h.
#define IS_UART_STOPBITS | ( | __STOPBITS__ | ) |
Ensure that UART frame number of stop bits is valid.
<strong>STOPBITS</strong> | UART frame number of stop bits. |
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.
#define IS_UART_STOPBITS | ( | __STOPBITS__ | ) |
Ensure that UART frame number of stop bits is valid.
<strong>STOPBITS</strong> | UART frame number of stop bits. |
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.
#define IS_UART_STOPBITS | ( | STOPBITS | ) |
Definition at line 778 of file stm32f4xx_hal_uart.h.
#define IS_UART_WAKEUP_SELECTION | ( | __WAKE__ | ) |
Ensure that UART wake-up selection is valid.
<strong>WAKE</strong> | UART wake-up selection. |
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.
#define IS_UART_WAKEUP_SELECTION | ( | __WAKE__ | ) |
Ensure that UART wake-up selection is valid.
<strong>WAKE</strong> | UART wake-up selection. |
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.
#define IS_UART_WAKEUPMETHOD | ( | __WAKEUP__ | ) |
Ensure that UART wake-up method is valid.
<strong>WAKEUP</strong> | UART wake-up method . |
SET | (WAKEUP is valid) or RESET (WAKEUP is invalid) |
Definition at line 1261 of file stm32f7xx_hal_uart.h.
#define IS_UART_WAKEUPMETHOD | ( | __WAKEUP__ | ) |
Ensure that UART wake-up method is valid.
<strong>WAKEUP</strong> | UART wake-up method . |
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.
#define IS_UART_WAKEUPMETHOD | ( | __WAKEUP__ | ) |
Ensure that UART wake-up method is valid.
<strong>WAKEUP</strong> | UART wake-up method . |
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.
#define IS_UART_WAKEUPMETHOD | ( | WAKEUP | ) |
Definition at line 796 of file stm32f4xx_hal_uart.h.
#define IS_UART_WORD_LENGTH | ( | LENGTH | ) |
Definition at line 775 of file stm32f4xx_hal_uart.h.
#define UART_BRR_SAMPLING16 | ( | _PCLK_, | |
_BAUD_ | |||
) |
Definition at line 806 of file stm32f4xx_hal_uart.h.
#define UART_BRR_SAMPLING8 | ( | _PCLK_, | |
_BAUD_ | |||
) |
Definition at line 815 of file stm32f4xx_hal_uart.h.
#define UART_DIV_LPUART | ( | __PCLK__, | |
__BAUD__, | |||
__CLOCKPRESCALER__ | |||
) |
BRR division operation to set BRR register with LPUART.
<strong>PCLK</strong> | LPUART clock. |
<strong>BAUD</strong> | Baud rate set by the user. |
<strong>CLOCKPRESCALER</strong> | UART prescaler value. |
Division | result |
Definition at line 1180 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define UART_DIV_LPUART | ( | __PCLK__, | |
__BAUD__, | |||
__CLOCKPRESCALER__ | |||
) |
BRR division operation to set BRR register with LPUART.
<strong>PCLK</strong> | LPUART clock. |
<strong>BAUD</strong> | Baud rate set by the user. |
<strong>CLOCKPRESCALER</strong> | UART prescaler value. |
Division | result |
Definition at line 1238 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define UART_DIV_SAMPLING16 | ( | __PCLK__, | |
__BAUD__ | |||
) | (((__PCLK__) + ((__BAUD__)/2U)) / (__BAUD__)) |
BRR division operation to set BRR register in 16-bit oversampling mode.
<strong>PCLK</strong> | UART clock. |
<strong>BAUD</strong> | Baud rate set by the user. |
Division | result |
Definition at line 1106 of file stm32f7xx_hal_uart.h.
#define UART_DIV_SAMPLING16 | ( | __PCLK__, | |
__BAUD__, | |||
__CLOCKPRESCALER__ | |||
) |
BRR division operation to set BRR register in 16-bit oversampling mode.
<strong>PCLK</strong> | UART clock. |
<strong>BAUD</strong> | Baud rate set by the user. |
<strong>CLOCKPRESCALER</strong> | UART prescaler value. |
Division | result |
Definition at line 1198 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#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.
<strong>PCLK</strong> | UART clock. |
<strong>BAUD</strong> | Baud rate set by the user. |
<strong>CLOCKPRESCALER</strong> | UART prescaler value. |
Division | result |
Definition at line 1258 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#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.
#define UART_DIV_SAMPLING8 | ( | __PCLK__, | |
__BAUD__ | |||
) | ((((__PCLK__)*2U) + ((__BAUD__)/2U)) / (__BAUD__)) |
BRR division operation to set BRR register in 8-bit oversampling mode.
<strong>PCLK</strong> | UART clock. |
<strong>BAUD</strong> | Baud rate set by the user. |
Division | result |
Definition at line 1099 of file stm32f7xx_hal_uart.h.
#define UART_DIV_SAMPLING8 | ( | __PCLK__, | |
__BAUD__, | |||
__CLOCKPRESCALER__ | |||
) |
BRR division operation to set BRR register in 8-bit oversampling mode.
<strong>PCLK</strong> | UART clock. |
<strong>BAUD</strong> | Baud rate set by the user. |
<strong>CLOCKPRESCALER</strong> | UART prescaler value. |
Division | result |
Definition at line 1189 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#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.
<strong>PCLK</strong> | UART clock. |
<strong>BAUD</strong> | Baud rate set by the user. |
<strong>CLOCKPRESCALER</strong> | UART prescaler value. |
Division | result |
Definition at line 1249 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#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.
#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.
#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.
#define UART_DIVMANT_SAMPLING16 | ( | _PCLK_, | |
_BAUD_ | |||
) | (UART_DIV_SAMPLING16((_PCLK_), (_BAUD_))/100U) |
Definition at line 802 of file stm32f4xx_hal_uart.h.
#define UART_DIVMANT_SAMPLING8 | ( | _PCLK_, | |
_BAUD_ | |||
) | (UART_DIV_SAMPLING8((_PCLK_), (_BAUD_))/100U) |
Definition at line 811 of file stm32f4xx_hal_uart.h.
#define UART_GET_DIV_FACTOR | ( | __CLOCKPRESCALER__ | ) |
Get UART clok division factor from clock prescaler value.
<strong>CLOCKPRESCALER</strong> | UART prescaler value. |
UART | clock division factor |
Definition at line 1159 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define UART_GET_DIV_FACTOR | ( | __CLOCKPRESCALER__ | ) |
Get UART clok division factor from clock prescaler value.
<strong>CLOCKPRESCALER</strong> | UART prescaler value. |
UART | clock division factor |
Definition at line 1218 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define UART_INSTANCE_LOWPOWER | ( | __HANDLE__ | ) | (IS_LPUART_INSTANCE((__HANDLE__)->Instance)) |
Check whether or not UART instance is Low Power UART.
<strong>HANDLE</strong> | specifies the UART Handle. |
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.
#define UART_INSTANCE_LOWPOWER | ( | __HANDLE__ | ) | (IS_LPUART_INSTANCE((__HANDLE__)->Instance)) |
Check whether or not UART instance is Low Power UART.
<strong>HANDLE</strong> | specifies the UART Handle. |
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.