Macros | |
#define | __LL_UART_DIV(__PERIPHCLK__, __BAUDRATE__) ((__PERIPHCLK__) / (__BAUDRATE__) / 16) |
Compute UARTDIV value according to Peripheral Clock and expected Baud Rate (32 bits value of UARTDIV is returned) More... | |
#define | __LL_UART_DLF(__PERIPHCLK__, __BAUDRATE__) ((__PERIPHCLK__) / (__BAUDRATE__) % 16) |
Compute UARTDLF value according to Peripheral Clock and expected Baud Rate (32 bits value of UARTDLF is returned) More... | |
#define __LL_UART_DIV | ( | __PERIPHCLK__, | |
__BAUDRATE__ | |||
) | ((__PERIPHCLK__) / (__BAUDRATE__) / 16) |
Compute UARTDIV value according to Peripheral Clock and expected Baud Rate (32 bits value of UARTDIV is returned)
__PERIPHCLK__ | Peripheral Clock frequency used for UART instance |
__BAUDRATE__ | Baud rate value to achieve |
UARTDIV | value to be used for DLL,DLH registers |
Definition at line 276 of file gr55xx_ll_uart.h.
#define __LL_UART_DLF | ( | __PERIPHCLK__, | |
__BAUDRATE__ | |||
) | ((__PERIPHCLK__) / (__BAUDRATE__) % 16) |
Compute UARTDLF value according to Peripheral Clock and expected Baud Rate (32 bits value of UARTDLF is returned)
__PERIPHCLK__ | Peripheral Clock frequency used for UART instance |
__BAUDRATE__ | Baud rate value to achieve |
UARTDLF | value to be used for DLL,DLH registers |
Definition at line 285 of file gr55xx_ll_uart.h.