pub struct RegisterBlock {
pub clock: CLOCK,
pub state: STATE,
pub volume_0: VOLUME_0,
pub volume_1: VOLUME_1,
pub zero_signal: ZERO_SIGNAL,
pub config: CONFIG,
pub fifo_control: FIFO_CONTROL,
pub fifo_state: FIFO_STATE,
pub fifo_data: FIFO_DATA,
/* private fields */
}Expand description
Register block
Fields§
§clock: CLOCK0x00 - Clock control register
state: STATE0x04 - Peripheral state register
volume_0: VOLUME_00x08 - Volume control register 0
volume_1: VOLUME_10x0c - Volume control register 1
zero_signal: ZERO_SIGNAL0x10 - Zero signal detection
config: CONFIG0x14 - Delta-Sigma and mixer control
fifo_control: FIFO_CONTROL0x8c - Controls audio output FIFO
fifo_state: FIFO_STATE0x90 - Gets states of audio output FIFO
fifo_data: FIFO_DATA0x94 - Writes data into audio output FIFO
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl !Sync for RegisterBlock
impl Send for RegisterBlock
impl Unpin for RegisterBlock
impl UnsafeUnpin 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