Code: Select all
uart_isr_register(UART_PORT0, uart0_irq_handler, NULL, ESP_INTR_FLAG_LOWMED | ESP_INTR_FLAG_IRAM, &handle);
static void IRAM_ATTR uart0_irq_handler(void *arg)
{
uint16_t status = UART0.int_st.val;
}
Code: Select all
uart_isr_register(UART_PORT0, uart0_irq_handler, NULL, ESP_INTR_FLAG_LOWMED | ESP_INTR_FLAG_IRAM, &handle);
static void IRAM_ATTR uart0_irq_handler(void *arg)
{
uint16_t status = UART0.int_st.val;
}
Users browsing this forum: No registered users and 38 guests