Home
last modified time | relevance | path

Searched refs:g_buf (Results 1 – 2 of 2) sorted by relevance

/trusted-firmware-m-latest/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/src/
Dretarget.c138 static char g_buf[16]; variable
515 g_buf[g_buf_len++] = (char)ch; in SendChar()
516 g_buf[g_buf_len] = '\0'; in SendChar()
517 if(g_buf_len + 1 >= sizeof(g_buf) || ch == '\n' || ch == '\0') in SendChar()
523 if(SH_DoCommand(0x04, (int)g_buf, NULL) != 0) in SendChar()
536 SendChar_ToUART(g_buf[i]); in SendChar()
/trusted-firmware-m-latest/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/src/
Dretarget.c168 static char g_buf[16]; variable
603 g_buf[(uint8_t)g_buf_len++] = (char)ch; in SendChar()
604 g_buf[(uint8_t)g_buf_len] = '\0'; in SendChar()
605 if(g_buf_len + 1 >= sizeof(g_buf) || ch == '\n' || ch == '\0') in SendChar()
611 if(SH_DoCommand(0x04, (int)g_buf, NULL) != 0) in SendChar()
624 SendChar_ToUART(g_buf[i]); in SendChar()