Struct lpc55_pac::sct0::ev::ev_ctrl::IOCOND_W [−][src]
pub struct IOCOND_W<'a> { /* fields omitted */ }
Field IOCOND
writer - Selects the I/O condition for event n. (The detection of edges on outputs lag the conditions that switch the outputs by one SCT clock). In order to guarantee proper edge/state detection, an input must have a minimum pulse width of at least one SCT clock period .
Implementations
impl<'a> IOCOND_W<'a>
[src]
impl<'a> IOCOND_W<'a>
[src]pub fn variant(self, variant: IOCOND_A) -> &'a mut W
[src]
Writes variant
to the field
pub fn low(self) -> &'a mut W
[src]
LOW
pub fn rise(self) -> &'a mut W
[src]
Rise
pub fn fall(self) -> &'a mut W
[src]
Fall
pub fn high(self) -> &'a mut W
[src]
HIGH
pub fn bits(self, value: u8) -> &'a mut W
[src]
Writes raw bits to the field