Type Alias xmc4400::usic0_ch0::pcr_iismode::WAGEN_W

source ·
pub type WAGEN_W<'a, REG> = BitWriter<'a, REG, WAGEN_A>;
Expand description

Field WAGEN writer - WA Generation Enable

Aliased Type§

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

Implementations§

source§

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

source

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

The IIS can be used as slave. The generation of the word address signal is disabled. The output signal WA is 0. The MCLKO signal generation depends on PCR.MCLK.

source

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

The IIS can be used as master. The generation of the word address signal is enabled. The signal starts with a 0 after being enabled. The generation of MCLK is enabled, independent of PCR.MCLK. After clearing WAGEN, the USIC module stops the generation of the WA signal within the next 4 WA periods.