Type Alias xmc4300::vadc::ocs::R

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

Register OCS reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn tgs(&self) -> TgsR

Bits 0:1 - Trigger Set for OTGB0/1

source

pub fn tgb(&self) -> TgbR

Bit 2 - OTGB0/1 Bus Select

source

pub fn sus(&self) -> SusR

Bits 24:27 - OCDS Suspend Control

source

pub fn sussta(&self) -> SusstaR

Bit 29 - Suspend State