MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / FUart_SendByte

Function FUart_SendByte

bsp/ft2004/libraries/bsp/ft_uart/ft_uart_hw.c:17–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15#include "ft_uart_hw.h"
16
17void 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
26u8 FUart_RecvByte(u32 BaseAddress)
27{

Callers 3

FUart_BlockSendFunction · 0.85
outbyteFunction · 0.85
uart_putcFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected