Type Alias xmc4200::vadc::ocs::W

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

Register OCS writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn tgs(&mut self) -> TGS_W<'_, OCS_SPEC>

Bits 0:1 - Trigger Set for OTGB0/1

source

pub fn tgb(&mut self) -> TGB_W<'_, OCS_SPEC>

Bit 2 - OTGB0/1 Bus Select

source

pub fn tg_p(&mut self) -> TG_P_W<'_, OCS_SPEC>

Bit 3 - TGS, TGB Write Protection

source

pub fn sus(&mut self) -> SUS_W<'_, OCS_SPEC>

Bits 24:27 - OCDS Suspend Control

source

pub fn sus_p(&mut self) -> SUS_P_W<'_, OCS_SPEC>

Bit 28 - SUS Write Protection