Type Alias atsame70n21b::afec0::emr::CMPMODE_W
source · pub type CMPMODE_W<'a, const O: u8> = FieldWriterSafe<'a, EMR_SPEC, 2, O, CMPMODESELECT_A>;
Expand description
Field CMPMODE
writer - Comparison Mode
Aliased Type§
struct CMPMODE_W<'a, const O: u8> { /* private fields */ }
Implementations§
source§impl<'a, const O: u8> CMPMODE_W<'a, O>
impl<'a, const O: u8> CMPMODE_W<'a, O>
sourcepub fn low(self) -> &'a mut W
pub fn low(self) -> &'a mut W
Generates an event when the converted data is lower than the low threshold of the window.
sourcepub fn high(self) -> &'a mut W
pub fn high(self) -> &'a mut W
Generates an event when the converted data is higher than the high threshold of the window.