RegisterBlock

Struct RegisterBlock 

Source
pub struct RegisterBlock { /* private fields */ }
Expand description

Register block

Implementations§

Source§

impl RegisterBlock

Source

pub const fn ac_dac_dpc(&self) -> &AC_DAC_DPC

0x00 - DAC Digital Part Control Register

Source

pub const fn dac_vol_ctrl(&self) -> &DAC_VOL_CTRL

0x04 - DAC Volume Control Register

Source

pub const fn ac_dac_fifoc(&self) -> &AC_DAC_FIFOC

0x10 - DAC FIFO Control Register

Source

pub const fn ac_dac_fifos(&self) -> &AC_DAC_FIFOS

0x14 - DAC FIFO Status Register

Source

pub const fn ac_dac_txdata(&self) -> &AC_DAC_TXDATA

0x20 - DAC TX DATA Register

Source

pub const fn ac_dac_cnt(&self) -> &AC_DAC_CNT

0x24 - DAC TX FIFO Counter Register

Source

pub const fn ac_dac_dg(&self) -> &AC_DAC_DG

0x28 - DAC Debug Register

Source

pub const fn ac_adc_fifoc(&self) -> &AC_ADC_FIFOC

0x30 - ADC FIFO Control Register

Source

pub const fn adc_vol_ctrl1(&self) -> &ADC_VOL_CTRL1

0x34 - ADC Volume Control1 Register

Source

pub const fn ac_adc_fifos(&self) -> &AC_ADC_FIFOS

0x38 - ADC FIFO Status Register

Source

pub const fn ac_adc_rxdata(&self) -> &AC_ADC_RXDATA

0x40 - ADC RX Data Register

Source

pub const fn ac_adc_cnt(&self) -> &AC_ADC_CNT

0x44 - ADC RX Counter Register

Source

pub const fn ac_adc_dg(&self) -> &AC_ADC_DG

0x4c - ADC Debug Register

Source

pub const fn adc_dig_ctrl(&self) -> &ADC_DIG_CTRL

0x50 - ADC Digtial Control Register

Source

pub const fn vra1speedup_ctrl(&self) -> &VRA1SPEEDUP_CTRL

0x54 - VRA1 Speedup Down Control Register

Source

pub const fn ac_dac_dap_ctr(&self) -> &AC_DAC_DAP_CTR

0xf0 - DAC DAP Control Register

Source

pub const fn ac_adc_dap_ctr(&self) -> &AC_ADC_DAP_CTR

0xf8 - ADC DAP Control Register

Source

pub const fn ac_dac_drc_hhpfc(&self) -> &AC_DAC_DRC_HHPFC

0x100 - DAC DRC High HPF Coef Register

Source

pub const fn ac_dac_drc_lhpfc(&self) -> &AC_DAC_DRC_LHPFC

0x104 - DAC DRC Low HPF Coef Register

Source

pub const fn ac_dac_drc_ctrl(&self) -> &AC_DAC_DRC_CTRL

0x108 - DAC DRC Control Register

Source

pub const fn ac_dac_drc_lpfhat(&self) -> &AC_DAC_DRC_LPFHAT

0x10c - DAC DRC Left Peak Filter High Attack Time Coef Register

Source

pub const fn ac_dac_drc_lpflat(&self) -> &AC_DAC_DRC_LPFLAT

0x110 - DAC DRC Left Peak Filter Low Attack Time Coef Register

Source

pub const fn ac_dac_drc_rpfhat(&self) -> &AC_DAC_DRC_RPFHAT

0x114 - DAC DRC Right Peak Filter High Attack Time Coef Register

Source

pub const fn ac_dac_drc_rpflat(&self) -> &AC_DAC_DRC_RPFLAT

0x118 - DAC DRC Peak Filter Low Attack Time Coef Register

Source

pub const fn ac_dac_drc_lpfhrt(&self) -> &AC_DAC_DRC_LPFHRT

0x11c - DAC DRC Left Peak Filter High Release Time Coef Register

Source

pub const fn ac_dac_drc_lpflrt(&self) -> &AC_DAC_DRC_LPFLRT

0x120 - DAC DRC Left Peak Filter Low Release Time Coef Register

Source

pub const fn ac_dac_drc_rpfhrt(&self) -> &AC_DAC_DRC_RPFHRT

0x124 - DAC DRC Right Peak filter High Release Time Coef Register

Source

pub const fn ac_dac_drc_rpflrt(&self) -> &AC_DAC_DRC_RPFLRT

0x128 - DAC DRC Right Peak filter Low Release Time Coef Register

Source

pub const fn ac_dac_drc_lrmshat(&self) -> &AC_DAC_DRC_LRMSHAT

0x12c - DAC DRC Left RMS Filter High Coef Register

Source

pub const fn ac_dac_drc_lrmslat(&self) -> &AC_DAC_DRC_LRMSLAT

0x130 - DAC DRC Left RMS Filter Low Coef Register

Source

pub const fn ac_dac_drc_rrmshat(&self) -> &AC_DAC_DRC_RRMSHAT

0x134 - DAC DRC Right RMS Filter High Coef Register

Source

pub const fn ac_dac_drc_rrmslat(&self) -> &AC_DAC_DRC_RRMSLAT

0x138 - DAC DRC Right RMS Filter Low Coef Register

Source

pub const fn ac_dac_drc_hct(&self) -> &AC_DAC_DRC_HCT

0x13c - DAC DRC Compressor Threshold High Setting Register

Source

pub const fn ac_dac_drc_lct(&self) -> &AC_DAC_DRC_LCT

0x140 - DAC DRC Compressor Slope High Setting Register

Source

pub const fn ac_dac_drc_hkc(&self) -> &AC_DAC_DRC_HKC

0x144 - DAC DRC Compressor Slope High Setting Register

Source

pub const fn ac_dac_drc_lkc(&self) -> &AC_DAC_DRC_LKC

0x148 - DAC DRC Compressor Slope Low Setting Register

Source

pub const fn ac_dac_drc_hopc(&self) -> &AC_DAC_DRC_HOPC

0x14c - DAC DRC Compressor High Output at Compressor Threshold Register

Source

pub const fn ac_dac_drc_lopc(&self) -> &AC_DAC_DRC_LOPC

0x150 - DAC DRC Compressor Low Output at Compressor Threshold Register

Source

pub const fn ac_dac_drc_hlt(&self) -> &AC_DAC_DRC_HLT

0x154 - DAC DRC Limiter Threshold High Setting Register

Source

pub const fn ac_dac_drc_llt(&self) -> &AC_DAC_DRC_LLT

0x158 - DAC DRC Limiter Threshold Low Setting Register

Source

pub const fn ac_dac_drc_hkl(&self) -> &AC_DAC_DRC_HKL

0x15c - DAC DRC Limiter Slope High Setting Register

Source

pub const fn ac_dac_drc_lkl(&self) -> &AC_DAC_DRC_LKL

0x160 - DAC DRC Limiter Slope Low Setting Register

Source

pub const fn ac_dac_drc_hopl(&self) -> &AC_DAC_DRC_HOPL

0x164 - DAC DRC Limiter High Output at Limiter Threshold

Source

pub const fn ac_dac_drc_lopl(&self) -> &AC_DAC_DRC_LOPL

0x168 - DAC DRC Limiter Low Output at Limiter Threshold

Source

pub const fn ac_dac_drc_het(&self) -> &AC_DAC_DRC_HET

0x16c - DAC DRC Expander Threshold High Setting Register

Source

pub const fn ac_dac_drc_let(&self) -> &AC_DAC_DRC_LET

0x170 - DAC DRC Expander Threshold Low Setting Register

Source

pub const fn ac_dac_drc_hke(&self) -> &AC_DAC_DRC_HKE

0x174 - DAC DRC Expander Slope High Setting Register

Source

pub const fn ac_dac_drc_lke(&self) -> &AC_DAC_DRC_LKE

0x178 - DAC DRC Expander Slope Low Setting Register

Source

pub const fn ac_dac_drc_hope(&self) -> &AC_DAC_DRC_HOPE

0x17c - DAC DRC Expander High Output at Expander Threshold

Source

pub const fn ac_dac_drc_lope(&self) -> &AC_DAC_DRC_LOPE

0x180 - DAC DRC Expander Low Output at Expander Threshold

Source

pub const fn ac_dac_drc_hkn(&self) -> &AC_DAC_DRC_HKN

0x184 - DAC DRC Linear Slope High Setting Register

Source

pub const fn ac_dac_drc_lkn(&self) -> &AC_DAC_DRC_LKN

0x188 - DAC DRC Linear Slope Low Setting Register

Source

pub const fn ac_dac_drc_sfhat(&self) -> &AC_DAC_DRC_SFHAT

0x18c - DAC DRC Smooth filter Gain High Attack Time Coef Register

Source

pub const fn ac_dac_drc_sflat(&self) -> &AC_DAC_DRC_SFLAT

0x190 - DAC DRC Smooth filter Gain Low Attack Time Coef Register

Source

pub const fn ac_dac_drc_sfhrt(&self) -> &AC_DAC_DRC_SFHRT

0x194 - DAC DRC Smooth filter Gain High Release Time Coef Register

Source

pub const fn ac_dac_drc_sflrt(&self) -> &AC_DAC_DRC_SFLRT

0x198 - DAC DRC Smooth filter Gain Low Release Time Coef Register

Source

pub const fn ac_dac_drc_mxghs(&self) -> &AC_DAC_DRC_MXGHS

0x19c - DAC DRC MAX Gain High Setting Register

Source

pub const fn ac_dac_drc_mxgls(&self) -> &AC_DAC_DRC_MXGLS

0x1a0 - DAC DRC MAX Gain Low Setting Register

Source

pub const fn ac_dac_drc_mnghs(&self) -> &AC_DAC_DRC_MNGHS

0x1a4 - DAC DRC MIN Gain High Setting Register

Source

pub const fn ac_dac_drc_mngls(&self) -> &AC_DAC_DRC_MNGLS

0x1a8 - DAC DRC MIN Gain Low Setting Register

Source

pub const fn ac_dac_drc_epshc(&self) -> &AC_DAC_DRC_EPSHC

0x1ac - DAC DRC Expander Smooth Time High Coef Register

Source

pub const fn ac_dac_drc_epslc(&self) -> &AC_DAC_DRC_EPSLC

0x1b0 - DAC DRC Expander Smooth Time Low Coef Register

Source

pub const fn ac_dac_drc_hpfhgain(&self) -> &AC_DAC_DRC_HPFHGAIN

0x1b8 - DAC DRC HPF Gain High Coef Register

Source

pub const fn ac_dac_drc_hpflgain(&self) -> &AC_DAC_DRC_HPFLGAIN

0x1bc - DAC DRC HPF Gain Low Coef Register

Source

pub const fn ac_adc_drc_hhpfc(&self) -> &AC_ADC_DRC_HHPFC

0x200 - ADC DRC High HPF Coef Register

Source

pub const fn ac_adc_drc_lhpfc(&self) -> &AC_ADC_DRC_LHPFC

0x204 - ADC DRC Low HPF Coef Register

Source

pub const fn ac_adc_drc_ctrl(&self) -> &AC_ADC_DRC_CTRL

0x208 - ADC DRC Control Register

Source

pub const fn ac_adc_drc_lpfhat(&self) -> &AC_ADC_DRC_LPFHAT

0x20c - ADC DRC Left Peak Filter High Attack Time Coef Register

Source

pub const fn ac_adc_drc_lpflat(&self) -> &AC_ADC_DRC_LPFLAT

0x210 - ADC DRC Left Peak Filter Low Attack Time Coef Register

Source

pub const fn ac_adc_drc_rpfhat(&self) -> &AC_ADC_DRC_RPFHAT

0x214 - ADC DRC Right Peak Filter High Attack Time Coef Register

Source

pub const fn ac_adc_drc_rpflat(&self) -> &AC_ADC_DRC_RPFLAT

0x218 - ADC DRC Right Peak Filter Low Attack Time Coef Register

Source

pub const fn ac_adc_drc_lpfhrt(&self) -> &AC_ADC_DRC_LPFHRT

0x21c - ADC DRC Left Peak Filter High Release Time Coef Register

Source

pub const fn ac_adc_drc_lpflrt(&self) -> &AC_ADC_DRC_LPFLRT

0x220 - ADC DRC Left Peak Filter Low Release Time Coef Register

Source

pub const fn ac_adc_drc_rpfhrt(&self) -> &AC_ADC_DRC_RPFHRT

0x224 - ADC DRC Right Peak Filter High Release Time Coef Register

Source

pub const fn ac_adc_drc_rpflrt(&self) -> &AC_ADC_DRC_RPFLRT

0x228 - ADC DRC Right Peak Filter Low Release Time Coef Register

Source

pub const fn ac_adc_drc_lrmshat(&self) -> &AC_ADC_DRC_LRMSHAT

0x22c - ADC DRC Left RMS Filter High Coef Register

Source

pub const fn ac_adc_drc_lrmslat(&self) -> &AC_ADC_DRC_LRMSLAT

0x230 - ADC DRC Left RMS Filter Low Coef Register

Source

pub const fn ac_adc_drc_rrmshat(&self) -> &AC_ADC_DRC_RRMSHAT

0x234 - ADC DRC Right RMS Filter High Coef Register

Source

pub const fn ac_adc_drc_rrmslat(&self) -> &AC_ADC_DRC_RRMSLAT

0x238 - ADC DRC Right RMS Filter Low Coef Register

Source

pub const fn ac_adc_drc_hct(&self) -> &AC_ADC_DRC_HCT

0x23c - ADC DRC Compressor Threshold High Setting Register

Source

pub const fn ac_adc_drc_lct(&self) -> &AC_ADC_DRC_LCT

0x240 - ADC DRC Compressor Slope High Setting Register

Source

pub const fn ac_adc_drc_hkc(&self) -> &AC_ADC_DRC_HKC

0x244 - ADC DRC Compressor Slope High Setting Register

Source

pub const fn ac_adc_drc_lkc(&self) -> &AC_ADC_DRC_LKC

0x248 - ADC DRC Compressor Slope Low Setting Register

Source

pub const fn ac_adc_drc_hopc(&self) -> &AC_ADC_DRC_HOPC

0x24c - ADC DRC Compressor High Output at Compressor Threshold Register

Source

pub const fn ac_adc_drc_lopc(&self) -> &AC_ADC_DRC_LOPC

0x250 - ADC DRC Compressor Low Output at Compressor Threshold Register

Source

pub const fn ac_adc_drc_hlt(&self) -> &AC_ADC_DRC_HLT

0x254 - ADC DRC Limiter Threshold High Setting Register

Source

pub const fn ac_adc_drc_llt(&self) -> &AC_ADC_DRC_LLT

0x258 - ADC DRC Limiter Threshold Low Setting Register

Source

pub const fn ac_adc_drc_hkl(&self) -> &AC_ADC_DRC_HKL

0x25c - ADC DRC Limiter Slope High Setting Register

Source

pub const fn ac_adc_drc_lkl(&self) -> &AC_ADC_DRC_LKL

0x260 - ADC DRC Limiter Slope Low Setting Register

Source

pub const fn ac_adc_drc_hopl(&self) -> &AC_ADC_DRC_HOPL

0x264 - ADC DRC Limiter High Output at Limiter Threshold

Source

pub const fn ac_adc_drc_lopl(&self) -> &AC_ADC_DRC_LOPL

0x268 - ADC DRC Limiter Low Output at Limiter Threshold

Source

pub const fn ac_adc_drc_het(&self) -> &AC_ADC_DRC_HET

0x26c - ADC DRC Expander Threshold High Setting Register

Source

pub const fn ac_adc_drc_let(&self) -> &AC_ADC_DRC_LET

0x270 - ADC DRC Expander Threshold Low Setting Register

Source

pub const fn ac_adc_drc_hke(&self) -> &AC_ADC_DRC_HKE

0x274 - ADC DRC Expander Slope High Setting Register

Source

pub const fn ac_adc_drc_lke(&self) -> &AC_ADC_DRC_LKE

0x278 - ADC DRC Expander Slope Low Setting Register

Source

pub const fn ac_adc_drc_hope(&self) -> &AC_ADC_DRC_HOPE

0x27c - ADC DRC Expander High Output at Expander Threshold

Source

pub const fn ac_adc_drc_lope(&self) -> &AC_ADC_DRC_LOPE

0x280 - ADC DRC Expander Low Output at Expander Threshold

Source

pub const fn ac_adc_drc_hkn(&self) -> &AC_ADC_DRC_HKN

0x284 - ADC DRC Linear Slope High Setting Register

Source

pub const fn ac_adc_drc_lkn(&self) -> &AC_ADC_DRC_LKN

0x288 - ADC DRC Linear Slope Low Setting Register

Source

pub const fn ac_adc_drc_sfhat(&self) -> &AC_ADC_DRC_SFHAT

0x28c - ADC DRC Smooth filter Gain High Attack Time Coef Register

Source

pub const fn ac_adc_drc_sflat(&self) -> &AC_ADC_DRC_SFLAT

0x290 - ADC DRC Smooth filter Gain Low Attack Time Coef Register

Source

pub const fn ac_adc_drc_sfhrt(&self) -> &AC_ADC_DRC_SFHRT

0x294 - ADC DRC Smooth filter Gain High Release Time Coef Register

Source

pub const fn ac_adc_drc_sflrt(&self) -> &AC_ADC_DRC_SFLRT

0x298 - ADC DRC Smooth filter Gain Low Release Time Coef Register

Source

pub const fn ac_adc_drc_mxghs(&self) -> &AC_ADC_DRC_MXGHS

0x29c - ADC DRC MAX Gain High Setting Register

Source

pub const fn ac_adc_drc_mxgls(&self) -> &AC_ADC_DRC_MXGLS

0x2a0 - ADC DRC MAX Gain Low Setting Register

Source

pub const fn ac_adc_drc_mnghs(&self) -> &AC_ADC_DRC_MNGHS

0x2a4 - ADC DRC MIN Gain High Setting Register

Source

pub const fn ac_adc_drc_mngls(&self) -> &AC_ADC_DRC_MNGLS

0x2a8 - ADC DRC MIN Gain Low Setting Register

Source

pub const fn ac_adc_drc_epshc(&self) -> &AC_ADC_DRC_EPSHC

0x2ac - ADC DRC Expander Smooth Time High Coef Register

Source

pub const fn ac_adc_drc_epslc(&self) -> &AC_ADC_DRC_EPSLC

0x2b0 - ADC DRC Expander Smooth Time Low Coef Register

Source

pub const fn ac_adc_drc_hpfhgain(&self) -> &AC_ADC_DRC_HPFHGAIN

0x2b8 - ADC DRC HPF Gain High Coef Register

Source

pub const fn ac_adc_drc_hpflgain(&self) -> &AC_ADC_DRC_HPFLGAIN

0x2bc - ADC DRC HPF Gain Low Coef Register

Source

pub const fn adc(&self, n: usize) -> &ADC

0x300..0x30c - ADC[i] Analog Control Register

Source

pub const fn dac(&self) -> &DAC

0x310 - DAC Analog Control Register

Source

pub const fn micbias(&self) -> &MICBIAS

0x318 - MICBIAS Analog Control Register

Source

pub const fn ramp(&self) -> &RAMP

0x31c - BIAS Analog Control Register

Source

pub const fn bias(&self) -> &BIAS

0x320 - BIAS Analog Control Register

Source

pub const fn hmic_ctrl(&self) -> &HMIC_CTRL

0x328 - HMIC Control Register

Source

pub const fn hmic_sts(&self) -> &HMIC_STS

0x32c - HMIC Status Register

Source

pub const fn hp2(&self) -> &HP2

0x340 - Headphone2 Analog Control Register

Source

pub const fn power(&self) -> &POWER

0x348 - POWER Analog Control Register

The register is not controlled by the clock and reset of Audio Codec, only controlled by the clock and reset of system bus.

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.