diff options
| author | Bogdan Petru Chircu Mare <[email protected]> | 2025-11-06 21:51:56 -0800 |
|---|---|---|
| committer | Bogdan Petru Chircu Mare <[email protected]> | 2025-11-06 21:59:12 -0800 |
| commit | a71eff2e1cea55b393e793c023b8e51e5cc369a1 (patch) | |
| tree | f0da4690f72e79681396d8231449cdde1347ea8d /src/lib.rs | |
| parent | 4fcc74dbd3906db35a56dc179b08b23bfd5bdffa (diff) | |
Fix uart_interrupt example: enable RX interrupts in peripheral
The uart_interrupt example was not echoing received characters because
the RX interrupt enable bit (RIE) was not being set in the LPUART
control register. The NVIC interrupt was configured and the handler
was installed, but the peripheral itself was not generating interrupts.
Added uart.enable_rx_interrupts() call to enable RX data interrupts
in the LPUART2 peripheral before entering the main loop.
Diffstat (limited to 'src/lib.rs')
0 files changed, 0 insertions, 0 deletions
