USART device low level information structure. More...
#include <dev/usart.h>
Data Fields | |
uint32_t | dcb_modeflags |
Mode flags. | |
uint32_t | dcb_statusflags |
Status flags. | |
uint32_t | dcb_rtimeout |
Read timeout. | |
uint32_t | dcb_wtimeout |
Write timeout. | |
RINGBUF | dcb_tx_rbf |
Output ring buffer. | |
RINGBUF | dcb_rx_rbf |
Input ring buffer. | |
uint8_t | dcb_last_eol |
Last EOL character. | |
int(* | dcb_init )(void) |
Driver control initialization. | |
int(* | dcb_deinit )(void) |
Driver control de-initialization. | |
void(* | dcb_tx_start )(void) |
Driver control write notification. | |
void(* | dcb_rx_start )(void) |
Driver control read notification. | |
int(* | dcb_set_flow_control )(uint32_t flags) |
Set handshake mode. | |
uint32_t(* | dcb_get_flow_control )(void) |
Get handshake mode. | |
int(* | dcb_set_speed )(uint32_t rate) |
Set hardware speed. | |
uint32_t(* | dcb_get_speed )(void) |
Get hardware speed. | |
int(* | dcb_set_data_bits )(uint8_t bits) |
Set hardware data bits. | |
uint8_t(* | dcb_get_data_bits )(void) |
Get hardware data bits. | |
int(* | dcb_set_parity )(uint8_t bits) |
Set hardware parity mode. | |
uint8_t(* | dcb_get_parity )(void) |
Get hardware parity mode. | |
int(* | dcb_set_stop_bits )(uint8_t bits) |
Set hardware stop bits. | |
uint8_t(* | dcb_get_stop_bits )(void) |
Get hardware stop bits. | |
int(* | dcb_set_status )(uint32_t flags) |
Set hardware status. | |
uint32_t(* | dcb_get_status )(void) |
Get hardware status. | |
int(* | dcb_set_clock_mode )(uint8_t mode) |
Set clock mode. | |
uint8_t(* | dcb_get_clock_mode )(void) |
Get clock mode. |
USART device low level information structure.
Mode flags.
Referenced by UsartIOCtl(), UsartOpen(), and UsartRead().
Status flags.
Read timeout.
Referenced by UsartIOCtl(), and UsartRead().
Write timeout.
Referenced by UsartIOCtl().
Output ring buffer.
Referenced by Sc16is752UsartProcessChannelInterrupt(), UsartClose(), UsartIOCtl(), and UsartOpen().
Input ring buffer.
Referenced by Sc16is752UsartProcessChannelInterrupt(), UsartClose(), UsartIOCtl(), UsartOpen(), UsartRead(), and UsartSize().
Last EOL character.
Referenced by UsartRead().
Driver control initialization.
Referenced by UsartInit().
int(* _USARTDCB::dcb_deinit)(void) |
Driver control de-initialization.
void(* _USARTDCB::dcb_tx_start)(void) |
Driver control write notification.
void(* _USARTDCB::dcb_rx_start)(void) |
Driver control read notification.
Referenced by UsartIOCtl(), UsartOpen(), and UsartRead().
int(* _USARTDCB::dcb_set_flow_control)(uint32_t flags) |
Set handshake mode.
Referenced by UsartIOCtl().
uint32_t(* _USARTDCB::dcb_get_flow_control)(void) |
Get handshake mode.
Referenced by UsartIOCtl().
int(* _USARTDCB::dcb_set_speed)(uint32_t rate) |
Set hardware speed.
Referenced by UsartInit(), and UsartIOCtl().
uint32_t(* _USARTDCB::dcb_get_speed)(void) |
Get hardware speed.
Referenced by UsartIOCtl().
int(* _USARTDCB::dcb_set_data_bits)(uint8_t bits) |
Set hardware data bits.
Referenced by UsartIOCtl().
uint8_t(* _USARTDCB::dcb_get_data_bits)(void) |
Get hardware data bits.
Referenced by UsartIOCtl().
int(* _USARTDCB::dcb_set_parity)(uint8_t bits) |
Set hardware parity mode.
Referenced by UsartIOCtl().
uint8_t(* _USARTDCB::dcb_get_parity)(void) |
Get hardware parity mode.
Referenced by UsartIOCtl().
int(* _USARTDCB::dcb_set_stop_bits)(uint8_t bits) |
Set hardware stop bits.
Referenced by UsartIOCtl().
uint8_t(* _USARTDCB::dcb_get_stop_bits)(void) |
Get hardware stop bits.
Referenced by UsartIOCtl().
int(* _USARTDCB::dcb_set_status)(uint32_t flags) |
Set hardware status.
Referenced by UsartClose(), and UsartIOCtl().
uint32_t(* _USARTDCB::dcb_get_status)(void) |
Get hardware status.
Referenced by UsartIOCtl().
int(* _USARTDCB::dcb_set_clock_mode)(uint8_t mode) |
Set clock mode.
Referenced by UsartIOCtl().
uint8_t(* _USARTDCB::dcb_get_clock_mode)(void) |
Get clock mode.
Referenced by UsartIOCtl().