Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SmingHub/Sming
/ smg_uart_get_uart
Function
smg_uart_get_uart
Sming/Arch/Host/Components/driver/uart.cpp:78–81 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
76
} // namespace
77
78
smg_uart_t* smg_uart_get_uart(uint8_t uart_nr)
79
{
80
return (uart_nr < UART_COUNT) ? uartInstances[uart_nr] : nullptr;
81
}
82
83
uint8_t smg_uart_disable_interrupts()
84
{
Callers
2
smg_uart_init_ex
Function · 0.70
thread_routine
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected