| 15 | #include "ft_uart_hw.h" |
| 16 | |
| 17 | void FUart_SendByte(u32 BaseAddress, u8 Byte) |
| 18 | { |
| 19 | while (FT_UART_IsTransmitFull(BaseAddress)) |
| 20 | { |
| 21 | ; |
| 22 | } |
| 23 | FT_UART_WriteReg(BaseAddress, UARTDR_OFFSET, (u32)Byte); |
| 24 | } |
| 25 | |
| 26 | u8 FUart_RecvByte(u32 BaseAddress) |
| 27 | { |
no outgoing calls
no test coverage detected