Type Alias gd32e1::gd32e103::spi0::i2spsc::OfW

source ·
pub type OfW<'a, REG> = BitWriter<'a, REG, Of>;
Expand description

Field OF writer - Odd factor for the prescaler

Aliased Type§

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

Implementations§

source§

impl<'a, REG> OfW<'a, REG>
where REG: Writable + RegisterSpec,

source

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

Real divider value is DIV * 2

source

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

Real divider value is (DIV * 2) + 1