pub struct GpioteRegisters { /* private fields */ }Expand description
nRF5x GPIOTE Registers
The nRF5x doesn’t automatically provide GPIO interrupts. Instead, to receive interrupts from a GPIO line, you must allocate a GPIOTE (GPIO Task and Event) channel, and bind the channel to the desired pin. There are 4 channels for the nrf51 and 8 channels for the nrf52. This means that requesting an interrupt can fail, if they are all already allocated.
Auto Trait Implementations§
impl !Freeze for GpioteRegisters
impl !RefUnwindSafe for GpioteRegisters
impl Send for GpioteRegisters
impl !Sync for GpioteRegisters
impl Unpin for GpioteRegisters
impl UnsafeUnpin for GpioteRegisters
impl UnwindSafe for GpioteRegisters
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more