diff options
Diffstat (limited to 'libmaple')
-rw-r--r-- | libmaple/usart.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libmaple/usart.h b/libmaple/usart.h index 60ed0ac..9ba94bd 100644 --- a/libmaple/usart.h +++ b/libmaple/usart.h @@ -232,12 +232,12 @@ typedef struct usart_reg_map { /** USART device type */ typedef struct usart_dev { - usart_reg_map *regs; - ring_buffer *rb; - uint32 max_baud; - uint8 rx_buf[USART_RX_BUF_SIZE]; - rcc_clk_id clk_id; - nvic_irq_num irq_num; + usart_reg_map *regs; /**< Register map */ + ring_buffer *rb; /**< RX ring buffer */ + uint32 max_baud; /**< Maximum baud */ + uint8 rx_buf[USART_RX_BUF_SIZE]; /**< Actual RX buffer used by rb */ + rcc_clk_id clk_id; /**< RCC clock information */ + nvic_irq_num irq_num; /**< USART NVIC interrupt */ } usart_dev; extern usart_dev *USART1; |