Type Alias xmc4800::vadc::ocs::W

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

Register OCS writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn tgs(&mut self) -> TgsW<'_, OcsSpec>

Bits 0:1 - Trigger Set for OTGB0/1

source

pub fn tgb(&mut self) -> TgbW<'_, OcsSpec>

Bit 2 - OTGB0/1 Bus Select

source

pub fn tg_p(&mut self) -> TgPW<'_, OcsSpec>

Bit 3 - TGS, TGB Write Protection

source

pub fn sus(&mut self) -> SusW<'_, OcsSpec>

Bits 24:27 - OCDS Suspend Control

source

pub fn sus_p(&mut self) -> SusPW<'_, OcsSpec>

Bit 28 - SUS Write Protection