# W in k210_pac::apu::ch_cfg - Rust
Writer for register ch_cfg
Keywords: rust, rustlang, rust-lang, W

# Type Definition k210_pac::apu::ch_cfg::W

source · [−]

    pub type W = W<u32, CH_CFG>;

Expand description

Writer for register ch_cfg

## Implementations

source

### impl W

source

#### pub fn sound_ch_en(&mut self) -> SOUND_CH_EN_W<'_>

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

source

#### pub fn target_dir(&mut self) -> TARGET_DIR_W<'_>

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

source

#### pub fn audio_gain(&mut self) -> AUDIO_GAIN_W<'_>

Bits 12:22 - Audio sample gain factor

source

#### pub fn data_src_mode(&mut self) -> DATA_SRC_MODE_W<'_>

Bit 24 - Audio data source configure parameter

source

#### pub fn we_sound_ch_en(&mut self) -> WE_SOUND_CH_EN_W<'_>

Bit 28 - Write enable for sound_ch_en parameter

source

#### pub fn we_target_dir(&mut self) -> WE_TARGET_DIR_W<'_>

Bit 29 - Write enable for target_dir parameter

source

#### pub fn we_audio_gain(&mut self) -> WE_AUDIO_GAIN_W<'_>

Bit 30 - Write enable for audio_gain parameter

source

#### pub fn we_data_src_mode(&mut self) -> WE_DATA_SRC_MODE_W<'_>

Bit 31 - Write enable for data_out_mode parameter