R

Type Alias R 

Source
pub type R = R<DAC_SPEC>;
Expand description

Register dac reader

Aliased Type§

pub struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn lineout_vol_ctrl(&self) -> LINEOUT_VOL_CTRL_R

Bits 0:4 - LINEOUT Volume Control.

Total 30 level from 0x1F to 0x02 with the volume 0 dB to -43.5 dB, -1.5 dB/step, mute when 00000 or 00001

Source

pub fn lineoutr_diffen(&self) -> LINEOUTR_DIFFEN_R

Bit 5 - Right Channel LINEOUT Output Control

Source

pub fn lineoutl_diffen(&self) -> LINEOUTL_DIFFEN_R

Bit 6 - Left Channel LINEOUT Output Control

Source

pub fn rmute(&self) -> RMUTE_R

Bit 10 - DACR to Right Channel LINEOUT Mute Control

Source

pub fn lineoutren(&self) -> LINEOUTREN_R

Bit 11 - Right Channel LINEOUT Enable

Source

pub fn lmute(&self) -> LMUTE_R

Bit 12 - DACL to Left Channel LINEOUT Mute Control

Source

pub fn lineoutlen(&self) -> LINEOUTLEN_R

Bit 13 - Left Channel LINEOUT Enable

Source

pub fn dacr_en(&self) -> DACR_EN_R

Bit 14 - DACR Enable

Source

pub fn dacl_en(&self) -> DACL_EN_R

Bit 15 - DACL Enable

Source

pub fn iopdacs(&self) -> IOPDACS_R

Bits 16:17 - OPDAC L/R Bias Current Select

Source

pub fn ilineoutamps(&self) -> ILINEOUTAMPS_R

Bits 18:19 - LINEOUT L/R AMP Bias Current Select

Source

pub fn iopvrs(&self) -> IOPVRS_R

Bits 20:21 - VRA2 Buffer OP and Headphone Feedback Buffer OP Bias Current Select

Source

pub fn current_test_select(&self) -> CURRENT_TEST_SELECT_R

Bit 23 - Internal Current Sink Test Enable (from MICIN3P pin)