Skip to content

Commit e00a053

Browse files
Merge #199
199: serial: remind users to NVIC::unmask interrupts r=therealprof a=birkenfeld In ref to #198 This is a copy of the hint for the Timer. Co-authored-by: Georg Brandl <[email protected]>
2 parents 7ec4d8f + 299c3aa commit e00a053

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)