Functions | |
| __STATIC_INLINE uint32_t | ll_uart_get_line_status_flag (uart_regs_t *UARTx) |
| Get UART Receive Line Status Flag. More... | |
| __STATIC_INLINE void | ll_uart_clear_line_status_flag (uart_regs_t *UARTx) |
| Clear UART Receive Line Status Flag. More... | |
| __STATIC_INLINE uint32_t | ll_uart_is_active_flag_rff (uart_regs_t *UARTx) |
| Check if the UART Receive FIFO Full Flag is set or not. More... | |
| __STATIC_INLINE uint32_t | ll_uart_is_active_flag_rfne (uart_regs_t *UARTx) |
| Check if the UART Receive FIFO Not Empty Flag is set or not. More... | |
| __STATIC_INLINE uint32_t | ll_uart_is_active_flag_tfe (uart_regs_t *UARTx) |
| Check if the UART Transmit FIFO Empty Flag is set or not. More... | |
| __STATIC_INLINE uint32_t | ll_uart_is_active_flag_tfnf (uart_regs_t *UARTx) |
| Check if the UART Transmit FIFO Not Full Flag is set or not. More... | |
| __STATIC_INLINE uint32_t | ll_uart_get_it_flag (uart_regs_t *UARTx) |
| Get UART interrupt flags. More... | |
| __STATIC_INLINE void ll_uart_clear_line_status_flag | ( | uart_regs_t * | UARTx | ) |
Clear UART Receive Line Status Flag.
| Register | BitsName |
|---|---|
| LSR | OE |
| LSR | PE |
| LSR | FE |
| LSR | BI |
| LSR | RFE |
| UARTx | UART instance |
| None |
| __STATIC_INLINE uint32_t ll_uart_get_it_flag | ( | uart_regs_t * | UARTx | ) |
Get UART interrupt flags.
| Register | BitsName |
|---|---|
| IIR | IID |
| UARTx | UART instance |
| Returned | value can be one or combination of the following values: |
| __STATIC_INLINE uint32_t ll_uart_get_line_status_flag | ( | uart_regs_t * | UARTx | ) |
Get UART Receive Line Status Flag.
| Register | BitsName |
|---|---|
| LSR | OE |
| LSR | PE |
| LSR | FE |
| LSR | BI |
| LSR | THRE |
| LSR | TEMT |
| LSR | RFE |
| UARTx | UART instance |
| Returned | value can be a combination of the following values: |
| __STATIC_INLINE uint32_t ll_uart_is_active_flag_rff | ( | uart_regs_t * | UARTx | ) |
Check if the UART Receive FIFO Full Flag is set or not.
| Register | BitsName |
|---|---|
| USR | RFF |
| UARTx | UART instance |
| State | of bit (1 or 0). |
| __STATIC_INLINE uint32_t ll_uart_is_active_flag_rfne | ( | uart_regs_t * | UARTx | ) |
Check if the UART Receive FIFO Not Empty Flag is set or not.
| Register | BitsName |
|---|---|
| USR | RFNE |
| UARTx | UART instance |
| State | of bit (1 or 0). |
| __STATIC_INLINE uint32_t ll_uart_is_active_flag_tfe | ( | uart_regs_t * | UARTx | ) |
Check if the UART Transmit FIFO Empty Flag is set or not.
| Register | BitsName |
|---|---|
| USR | TFE |
| UARTx | UART instance |
| State | of bit (1 or 0). |
| __STATIC_INLINE uint32_t ll_uart_is_active_flag_tfnf | ( | uart_regs_t * | UARTx | ) |
Check if the UART Transmit FIFO Not Full Flag is set or not.
| Register | BitsName |
|---|---|
| USR | TFNF |
| UARTx | UART instance |
| State | of bit (1 or 0). |