Home
last modified time | relevance | path

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

/hal_espressif-3.4.0/components/esp_gdbstub/esp32c3/
Dgdbstub_esp32c3.c16 #define UART_NUM CONFIG_ESP_CONSOLE_UART_NUM macro
87 while (REG_GET_FIELD(UART_STATUS_REG(UART_NUM), UART_RXFIFO_CNT) == 0) { in esp_gdbstub_getchar()
90 return REG_READ(UART_FIFO_AHB_REG(UART_NUM)); in esp_gdbstub_getchar()
95 while (REG_GET_FIELD(UART_STATUS_REG(UART_NUM), UART_TXFIFO_CNT) >= 126) { in esp_gdbstub_putchar()
98 REG_WRITE(UART_FIFO_AHB_REG(UART_NUM), c); in esp_gdbstub_putchar()
/hal_espressif-3.4.0/components/esp_gdbstub/esp32h2/
Dgdbstub_esp32h2.c15 #define UART_NUM CONFIG_ESP_CONSOLE_UART_NUM macro
86 while (REG_GET_FIELD(UART_STATUS_REG(UART_NUM), UART_RXFIFO_CNT) == 0) { in esp_gdbstub_getchar()
89 return REG_READ(UART_FIFO_AHB_REG(UART_NUM)); in esp_gdbstub_getchar()
94 while (REG_GET_FIELD(UART_STATUS_REG(UART_NUM), UART_TXFIFO_CNT) >= 126) { in esp_gdbstub_putchar()
97 REG_WRITE(UART_FIFO_AHB_REG(UART_NUM), c); in esp_gdbstub_putchar()
/hal_espressif-3.4.0/components/vfs/
Dvfs_uart.c26 #define UART_NUM SOC_UART_NUM macro
93 static vfs_uart_context_t s_context[UART_NUM] = {
96 #if UART_NUM > 2
101 static vfs_uart_context_t* s_ctx[UART_NUM] = {
104 #if UART_NUM > 2
431 const int max_fds = MIN(nfds, UART_NUM); in uart_start_select()
498 for (int i = 0; i < UART_NUM; ++i) { in uart_end_select()
515 if (fd < 0 || fd >= UART_NUM) { in uart_tcsetattr()
720 if (fd < 0 || fd >= UART_NUM) { in uart_tcgetattr()
929 if (fd < 0 || fd >= UART_NUM) { in uart_tcdrain()
[all …]
/hal_espressif-3.4.0/components/esp_gdbstub/esp_common/
Dgdbstub_common.c21 #define UART_NUM CONFIG_ESP_CONSOLE_UART_NUM macro
28 switch (UART_NUM) { in esp_gdbstub_target_init()