# R in k210_pac::apu::ch_cfg - Rust
Reader of register ch_cfg
Keywords: rust, rustlang, rust-lang, R

# Type Definition k210_pac::apu::ch_cfg::R

source · [−]

    pub type R = R<u32, CH_CFG>;

Expand description

Reader of register ch_cfg

## Implementations

source

### impl R

source

#### pub fn sound_ch_en(&self) -> SOUND_CH_EN_R

Bits 0:7 - BF unit sound channel enable control bits

source

#### pub fn target_dir(&self) -> TARGET_DIR_R

Bits 8:11 - Target direction select for valid voice output

source

#### pub fn audio_gain(&self) -> AUDIO_GAIN_R

Bits 12:22 - Audio sample gain factor

source

#### pub fn data_src_mode(&self) -> DATA_SRC_MODE_R

Bit 24 - Audio data source configure parameter