#[repr(C)]pub struct RegisterBlock {Show 13 fields
pub voice_config: Reg<VOICE_CONFIG_SPEC>,
pub lpsd_config: Reg<LPSD_CONFIG_SPEC>,
pub voice_dma_config: Reg<VOICE_DMA_CONFIG_SPEC>,
pub voice_dmac_len: Reg<VOICE_DMAC_LEN_SPEC>,
pub voice_dmac_fifo: Reg<VOICE_DMAC_FIFO_SPEC>,
pub voice_dmac_dst_addr0: Reg<VOICE_DMAC_DST_ADDR0_SPEC>,
pub voice_dmac_dst_addr1: Reg<VOICE_DMAC_DST_ADDR1_SPEC>,
pub pdm_core_config: Reg<PDM_CORE_CONFIG_SPEC>,
pub voice_status: Reg<VOICE_STATUS_SPEC>,
pub i2s_config: Reg<I2S_CONFIG_SPEC>,
pub fifo_sram_cfg: Reg<FIFO_SRAM_CFG_SPEC>,
pub pdma_sram_cfg: Reg<PDMA_SRAM_CFG_SPEC>,
pub dbg_mux_cfg: Reg<DBG_MUX_CFG_SPEC>,
}Expand description
Register block
Fields§
§voice_config: Reg<VOICE_CONFIG_SPEC>0x00 - Audio system configure register
lpsd_config: Reg<LPSD_CONFIG_SPEC>0x04 - LPSD config register
voice_dma_config: Reg<VOICE_DMA_CONFIG_SPEC>0x08 - Audio DMAC configure register
voice_dmac_len: Reg<VOICE_DMAC_LEN_SPEC>0x0c - Audio DMAC length register
voice_dmac_fifo: Reg<VOICE_DMAC_FIFO_SPEC>0x10 - Audio DMAC Buffer offset
voice_dmac_dst_addr0: Reg<VOICE_DMAC_DST_ADDR0_SPEC>0x14 - DMA0 dest address for the first buffer
voice_dmac_dst_addr1: Reg<VOICE_DMAC_DST_ADDR1_SPEC>0x18 - DMA1 dest address for the first buffer
pdm_core_config: Reg<PDM_CORE_CONFIG_SPEC>0x1c - PDM2PCM core configure register
voice_status: Reg<VOICE_STATUS_SPEC>0x20 - Audio Status Register
i2s_config: Reg<I2S_CONFIG_SPEC>0x24 - I2S master configure register
fifo_sram_cfg: Reg<FIFO_SRAM_CFG_SPEC>0x28 - FIFO SRAM configure register
pdma_sram_cfg: Reg<PDMA_SRAM_CFG_SPEC>0x2c - PDM core SRAM configure register
dbg_mux_cfg: Reg<DBG_MUX_CFG_SPEC>0x30 - Audio Debug 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