add flow control info to busio_uart_obj_t

This commit is contained in:
Bernhard Boser 2021-01-17 19:33:32 -08:00
parent e867d1915e
commit 07a9593abc
1 changed files with 4 additions and 1 deletions

View File

@ -42,10 +42,13 @@ typedef struct {
uint32_t timeout_ms;
ringbuf_t ringbuf;
uint8_t rx_char; // EasyDMA buf
uint8_t rx_char; // EasyDMA buf
bool rx_paused; // set by irq if no space in rbuf
uint8_t tx_pin_number;
uint8_t rx_pin_number;
uint8_t cts_pin_number;
uint8_t rts_pin_number;
} busio_uart_obj_t;
void uart_reset(void);