[−][src]Type Definition stm32l0::stm32l0x2::lptim::cfgr::TRIGEN_R
type TRIGEN_R = R<u8, TRIGEN_A>;
Reader of field TRIGEN
Methods
impl TRIGEN_R
[src]
pub fn variant(&self) -> TRIGEN_A
[src]
Get enumerated values variant
pub fn is_sw(&self) -> bool
[src]
Checks if the value of the field is SW
pub fn is_rising_edge(&self) -> bool
[src]
Checks if the value of the field is RISINGEDGE
pub fn is_falling_edge(&self) -> bool
[src]
Checks if the value of the field is FALLINGEDGE
pub fn is_both_edges(&self) -> bool
[src]
Checks if the value of the field is BOTHEDGES