Type Alias xmc4800::ledts0::globctl::W

source ·
pub type W = W<GLOBCTL_SPEC>;
Expand description

Register GLOBCTL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn ts_en(&mut self) -> TS_EN_W<'_, GLOBCTL_SPEC>

Bit 0 - Touch-Sense Function Enable

source

pub fn ld_en(&mut self) -> LD_EN_W<'_, GLOBCTL_SPEC>

Bit 1 - LED Function Enable

source

pub fn cmtr(&mut self) -> CMTR_W<'_, GLOBCTL_SPEC>

Bit 2 - Clock Master Disable

source

pub fn ensync(&mut self) -> ENSYNC_W<'_, GLOBCTL_SPEC>

Bit 3 - Enable Autoscan Time Period Synchronization

source

pub fn suscfg(&mut self) -> SUSCFG_W<'_, GLOBCTL_SPEC>

Bit 8 - Suspend Request Configuration

source

pub fn maskval(&mut self) -> MASKVAL_W<'_, GLOBCTL_SPEC>

Bits 9:11 - Mask Number of LSB Bits for Event Validation

source

pub fn fenval(&mut self) -> FENVAL_W<'_, GLOBCTL_SPEC>

Bit 12 - Enable (Extended) Time Frame Validation

source

pub fn its_en(&mut self) -> ITS_EN_W<'_, GLOBCTL_SPEC>

Bit 13 - Enable Time Slice Interrupt

source

pub fn itf_en(&mut self) -> ITF_EN_W<'_, GLOBCTL_SPEC>

Bit 14 - Enable (Extended) Time Frame Interrupt

source

pub fn itp_en(&mut self) -> ITP_EN_W<'_, GLOBCTL_SPEC>

Bit 15 - Enable Autoscan Time Period Interrupt

source

pub fn clk_ps(&mut self) -> CLK_PS_W<'_, GLOBCTL_SPEC>

Bits 16:31 - LEDTS-Counter Clock Pre-Scale Factor