k210_pac::apu

Struct RegisterBlock

Source
#[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_CFG

0x00 - Channel Config Register

§ctl: CTL

0x04 - 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_CFG

0x118 - Downsize Config Register

§fft_cfg: FFT_CFG

0x11c - FFT Config Register

§sobuf_dma_rdata: SOBUF_DMA_RDATA

0x120 - Read register for DMA to sample-out buffers

§vobuf_dma_rdata: VOBUF_DMA_RDATA

0x124 - Read register for DMA to voice-out buffers

§int_stat: INT_STAT

0x128 - Interrupt Status Register

§int_mask: INT_MASK

0x12c - Interrupt Mask Register

§sat_counter: SAT_COUNTER

0x130 - Saturation Counter

§sat_limits: SAT_LIMITS

0x134 - Saturation Limits

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.