#[repr(C)]pub struct RegisterBlock {
pub config: CONFIG,
pub interrupt_state: INTERRUPT_STATE,
pub base_clock: BASE_CLOCK,
pub fifo_config_0: FIFO_CONFIG_0,
pub fifo_config_1: FIFO_CONFIG_1,
pub data_write: DATA_WRITE,
pub data_read: DATA_READ,
/* private fields */
}Expand description
Register block
Fields§
§config: CONFIG0x00 - Function configuration register
interrupt_state: INTERRUPT_STATE0x04 - Interrupt enables, masks and states
base_clock: BASE_CLOCK0x10 - Base clock divider
fifo_config_0: FIFO_CONFIG_00x80 - FIFO configuration register 0
fifo_config_1: FIFO_CONFIG_10x84 - FIFO configuration register 1
data_write: DATA_WRITE0x88 - FIFO write data register
data_read: DATA_READ0x8c - FIFO read data 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