|
PHiLIP
|
Controls and provides information for the uart. More...
#include <PHiLIP_typedef.h>
Data Fields | |
| struct { | |
| uart_mode_t mode | |
| basic_gpio_t dut_rx | |
| basic_gpio_t dut_tx | |
| basic_gpio_t dut_cts | |
| basic_gpio_t dut_rts | |
| uint32_t baud | |
| uint8_t mask_msb | |
| uint16_t rx_count | |
| uint16_t tx_count | |
| uart_status_t status | |
| }; | |
| uint8_t | data8 [16] |
Controls and provides information for the uart.
| uint32_t uart_t::baud |
Baudrate
| uint8_t uart_t::data8[16] |
array for padding
| uint8_t uart_t::mask_msb |
Masks the data coming in if 7 bit mode
| uart_mode_t uart_t::mode |
UART mode register
| uint16_t uart_t::rx_count |
Number of received bytes
| uart_status_t uart_t::status |
UART status register
| uint16_t uart_t::tx_count |
Number of transmitted bytes