k210_pac::apu::ch_cfg

Type Alias R

Source
pub type R = R<u32, CH_CFG>;
Expand description

Reader of register ch_cfg

Aliased Type§

struct R { /* private fields */ }

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