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

type PIN18_R = R<bool, PIN18_A>;

Reader of field PIN18

Methods

impl PIN18_R[src]

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