#[repr(C)]pub struct RegisterBlock {
pub channel: [CHANNEL; 4],
pub intr_stat: INTR_STAT,
pub eoi: EOI,
pub raw_intr_stat: RAW_INTR_STAT,
pub comp_version: COMP_VERSION,
pub load_count2: [LOAD_COUNT2; 4],
/* private fields */
}Expand description
Register block
Fields§
§channel: [CHANNEL; 4]0x00 - Channel cluster: load_count, current_value, control, eoi and intr_stat registers
intr_stat: INTR_STAT0xa0 - Interrupt Status Register
eoi: EOI0xa4 - Interrupt Clear Register
raw_intr_stat: RAW_INTR_STAT0xa8 - Raw Interrupt Status Register
comp_version: COMP_VERSION0xac - Component Version Register
load_count2: [LOAD_COUNT2; 4]0xb0 - Load Count2 Register
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