pub type W = W<u32, CH_CFG>;Expand description
Writer for register ch_cfg
Aliased Type§
struct W { /* private fields */ }Implementations§
Source§impl W
impl W
Sourcepub fn sound_ch_en(&mut self) -> SOUND_CH_EN_W<'_>
pub fn sound_ch_en(&mut self) -> SOUND_CH_EN_W<'_>
Bits 0:7 - BF unit sound channel enable control bits
Sourcepub fn target_dir(&mut self) -> TARGET_DIR_W<'_>
pub fn target_dir(&mut self) -> TARGET_DIR_W<'_>
Bits 8:11 - Target direction select for valid voice output
Sourcepub fn audio_gain(&mut self) -> AUDIO_GAIN_W<'_>
pub fn audio_gain(&mut self) -> AUDIO_GAIN_W<'_>
Bits 12:22 - Audio sample gain factor
Sourcepub fn data_src_mode(&mut self) -> DATA_SRC_MODE_W<'_>
pub fn data_src_mode(&mut self) -> DATA_SRC_MODE_W<'_>
Bit 24 - Audio data source configure parameter
Sourcepub fn we_sound_ch_en(&mut self) -> WE_SOUND_CH_EN_W<'_>
pub fn we_sound_ch_en(&mut self) -> WE_SOUND_CH_EN_W<'_>
Bit 28 - Write enable for sound_ch_en parameter
Sourcepub fn we_target_dir(&mut self) -> WE_TARGET_DIR_W<'_>
pub fn we_target_dir(&mut self) -> WE_TARGET_DIR_W<'_>
Bit 29 - Write enable for target_dir parameter
Sourcepub fn we_audio_gain(&mut self) -> WE_AUDIO_GAIN_W<'_>
pub fn we_audio_gain(&mut self) -> WE_AUDIO_GAIN_W<'_>
Bit 30 - Write enable for audio_gain parameter
Sourcepub fn we_data_src_mode(&mut self) -> WE_DATA_SRC_MODE_W<'_>
pub fn we_data_src_mode(&mut self) -> WE_DATA_SRC_MODE_W<'_>
Bit 31 - Write enable for data_out_mode parameter