[][src]Type Definition nrf51::gpiote::config::R

type R = R<u32, CONFIG>;

Reader of register CONFIG[%s]

Methods

impl R[src]

pub fn mode(&self) -> MODE_R[src]

Bits 0:1 - Mode

pub fn psel(&self) -> PSEL_R[src]

Bits 8:12 - Pin select.

pub fn polarity(&self) -> POLARITY_R[src]

Bits 16:17 - Effects on output when in Task mode, or events on input that generates an event.

pub fn outinit(&self) -> OUTINIT_R[src]

Bit 20 - Initial value of the output when the GPIOTE channel is configured as a Task.