pub type ADC_DRC_SIGNAL_FUNC_SEL_R = BitReader<ADC_DRC_SIGNAL_FUNC_SEL_A>;
Expand description

Field adc_drc_signal_func_sel reader - Signal function select

When the signal function selects the Peak filter, the RMS parameter is unused. (AC_DRC_LRMSHAT, AC_DRC_LRMSLAT, AC_DRC_LRMSHAT, and AC_DRC_LRMSLAT)

When the signal function selects the RMS filter, the Peak filter parameter is unused. (AC_DRC_LPFHAT, AC_DRC_LPFLAT, AC_DRC_RPFHAT, AC_DRC_RPFLAT, AC_DRC_LPFHRT, AC_DRC_LPFLRT, AC_DRC_RPFHRT, and AC_DRC_RPFLRT)

Aliased Type§

struct ADC_DRC_SIGNAL_FUNC_SEL_R { /* private fields */ }

Implementations§

source§

impl ADC_DRC_SIGNAL_FUNC_SEL_R

source

pub fn variant(&self) -> ADC_DRC_SIGNAL_FUNC_SEL_A

Get enumerated values variant

source

pub fn is_rms(&self) -> bool

Checks if the value of the field is RMS

source

pub fn is_p_eak(&self) -> bool

Checks if the value of the field is P_EAK