MCPcopy Create free account
hub / github.com/SmingHub/Sming / is_standard_uart

Function is_standard_uart

Sming/Arch/Esp32/Components/driver/uart.cpp:177–180  ·  view source on GitHub ↗

@brief Determine if the given uart is a standard UART */

Source from the content-addressed store, hash-verified

175/** @brief Determine if the given uart is a standard UART
176 */
177__forceinline bool is_standard_uart(int uart_nr)
178{
179 return (uart_nr >= 0) && (uart_nr < SOC_UART_NUM);
180}
181
182__forceinline bool is_standard_uart(smg_uart_t* uart)
183{

Callers 10

get_standard_uartFunction · 0.85
smg_uart_readFunction · 0.85
smg_uart_rx_availableFunction · 0.85
smg_uart_writeFunction · 0.85
smg_uart_tx_freeFunction · 0.85
smg_uart_wait_tx_emptyFunction · 0.85
smg_uart_flushFunction · 0.85
smg_uart_init_exFunction · 0.85
smg_uart_detachFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected