#[repr(C)]pub struct RegisterBlock {Show 15 fields
pub ch_cfg: CH_CFG,
pub ctl: CTL,
pub dir_bidx: [DIR_BIDX; 32],
pub pre_fir0_coef: [PRE_FIR0_COEF; 9],
pub post_fir0_coef: [POST_FIR0_COEF; 9],
pub pre_fir1_coef: [PRE_FIR1_COEF; 9],
pub post_fir1_coef: [POST_FIR1_COEF; 9],
pub dwsz_cfg: DWSZ_CFG,
pub fft_cfg: FFT_CFG,
pub sobuf_dma_rdata: SOBUF_DMA_RDATA,
pub vobuf_dma_rdata: VOBUF_DMA_RDATA,
pub int_stat: INT_STAT,
pub int_mask: INT_MASK,
pub sat_counter: SAT_COUNTER,
pub sat_limits: SAT_LIMITS,
}Expand description
Register block
Fields§
§ch_cfg: CH_CFG0x00 - Channel Config Register
ctl: CTL0x04 - Control Register
dir_bidx: [DIR_BIDX; 32]0x08 - Direction Sample Buffer Read Index Configure Register (16 directions * 2 values * 4 indices)
pre_fir0_coef: [PRE_FIR0_COEF; 9]0x88 - FIR0 pre-filter coefficients
post_fir0_coef: [POST_FIR0_COEF; 9]0xac - FIR0 post-filter coefficients
pre_fir1_coef: [PRE_FIR1_COEF; 9]0xd0 - FIR1 pre-filter coeffecients
post_fir1_coef: [POST_FIR1_COEF; 9]0xf4 - FIR1 post-filter coefficients
dwsz_cfg: DWSZ_CFG0x118 - Downsize Config Register
fft_cfg: FFT_CFG0x11c - FFT Config Register
sobuf_dma_rdata: SOBUF_DMA_RDATA0x120 - Read register for DMA to sample-out buffers
vobuf_dma_rdata: VOBUF_DMA_RDATA0x124 - Read register for DMA to voice-out buffers
int_stat: INT_STAT0x128 - Interrupt Status Register
int_mask: INT_MASK0x12c - Interrupt Mask Register
sat_counter: SAT_COUNTER0x130 - Saturation Counter
sat_limits: SAT_LIMITS0x134 - Saturation Limits
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