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

type POLARITY_R = R<u8, POLARITY_A>;

Reader of field POLARITY

Methods

impl POLARITY_R[src]

pub fn variant(&self) -> POLARITY_A[src]

Get enumerated values variant

pub fn is_none(&self) -> bool[src]

Checks if the value of the field is NONE

pub fn is_lo_to_hi(&self) -> bool[src]

Checks if the value of the field is LOTOHI

pub fn is_hi_to_lo(&self) -> bool[src]

Checks if the value of the field is HITOLO

pub fn is_toggle(&self) -> bool[src]

Checks if the value of the field is TOGGLE