Struct stm32_metapac::dts::regs::Itr1
#[repr(transparent)]pub struct Itr1(pub u32);
Expand description
Temperature sensor interrupt threshold register 1.
Tuple Fieldsยง
ยง0: u32
Implementationsยง
ยงimpl Itr1
impl Itr1
pub const fn litthd(&self) -> u16
pub const fn litthd(&self) -> u16
Low interrupt threshold for temperature sensor 1 These bits are set and cleared by software. They indicate the lowest value than can be reached before raising an interrupt signal.
pub fn set_litthd(&mut self, val: u16)
pub fn set_litthd(&mut self, val: u16)
Low interrupt threshold for temperature sensor 1 These bits are set and cleared by software. They indicate the lowest value than can be reached before raising an interrupt signal.
pub const fn hitthd(&self) -> u16
pub const fn hitthd(&self) -> u16
High interrupt threshold for temperature sensor 1 These bits are set and cleared by software. They indicate the highest value than can be reached before raising an interrupt signal.
pub fn set_hitthd(&mut self, val: u16)
pub fn set_hitthd(&mut self, val: u16)
High interrupt threshold for temperature sensor 1 These bits are set and cleared by software. They indicate the highest value than can be reached before raising an interrupt signal.