Astra MCU SDK Peripheral Driver Library
 
Loading...
Searching...
No Matches
uart_hw_status_t Struct Reference

UART instance hardware status structure. More...

#include <uart.h>

Data Fields

uart_usr_lsr_status_bits_t uart_status
 
bool tx_busy
 
bool rx_busy
 

Detailed Description

UART instance hardware status structure.

Contains current status information of UART hardware including combined status registers and flags indicating if transmitter or receiver is busy.

Field Documentation

◆ uart_status

uart_usr_lsr_status_bits_t uart_hw_status_t::uart_status

Combined USR & LSR status bits

◆ tx_busy

bool uart_hw_status_t::tx_busy

True if UART is currently transmitting

◆ rx_busy

bool uart_hw_status_t::rx_busy

True if UART is currently receiving