Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/coreboot/coreboot
/ uart_can_tx
Function
uart_can_tx
src/drivers/uart/sifive.c:62–65 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
60
}
61
62
static bool uart_can_tx(struct sifive_uart_registers *regs)
63
{
64
return !(read32(®s->txdata) & TXDATA_FULL);
65
}
66
67
void uart_tx_byte(unsigned int idx, unsigned char data)
68
{
Callers
1
uart_tx_byte
Function · 0.85
Calls
1
read32
Function · 0.50
Tested by
no test coverage detected