Struct nrf5x::gpio::Port
[−]
[src]
pub struct Port { pins: [GPIOPin; 32], }
Fields
pins: [GPIOPin; 32]
Methods
impl Port
[src]
pub fn handle_interrupt(&self)
[src]
GPIOTE interrupt: check each of 4 GPIOTE channels, if any has fired then trigger its corresponding pin's interrupt handler.
Trait Implementations
impl Index<usize> for Port
[src]
type Output = GPIOPin
The returned type after indexing.
fn index(&self, index: usize) -> &GPIOPin
[src]
Performs the indexing (container[index]
) operation.