Struct efm32tg11b340_pac::acmp0::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {Show 14 fields
pub ctrl: Reg<CTRL_SPEC>,
pub inputsel: Reg<INPUTSEL_SPEC>,
pub status: Reg<STATUS_SPEC>,
pub if_: Reg<IF_SPEC>,
pub ifs: Reg<IFS_SPEC>,
pub ifc: Reg<IFC_SPEC>,
pub ien: Reg<IEN_SPEC>,
pub aportreq: Reg<APORTREQ_SPEC>,
pub aportconflict: Reg<APORTCONFLICT_SPEC>,
pub hysteresis0: Reg<HYSTERESIS0_SPEC>,
pub hysteresis1: Reg<HYSTERESIS1_SPEC>,
pub routepen: Reg<ROUTEPEN_SPEC>,
pub routeloc0: Reg<ROUTELOC0_SPEC>,
pub extifctrl: Reg<EXTIFCTRL_SPEC>,
/* private fields */
}
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
if_: Reg<IF_SPEC>
0x0c - Interrupt Flag Register
ifs: Reg<IFS_SPEC>
0x10 - Interrupt Flag Set Register
ifc: Reg<IFC_SPEC>
0x14 - Interrupt Flag Clear Register
ien: Reg<IEN_SPEC>
0x18 - Interrupt Enable Register
aportreq: Reg<APORTREQ_SPEC>
0x20 - APORT Request Status Register
aportconflict: Reg<APORTCONFLICT_SPEC>
0x24 - APORT Conflict Status Register
hysteresis0: Reg<HYSTERESIS0_SPEC>
0x28 - Hysteresis 0 Register
hysteresis1: Reg<HYSTERESIS1_SPEC>
0x2c - Hysteresis 1 Register
routepen: Reg<ROUTEPEN_SPEC>
0x40 - I/O Routing Pine Enable Register
routeloc0: Reg<ROUTELOC0_SPEC>
0x44 - I/O Routing Location Register
extifctrl: Reg<EXTIFCTRL_SPEC>
0x48 - External Override Interface Control
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