![]() |
STM32F769IDiscovery
1.00
uDANTE Audio Networking with STM32F7 DISCO board
|
Macros | |
#define | UART_DIV_LPUART(_PCLK_, _BAUD_) ((((_PCLK_)*256)+((_BAUD_)/2))/((_BAUD_))) |
BRR division operation to set BRR register with LPUART. More... | |
#define | UART_DIV_SAMPLING8(_PCLK_, _BAUD_) ((((_PCLK_)*2)+((_BAUD_)/2))/((_BAUD_))) |
BRR division operation to set BRR register in 8-bit oversampling mode. More... | |
#define | UART_DIV_SAMPLING16(_PCLK_, _BAUD_) ((((_PCLK_))+((_BAUD_)/2))/((_BAUD_))) |
BRR division operation to set BRR register in 16-bit oversampling mode. More... | |
#define | IS_UART_BAUDRATE(BAUDRATE) ((BAUDRATE) < 9000001) |
Check UART Baud rate. More... | |
#define | IS_UART_ASSERTIONTIME(TIME) ((TIME) <= 0x1F) |
Check UART assertion time. More... | |
#define | IS_UART_DEASSERTIONTIME(TIME) ((TIME) <= 0x1F) |
Check UART deassertion time. More... | |
#define | IS_UART_STOPBITS(STOPBITS) |
#define | IS_UART_PARITY(PARITY) |
#define | IS_UART_HARDWARE_FLOW_CONTROL(CONTROL) |
#define | IS_UART_MODE(MODE) ((((MODE) & (~((uint32_t)(UART_MODE_TX_RX)))) == (uint32_t)0x00) && ((MODE) != (uint32_t)0x00)) |
#define | IS_UART_STATE(STATE) |
#define | IS_UART_OVERSAMPLING(SAMPLING) |
#define | IS_UART_ONE_BIT_SAMPLE(ONEBIT) |
#define | IS_UART_ADVFEATURE_AUTOBAUDRATEMODE(MODE) |
#define | IS_UART_RECEIVER_TIMEOUT(TIMEOUT) |
#define | IS_UART_LIN(LIN) |
#define | IS_UART_WAKEUPMETHOD(WAKEUP) |
#define | IS_UART_LIN_BREAK_DETECT_LENGTH(LENGTH) |
#define | IS_UART_DMA_TX(DMATX) |
#define | IS_UART_DMA_RX(DMARX) |
#define | IS_UART_HALF_DUPLEX(HDSEL) |
#define | IS_UART_REQUEST_PARAMETER(PARAM) |
#define | IS_UART_ADVFEATURE_INIT(INIT) |
#define | IS_UART_ADVFEATURE_TXINV(TXINV) |
#define | IS_UART_ADVFEATURE_RXINV(RXINV) |
#define | IS_UART_ADVFEATURE_DATAINV(DATAINV) |
#define | IS_UART_ADVFEATURE_SWAP(SWAP) |
#define | IS_UART_OVERRUN(OVERRUN) |
#define | IS_UART_ADVFEATURE_AUTOBAUDRATE(AUTOBAUDRATE) |
#define | IS_UART_ADVFEATURE_DMAONRXERROR(DMA) |
#define | IS_UART_ADVFEATURE_MSBFIRST(MSBFIRST) |
#define | IS_UART_MUTE_MODE(MUTE) |
#define | IS_UART_DE_POLARITY(POLARITY) |
#define IS_UART_ADVFEATURE_AUTOBAUDRATE | ( | AUTOBAUDRATE | ) |
Definition at line 1091 of file stm32f7xx_hal_uart.h.
#define IS_UART_ADVFEATURE_AUTOBAUDRATEMODE | ( | MODE | ) |
Definition at line 1034 of file stm32f7xx_hal_uart.h.
#define IS_UART_ADVFEATURE_DATAINV | ( | DATAINV | ) |
Definition at line 1082 of file stm32f7xx_hal_uart.h.
#define IS_UART_ADVFEATURE_DMAONRXERROR | ( | DMA | ) |
Definition at line 1094 of file stm32f7xx_hal_uart.h.
#define IS_UART_ADVFEATURE_INIT | ( | INIT | ) |
Definition at line 1066 of file stm32f7xx_hal_uart.h.
#define IS_UART_ADVFEATURE_MSBFIRST | ( | MSBFIRST | ) |
Definition at line 1097 of file stm32f7xx_hal_uart.h.
#define IS_UART_ADVFEATURE_RXINV | ( | RXINV | ) |
Definition at line 1079 of file stm32f7xx_hal_uart.h.
#define IS_UART_ADVFEATURE_SWAP | ( | SWAP | ) |
Definition at line 1085 of file stm32f7xx_hal_uart.h.
#define IS_UART_ADVFEATURE_TXINV | ( | TXINV | ) |
Definition at line 1076 of file stm32f7xx_hal_uart.h.
#define IS_UART_ASSERTIONTIME | ( | TIME | ) | ((TIME) <= 0x1F) |
Check UART assertion time.
TIME | 5-bit value assertion time |
Test | result (TRUE or FALSE). |
Definition at line 1002 of file stm32f7xx_hal_uart.h.
#define IS_UART_BAUDRATE | ( | BAUDRATE | ) | ((BAUDRATE) < 9000001) |
Check UART Baud rate.
BAUDRATE | 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) |
Test | result (TRUE or FALSE). |
Definition at line 996 of file stm32f7xx_hal_uart.h.
#define IS_UART_DE_POLARITY | ( | POLARITY | ) |
Definition at line 1103 of file stm32f7xx_hal_uart.h.
#define IS_UART_DEASSERTIONTIME | ( | TIME | ) | ((TIME) <= 0x1F) |
Check UART deassertion time.
TIME | 5-bit value deassertion time |
Test | result (TRUE or FALSE). |
Definition at line 1008 of file stm32f7xx_hal_uart.h.
#define IS_UART_DMA_RX | ( | DMARX | ) |
Definition at line 1054 of file stm32f7xx_hal_uart.h.
#define IS_UART_DMA_TX | ( | DMATX | ) |
Definition at line 1051 of file stm32f7xx_hal_uart.h.
#define IS_UART_HALF_DUPLEX | ( | HDSEL | ) |
Definition at line 1057 of file stm32f7xx_hal_uart.h.
#define IS_UART_HARDWARE_FLOW_CONTROL | ( | CONTROL | ) |
Definition at line 1017 of file stm32f7xx_hal_uart.h.
#define IS_UART_LIN | ( | LIN | ) |
Definition at line 1042 of file stm32f7xx_hal_uart.h.
#define IS_UART_LIN_BREAK_DETECT_LENGTH | ( | LENGTH | ) |
Definition at line 1048 of file stm32f7xx_hal_uart.h.
#define IS_UART_MODE | ( | MODE | ) | ((((MODE) & (~((uint32_t)(UART_MODE_TX_RX)))) == (uint32_t)0x00) && ((MODE) != (uint32_t)0x00)) |
Definition at line 1023 of file stm32f7xx_hal_uart.h.
#define IS_UART_MUTE_MODE | ( | MUTE | ) |
Definition at line 1100 of file stm32f7xx_hal_uart.h.
#define IS_UART_ONE_BIT_SAMPLE | ( | ONEBIT | ) |
Definition at line 1031 of file stm32f7xx_hal_uart.h.
#define IS_UART_OVERRUN | ( | OVERRUN | ) |
Definition at line 1088 of file stm32f7xx_hal_uart.h.
#define IS_UART_OVERSAMPLING | ( | SAMPLING | ) |
Definition at line 1028 of file stm32f7xx_hal_uart.h.
#define IS_UART_PARITY | ( | PARITY | ) |
Definition at line 1013 of file stm32f7xx_hal_uart.h.
#define IS_UART_RECEIVER_TIMEOUT | ( | TIMEOUT | ) |
Definition at line 1039 of file stm32f7xx_hal_uart.h.
#define IS_UART_REQUEST_PARAMETER | ( | PARAM | ) |
Definition at line 1060 of file stm32f7xx_hal_uart.h.
#define IS_UART_STATE | ( | STATE | ) |
Definition at line 1025 of file stm32f7xx_hal_uart.h.
#define IS_UART_STOPBITS | ( | STOPBITS | ) |
Definition at line 1010 of file stm32f7xx_hal_uart.h.
#define IS_UART_WAKEUPMETHOD | ( | WAKEUP | ) |
Definition at line 1045 of file stm32f7xx_hal_uart.h.
#define UART_DIV_LPUART | ( | _PCLK_, | |
_BAUD_ | |||
) | ((((_PCLK_)*256)+((_BAUD_)/2))/((_BAUD_))) |
BRR division operation to set BRR register with LPUART.
<em>PCLK</em> | LPUART clock |
<em>BAUD</em> | Baud rate set by the user |
Division | result |
Definition at line 974 of file stm32f7xx_hal_uart.h.
#define UART_DIV_SAMPLING16 | ( | _PCLK_, | |
_BAUD_ | |||
) | ((((_PCLK_))+((_BAUD_)/2))/((_BAUD_))) |
BRR division operation to set BRR register in 16-bit oversampling mode.
<em>PCLK</em> | UART clock |
<em>BAUD</em> | Baud rate set by the user |
Division | result |
Definition at line 988 of file stm32f7xx_hal_uart.h.
#define UART_DIV_SAMPLING8 | ( | _PCLK_, | |
_BAUD_ | |||
) | ((((_PCLK_)*2)+((_BAUD_)/2))/((_BAUD_))) |
BRR division operation to set BRR register in 8-bit oversampling mode.
<em>PCLK</em> | UART clock |
<em>BAUD</em> | Baud rate set by the user |
Division | result |
Definition at line 981 of file stm32f7xx_hal_uart.h.