Skip to content

Commit 299c3aa

Browse files
committed
serial: remind users to NVIC::unmask interrupts
In ref to #198
1 parent 7ec4d8f commit 299c3aa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/serial.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1478,6 +1478,9 @@ macro_rules! halUsartImpl {
14781478
}
14791479

14801480
/// Starts listening for an interrupt event
1481+
///
1482+
/// Note, you will also have to enable the corresponding interrupt
1483+
/// in the NVIC to start receiving events.
14811484
pub fn listen(&mut self, event: Event) {
14821485
match event {
14831486
Event::Rxne => {

0 commit comments

Comments
 (0)