Home
last modified time | relevance | path

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

/hal_espressif-2.7.6/components/esp_gdbstub/esp32/
Dgdbstub_esp32.c20 #define UART_NUM CONFIG_ESP_CONSOLE_UART_NUM macro
28 while (REG_GET_FIELD(UART_STATUS_REG(UART_NUM), UART_RXFIFO_CNT) == 0) { in esp_gdbstub_getchar()
31 return REG_READ(UART_FIFO_REG(UART_NUM)); in esp_gdbstub_getchar()
36 while (REG_GET_FIELD(UART_STATUS_REG(UART_NUM), UART_TXFIFO_CNT) >= 126) { in esp_gdbstub_putchar()
39 REG_WRITE(UART_FIFO_REG(UART_NUM), c); in esp_gdbstub_putchar()
/hal_espressif-2.7.6/components/esp_gdbstub/esp32s2/
Dgdbstub_esp32s2.c20 #define UART_NUM CONFIG_ESP_CONSOLE_UART_NUM macro
28 while (REG_GET_FIELD(UART_STATUS_REG(UART_NUM), UART_RXFIFO_CNT) == 0) { in esp_gdbstub_getchar()
31 return REG_READ(UART_FIFO_AHB_REG(UART_NUM)); in esp_gdbstub_getchar()
36 while (REG_GET_FIELD(UART_STATUS_REG(UART_NUM), UART_TXFIFO_CNT) >= 126) { in esp_gdbstub_putchar()
39 REG_WRITE(UART_FIFO_AHB_REG(UART_NUM), c); in esp_gdbstub_putchar()
/hal_espressif-2.7.6/components/esp_gdbstub/esp32s3/
Dgdbstub_esp32s3.c20 #define UART_NUM CONFIG_ESP_CONSOLE_UART_NUM macro
28 while (REG_GET_FIELD(UART_STATUS_REG(UART_NUM), UART_RXFIFO_CNT) == 0) { in esp_gdbstub_getchar()
31 return REG_READ(UART_FIFO_AHB_REG(UART_NUM)); in esp_gdbstub_getchar()
36 while (REG_GET_FIELD(UART_STATUS_REG(UART_NUM), UART_TXFIFO_CNT) >= 126) { in esp_gdbstub_putchar()
39 REG_WRITE(UART_FIFO_AHB_REG(UART_NUM), c); in esp_gdbstub_putchar()
/hal_espressif-2.7.6/components/esp_gdbstub/esp32c3/
Dgdbstub_esp32c3.c21 #define UART_NUM CONFIG_ESP_CONSOLE_UART_NUM macro
65 while (REG_GET_FIELD(UART_STATUS_REG(UART_NUM), UART_RXFIFO_CNT) == 0) { in esp_gdbstub_getchar()
68 return REG_READ(UART_FIFO_AHB_REG(UART_NUM)); in esp_gdbstub_getchar()
73 while (REG_GET_FIELD(UART_STATUS_REG(UART_NUM), UART_TXFIFO_CNT) >= 126) { in esp_gdbstub_putchar()
76 REG_WRITE(UART_FIFO_AHB_REG(UART_NUM), c); in esp_gdbstub_putchar()
/hal_espressif-2.7.6/components/vfs/
Dvfs_uart.c32 #define UART_NUM SOC_UART_NUM macro
99 static vfs_uart_context_t s_context[UART_NUM] = {
102 #if UART_NUM > 2
107 static vfs_uart_context_t* s_ctx[UART_NUM] = {
110 #if UART_NUM > 2
440 const int max_fds = MIN(nfds, UART_NUM); in uart_start_select()
507 for (int i = 0; i < UART_NUM; ++i) { in uart_end_select()
524 if (fd < 0 || fd >= UART_NUM) { in uart_tcsetattr()
729 if (fd < 0 || fd >= UART_NUM) { in uart_tcgetattr()
938 if (fd < 0 || fd >= UART_NUM) { in uart_tcdrain()
[all …]