Type Alias xmc4300::scu_osc::oschpctrl::GAINSEL_W

source ·
pub type GAINSEL_W<'a, REG> = FieldWriter<'a, REG, 2, GAINSEL_A, Safe>;
Expand description

Field GAINSEL writer - Oscillator Gain Selection

Aliased Type§

struct GAINSEL_W<'a, REG> { /* private fields */ }

Implementations§

source§

impl<'a, REG> GAINSEL_W<'a, REG>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

source

pub fn const_00(self) -> &'a mut W<REG>

The gain control is configured for frequencies from 4 MHz to 8 MHz

source

pub fn const_01(self) -> &'a mut W<REG>

The gain control is configured for frequencies from 4 MHz to 16 MHz

source

pub fn const_10(self) -> &'a mut W<REG>

The gain control is configured for frequencies from 4 MHz to 20 MHz

source

pub fn const_11(self) -> &'a mut W<REG>

The gain control is configured for frequencies from 4 MHz to 25 MHz