Struct efm32lg390_pac::acmp1::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {
pub ctrl: Reg<CTRL_SPEC>,
pub inputsel: Reg<INPUTSEL_SPEC>,
pub status: Reg<STATUS_SPEC>,
pub ien: Reg<IEN_SPEC>,
pub if_: Reg<IF_SPEC>,
pub ifs: Reg<IFS_SPEC>,
pub ifc: Reg<IFC_SPEC>,
pub route: Reg<ROUTE_SPEC>,
}
Expand description
Register block
Fields
ctrl: Reg<CTRL_SPEC>
0x00 - Control Register
inputsel: Reg<INPUTSEL_SPEC>
0x04 - Input Selection Register
status: Reg<STATUS_SPEC>
0x08 - Status Register
ien: Reg<IEN_SPEC>
0x0c - Interrupt Enable Register
if_: Reg<IF_SPEC>
0x10 - Interrupt Flag Register
ifs: Reg<IFS_SPEC>
0x14 - Interrupt Flag Set Register
ifc: Reg<IFC_SPEC>
0x18 - Interrupt Flag Clear Register
route: Reg<ROUTE_SPEC>
0x1c - I/O Routing Register
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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