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

Function UART_GetIntStatus

bsp/CME_M7/StdPeriph_Driver/src/cmem7_uart.c:123–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123BOOL UART_GetIntStatus(UART0_Type* UARTx, uint32_t Int) {
124 assert_param(IS_UART_ALL_PERIPH(UARTx));
125 assert_param(IS_UART_INT(Int));
126
127 if (0 != (UARTx->INT_SEEN & Int)) {
128 return TRUE;
129 }
130
131 return FALSE;
132}
133
134void UART_ClearInt(UART0_Type* UARTx, uint32_t Int) {
135 assert_param(IS_UART_ALL_PERIPH(UARTx));

Callers 1

CME_UART_IRQHandlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected