We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c2dd3b commit b1fec1aCopy full SHA for b1fec1a
cores/arduino/stm32/uart.h
@@ -55,20 +55,20 @@ typedef struct serial_s serial_t;
55
struct serial_s {
56
USART_TypeDef *uart;
57
UART_HandleTypeDef handle;
58
- uint8_t index;
59
- uint8_t recv;
60
uint32_t baudrate;
61
uint32_t databits;
62
uint32_t stopbits;
63
uint32_t parity;
64
PinName pin_tx;
65
PinName pin_rx;
66
IRQn_Type irq;
+ uint8_t index;
+ uint8_t recv;
67
uint8_t *rx_buff;
68
- volatile uint16_t rx_head;
69
- uint16_t rx_tail;
70
uint8_t *tx_buff;
+ uint16_t rx_tail;
71
uint16_t tx_head;
+ volatile uint16_t rx_head;
72
volatile uint16_t tx_tail;
73
};
74
0 commit comments