astro / embedded-nrf24l01

A pure Rust driver for NRF24L01(+) transceivers on embedded-hal platforms
https://crates.io/crates/embedded-nrf24l01
39 stars 21 forks source link

Added a function to set the interrupt mask #4

Closed diondokter closed 4 years ago

diondokter commented 5 years ago

Title says it all, really...

Couldn't find any function doing this, so I added it. The default is the interrupts turned off and I think that's sensible, but they should be able to be turned on.

astro commented 4 years ago

Cool, thank you!

Are you doing anything useful with that? I'm just curious.

diondokter commented 4 years ago

It's handy if you want an interrupt to wake up the mcu