[−][src]Type Definition stm32l0::stm32l0x2::gpioa::moder::MODE0_R
type MODE0_R = R<u8, MODE0_A>;
Reader of field MODE0
Methods
impl MODE0_R
[src]
pub fn variant(&self) -> MODE0_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
pub fn is_alternate(&self) -> bool
[src]
Checks if the value of the field is ALTERNATE
pub fn is_analog(&self) -> bool
[src]
Checks if the value of the field is ANALOG