Struct stm32_hal2::pac::comp1::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {
pub sr: Reg<SR_SPEC>,
pub icfr: Reg<ICFR_SPEC>,
pub or: Reg<OR_SPEC>,
pub cfgr1: Reg<CFGR1_SPEC>,
pub cfgr2: Reg<CFGR2_SPEC>,
}
Expand description
Register block
Fields
sr: Reg<SR_SPEC>
0x00 - Comparator status register
icfr: Reg<ICFR_SPEC>
0x04 - Comparator interrupt clear flag register
or: Reg<OR_SPEC>
0x08 - Comparator option register
cfgr1: Reg<CFGR1_SPEC>
0x0c - Comparator configuration register 1
cfgr2: Reg<CFGR2_SPEC>
0x10 - Comparator configuration register 2
Auto Trait Implementations
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more