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

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

Register OCS reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn tgs(&self) -> TGS_R

Bits 0:1 - Trigger Set for OTGB0/1

source

pub fn tgb(&self) -> TGB_R

Bit 2 - OTGB0/1 Bus Select

source

pub fn sus(&self) -> SUS_R

Bits 24:27 - OCDS Suspend Control

source

pub fn sussta(&self) -> SUSSTA_R

Bit 29 - Suspend State