[][src]Type Definition nrf51::gpio::outclr::PIN2_R

type PIN2_R = R<bool, PIN2_A>;

Reader of field PIN2

Methods

impl PIN2_R[src]

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

Get enumerated values variant

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

Checks if the value of the field is LOW

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

Checks if the value of the field is HIGH