Type Alias GainW

Source
pub type GainW<'a, REG> = FieldWriter<'a, REG, 4, Gainselect>;
Expand description

Field GAIN writer - Gain Factor Selection

Aliased Type§

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

Implementations§

Source§

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

Source

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

1x

Source

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

2x

Source

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

4x

Source

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

8x

Source

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

16x

Source

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

1/2x