[][src]Type Definition nrf51::gpio::dirset::PIN12_R

type PIN12_R = R<bool, PIN12_A>;

Reader of field PIN12

Methods

impl PIN12_R[src]

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