![]() |
GaIA BIOS Library
|
Serial Channel Data Provides serial buffers. More...
#include <buffered_serial.h>
Data Fields | |
| uint8_t | port_id |
| Port id. | |
| uint8_t | tx_buff [TXBLEN] |
| Trasmission buffer. | |
| uint16_t | tx_idx |
| Current index in the trasmission buffer. | |
| uint16_t | tx_int_idx |
| This index is used within the interrupt to empty the tx buffer. | |
| volatile uint16_t | tx_buf_cnt |
| Number of characters to trasmit. | |
| volatile bool | stop_tx |
| The transmission is terminated (out buffer empty) | |
| uint8_t | rx_buff [RXBLEN] |
| Receive buffer. | |
| uint16_t | rx_idx |
| Current index in the receive buffer. | |
| uint16_t | rx_int_idx |
| This index is used within the interrupt to fill the rx buffer. | |
| volatile uint16_t | rx_buf_cnt |
| Number of characters in the receive buffer. | |
Serial Channel Data Provides serial buffers.