[][src]Type Definition lpc11xx::gpio0::data::DATA2_R

type DATA2_R = R<bool, DATA2_A>;

Reader of field DATA2

Methods

impl DATA2_R[src]

pub fn variant(&self) -> DATA2_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