Home
last modified time | relevance | path

Searched refs:DEBUG_PORT (Results 1 – 5 of 5) sorted by relevance

/hal_nuvoton-latest/m2l31x/StdDriver/src/
Dretarget.c28 #ifndef DEBUG_PORT
29 #define DEBUG_PORT UART1 macro
258 while (DEBUG_PORT->FIFOSTS & UART_FIFOSTS_TXFULL_Msk) {} in SendChar_ToUART()
262 DEBUG_PORT->DAT = '\r'; in SendChar_ToUART()
264 while (DEBUG_PORT->FIFOSTS & UART_FIFOSTS_TXFULL_Msk) {} in SendChar_ToUART()
267 DEBUG_PORT->DAT = (uint32_t)ch; in SendChar_ToUART()
321 if ((DEBUG_PORT->FIFOSTS & UART_FIFOSTS_TXFULL_Msk) == 0) in SendChar_ToUART()
323 DEBUG_PORT->DAT = u8Buf[i32Tail]; in SendChar_ToUART()
430 if ((DEBUG_PORT->FIFOSTS & UART_FIFOSTS_RXEMPTY_Msk) == 0U) in GetChar()
432 return ((char)DEBUG_PORT->DAT); in GetChar()
[all …]
/hal_nuvoton-latest/m48x/StdDriver/src/
Dretarget.c30 #define DEBUG_PORT UART0 macro
444 while(DEBUG_PORT->FIFOSTS & UART_FIFOSTS_TXFULL_Msk); in SendChar_ToUART()
448 DEBUG_PORT->DAT = '\r'; in SendChar_ToUART()
449 while(DEBUG_PORT->FIFOSTS & UART_FIFOSTS_TXFULL_Msk); in SendChar_ToUART()
451 DEBUG_PORT->DAT = ch; in SendChar_ToUART()
499 if((DEBUG_PORT->FIFOSTS & UART_FIFOSTS_TXFULL_Msk) == 0) in SendChar_ToUART()
501 DEBUG_PORT->DAT = u8Buf[i32Tail]; in SendChar_ToUART()
587 if((DEBUG_PORT->FIFOSTS & UART_FIFOSTS_RXEMPTY_Msk) == 0) in GetChar()
589 return (DEBUG_PORT->DAT); in GetChar()
612 return !((DEBUG_PORT->FIFOSTS & UART_FIFOSTS_RXEMPTY_Msk) == 0); in kbhit()
[all …]
/hal_nuvoton-latest/m46x/StdDriver/src/
Dretarget.c476 while(DEBUG_PORT->FIFOSTS & UART_FIFOSTS_TXFULL_Msk) {} in SendChar_ToUART()
477 DEBUG_PORT->DAT = '\r'; in SendChar_ToUART()
480 while(DEBUG_PORT->FIFOSTS & UART_FIFOSTS_TXFULL_Msk) {} in SendChar_ToUART()
481 DEBUG_PORT->DAT = (uint32_t)ch; in SendChar_ToUART()
563 if((DEBUG_PORT->FIFOSTS & UART_FIFOSTS_RXEMPTY_Msk) == 0) in GetChar()
565 return (DEBUG_PORT->DAT); in GetChar()
575 if((DEBUG_PORT->FIFOSTS & UART_FIFOSTS_RXEMPTY_Msk) == 0U) in GetChar()
577 return ((char)DEBUG_PORT->DAT); in GetChar()
597 return !((DEBUG_PORT->FIFOSTS & UART_FIFOSTS_RXEMPTY_Msk) == UART_FIFOSTS_RXEMPTY_Msk); in kbhit()
612 return ((DEBUG_PORT->FIFOSTS & UART_FIFOSTS_TXEMPTYF_Msk) != 0U); in IsDebugFifoEmpty()
[all …]
/hal_nuvoton-latest/m2l31x/Devices/M2L31/Include/
Dsystem_M2L31.h23 #ifndef DEBUG_PORT
24 #define DEBUG_PORT UART0 /*!< Select Debug Port which is used for retarget.c to output d… macro
/hal_nuvoton-latest/m46x/Devices/M460/Include/
Dsystem_m460.h44 #ifndef DEBUG_PORT
45 #define DEBUG_PORT UART0 /*!< Select Debug Port which is used for retarget.c to output debug mes… macro