Type Definition atsam4n8c_pac::adc::tempmr::TEMPCMPMOD_W

source ·
pub type TEMPCMPMOD_W<'a, const O: u8> = FieldWriterSafe<'a, u32, TEMPMR_SPEC, u8, TEMPCMPMOD_A, 2, O>;
Expand description

Field TEMPCMPMOD writer - Temperature Comparison Mode

Implementations§

source§

impl<'a, const O: u8> TEMPCMPMOD_W<'a, O>

source

pub fn low(self) -> &'a mut W

Generates an event when the converted data is lower than the low threshold of the window.

source

pub fn high(self) -> &'a mut W

Generates an event when the converted data is higher than the high threshold of the window.

source

pub fn in_(self) -> &'a mut W

Generates an event when the converted data is in the comparison window.

source

pub fn out(self) -> &'a mut W

Generates an event when the converted data is out of the comparison window.