pub struct RegisterBlock { /* private fields */ }Expand description
Register block
Implementations§
Source§impl RegisterBlock
impl RegisterBlock
Sourcepub const fn bus_priority(&self) -> &Reg<BUS_PRIORITY_SPEC>
pub const fn bus_priority(&self) -> &Reg<BUS_PRIORITY_SPEC>
0x00 - Set the priority of each master for bus arbitration.
Sourcepub const fn bus_priority_ack(&self) -> &Reg<BUS_PRIORITY_ACK_SPEC>
pub const fn bus_priority_ack(&self) -> &Reg<BUS_PRIORITY_ACK_SPEC>
0x04 - Bus priority acknowledge
Sourcepub const fn perfctr_en(&self) -> &Reg<PERFCTR_EN_SPEC>
pub const fn perfctr_en(&self) -> &Reg<PERFCTR_EN_SPEC>
0x08 - Enable the performance counters. If 0, the performance counters do not increment. This can be used to precisely start/stop event sampling around the profiled section of code. The performance counters are initially disabled, to save energy.
Sourcepub const fn perfctr0(&self) -> &Reg<PERFCTR0_SPEC>
pub const fn perfctr0(&self) -> &Reg<PERFCTR0_SPEC>
0x0c - Bus fabric performance counter 0
Sourcepub const fn perfsel0(&self) -> &Reg<PERFSEL0_SPEC>
pub const fn perfsel0(&self) -> &Reg<PERFSEL0_SPEC>
0x10 - Bus fabric performance event select for PERFCTR0
Sourcepub const fn perfctr1(&self) -> &Reg<PERFCTR1_SPEC>
pub const fn perfctr1(&self) -> &Reg<PERFCTR1_SPEC>
0x14 - Bus fabric performance counter 1
Sourcepub const fn perfsel1(&self) -> &Reg<PERFSEL1_SPEC>
pub const fn perfsel1(&self) -> &Reg<PERFSEL1_SPEC>
0x18 - Bus fabric performance event select for PERFCTR1
Sourcepub const fn perfctr2(&self) -> &Reg<PERFCTR2_SPEC>
pub const fn perfctr2(&self) -> &Reg<PERFCTR2_SPEC>
0x1c - Bus fabric performance counter 2
Sourcepub const fn perfsel2(&self) -> &Reg<PERFSEL2_SPEC>
pub const fn perfsel2(&self) -> &Reg<PERFSEL2_SPEC>
0x20 - Bus fabric performance event select for PERFCTR2
Sourcepub const fn perfctr3(&self) -> &Reg<PERFCTR3_SPEC>
pub const fn perfctr3(&self) -> &Reg<PERFCTR3_SPEC>
0x24 - Bus fabric performance counter 3
Sourcepub const fn perfsel3(&self) -> &Reg<PERFSEL3_SPEC>
pub const fn perfsel3(&self) -> &Reg<PERFSEL3_SPEC>
0x28 - Bus fabric performance event select for PERFCTR3
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more