Rev 2023 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 2023 | Rev 2026 | ||
|---|---|---|---|
| Line 92... | Line 92... | ||
| 92 | @param baudrate Specify baudrate using macro UART_BAUD_SELECT() |
92 | @param baudrate Specify baudrate using macro UART_BAUD_SELECT() |
| 93 | @return none |
93 | @return none |
| 94 | */ |
94 | */ |
| 95 | extern void uart_init(unsigned int baudrate); |
95 | extern void uart_init(unsigned int baudrate); |
| 96 | 96 | ||
| 97 | - | ||
| 98 | /** |
- | |
| 99 | @brief Check if transmit buffer is empty |
- | |
| 100 | @return true if buffer is empty, false if not |
- | |
| 101 | */ |
- | |
| 102 | extern unsigned int uart_txbufempty(void); |
- | |
| 103 | 97 | ||
| 104 | /** |
98 | /** |
| 105 | * @brief Get received byte from ringbuffer |
99 | * @brief Get received byte from ringbuffer |
| 106 | * |
100 | * |
| 107 | * Returns in the lower byte the received character and in the |
101 | * Returns in the lower byte the received character and in the |