Struct bcm2711_pac::ap804::Registers
source · [−]#[repr(C)]pub struct Registers {
pub load: ReadWrite<u32>,
pub value: ReadOnly<u32>,
pub control: ReadWrite<u32, Register>,
pub irqcntl: WriteOnly<u32, Register>,
pub rawirq: ReadOnly<u32, Register>,
pub mskirq: ReadOnly<u32, Register>,
pub reload: ReadWrite<u32>,
pub prediv: ReadWrite<u32, Register>,
pub freecnt: ReadOnly<u32>,
}Fields
load: ReadWrite<u32>Load
value: ReadOnly<u32>Value (Read-Only)
control: ReadWrite<u32, Register>Control
irqcntl: WriteOnly<u32, Register>IRQ Clear/Ack (Write-Only)
rawirq: ReadOnly<u32, Register>RAW IRQ (Read-Only)
mskirq: ReadOnly<u32, Register>Masked IRQ (Read-Only)
reload: ReadWrite<u32>Reload
prediv: ReadWrite<u32, Register>Pre-divider (Not in real 804!)
freecnt: ReadOnly<u32>Free running counter (Not in real 804!)
Auto Trait Implementations
impl !RefUnwindSafe for Registers
impl Send for Registers
impl !Sync for Registers
impl Unpin for Registers
impl UnwindSafe for Registers
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