[][src]Type Definition lpc11xx::gpio0::dir::DIR2_R

type DIR2_R = R<bool, DIR2_A>;

Reader of field DIR2

Methods

impl DIR2_R[src]

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

Get enumerated values variant

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

Checks if the value of the field is INPUT

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

Checks if the value of the field is OUTPUT