Struct microbit::hal::pac::mwu::RegisterBlock [−]
#[repr(C)]pub struct RegisterBlock {}Show fields
pub events_region: [EVENTS_REGION; 4], pub events_pregion: [EVENTS_PREGION; 2], pub inten: Reg<u32, _INTEN>, pub intenset: Reg<u32, _INTENSET>, pub intenclr: Reg<u32, _INTENCLR>, pub nmien: Reg<u32, _NMIEN>, pub nmienset: Reg<u32, _NMIENSET>, pub nmienclr: Reg<u32, _NMIENCLR>, pub perregion: [PERREGION; 2], pub regionen: Reg<u32, _REGIONEN>, pub regionenset: Reg<u32, _REGIONENSET>, pub regionenclr: Reg<u32, _REGIONENCLR>, pub region0: REGION, pub region1: REGION, pub region2: REGION, pub region3: REGION, pub pregion0: PREGION, pub pregion1: PREGION, // some fields omitted
Expand description
Register block
Fields
events_region: [EVENTS_REGION; 4]0x100 - Peripheral events.
events_pregion: [EVENTS_PREGION; 2]0x160 - Peripheral events.
inten: Reg<u32, _INTEN>0x300 - Enable or disable interrupt
intenset: Reg<u32, _INTENSET>0x304 - Enable interrupt
intenclr: Reg<u32, _INTENCLR>0x308 - Disable interrupt
nmien: Reg<u32, _NMIEN>0x320 - Enable or disable interrupt
nmienset: Reg<u32, _NMIENSET>0x324 - Enable interrupt
nmienclr: Reg<u32, _NMIENCLR>0x328 - Disable interrupt
perregion: [PERREGION; 2]0x400 - Unspecified
regionen: Reg<u32, _REGIONEN>0x510 - Enable/disable regions watch
regionenset: Reg<u32, _REGIONENSET>0x514 - Enable regions watch
regionenclr: Reg<u32, _REGIONENCLR>0x518 - Disable regions watch
region0: REGION0x600 - Unspecified
region1: REGION0x610 - Unspecified
region2: REGION0x620 - Unspecified
region3: REGION0x630 - Unspecified
pregion0: PREGION0x6c0 - Unspecified
pregion1: PREGION0x6d0 - Unspecified
Auto Trait Implementations
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> CheckedAs for T[src]
impl<T> CheckedAs for T[src]pub fn checked_as<Dst>(self) -> Option<Dst> where
T: CheckedCast<Dst>, [src]
pub fn checked_as<Dst>(self) -> Option<Dst> where
T: CheckedCast<Dst>, [src]Casts the value.
impl<Src, Dst> LosslessTryInto<Dst> for Src where
Dst: LosslessTryFrom<Src>, [src]
impl<Src, Dst> LosslessTryInto<Dst> for Src where
Dst: LosslessTryFrom<Src>, [src]pub fn lossless_try_into(self) -> Option<Dst>[src]
pub fn lossless_try_into(self) -> Option<Dst>[src]Performs the conversion.
impl<Src, Dst> LossyInto<Dst> for Src where
Dst: LossyFrom<Src>, [src]
impl<Src, Dst> LossyInto<Dst> for Src where
Dst: LossyFrom<Src>, [src]pub fn lossy_into(self) -> Dst[src]
pub fn lossy_into(self) -> Dst[src]Performs the conversion.
impl<T> OverflowingAs for T[src]
impl<T> OverflowingAs for T[src]pub fn overflowing_as<Dst>(self) -> (Dst, bool) where
T: OverflowingCast<Dst>, [src]
pub fn overflowing_as<Dst>(self) -> (Dst, bool) where
T: OverflowingCast<Dst>, [src]Casts the value.
impl<T> Same<T> for T
impl<T> Same<T> for Ttype Output = T
type Output = TShould always be Self
impl<T> SaturatingAs for T[src]
impl<T> SaturatingAs for T[src]pub fn saturating_as<Dst>(self) -> Dst where
T: SaturatingCast<Dst>, [src]
pub fn saturating_as<Dst>(self) -> Dst where
T: SaturatingCast<Dst>, [src]Casts the value.
impl<T> UnwrappedAs for T[src]
impl<T> UnwrappedAs for T[src]pub fn unwrapped_as<Dst>(self) -> Dst where
T: UnwrappedCast<Dst>, [src]
pub fn unwrapped_as<Dst>(self) -> Dst where
T: UnwrappedCast<Dst>, [src]Casts the value.
impl<T> WrappingAs for T[src]
impl<T> WrappingAs for T[src]pub fn wrapping_as<Dst>(self) -> Dst where
T: WrappingCast<Dst>, [src]
pub fn wrapping_as<Dst>(self) -> Dst where
T: WrappingCast<Dst>, [src]Casts the value.