Type Alias nrf52840_pac::pdm::gainr::GAINR_W

source ·
pub type GAINR_W<'a, const O: u8> = FieldWriter<'a, u32, GAINR_SPEC, u8, GAINR_A, 7, O>;
Expand description

Field GAINR writer - Right output gain adjustment, in 0.5 dB steps, around the default module gain (see electrical parameters)

Aliased Type§

struct GAINR_W<'a, const O: u8> { /* private fields */ }

Implementations§

source§

impl<'a, const O: u8> GAINR_W<'a, O>

source

pub fn min_gain(self) -> &'a mut W

-20dB gain adjustment (minimum)

source

pub fn default_gain(self) -> &'a mut W

0dB gain adjustment

source

pub fn max_gain(self) -> &'a mut W

+20dB gain adjustment (maximum)