[Answered] How to use the UART interrupt handler ...
Posted: Sun Jan 01, 2017 12:59 am
Looking at the UART driver I see functions such as:
* uart_disable_intr_mask
* uart_enable_intr_mask
* uart_disable_rx_intr
* uart_enable_rx_intr
* uart_disable_tx_intr
* uart_enable_tx_intr
* uart_isr_free
* uart_intr_config
I'm wondering if anyone has tried to use these? For example, looking at uart_enable_intr_mask, I see that it has a parameter called "enable_mask" which appears to be a bit field but I'm having trouble finding the bit pattern description.
* uart_disable_intr_mask
* uart_enable_intr_mask
* uart_disable_rx_intr
* uart_enable_rx_intr
* uart_disable_tx_intr
* uart_enable_tx_intr
* uart_isr_free
* uart_intr_config
I'm wondering if anyone has tried to use these? For example, looking at uart_enable_intr_mask, I see that it has a parameter called "enable_mask" which appears to be a bit field but I'm having trouble finding the bit pattern description.