Type Alias xmc4400::hrpwm0::csgcfg::R

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

Register CSGCFG reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn c0pm(&self) -> C0PM_R

Bits 0:1 - CSG0 Power Mode

source

pub fn c1pm(&self) -> C1PM_R

Bits 2:3 - CSG1 Power Mode

source

pub fn c2pm(&self) -> C2PM_R

Bits 4:5 - CSG2 Power Mode

source

pub fn c0cd(&self) -> C0CD_R

Bit 16 - CSG0 Clock disable

source

pub fn c1cd(&self) -> C1CD_R

Bit 17 - CSG1 Clock disable

source

pub fn c2cd(&self) -> C2CD_R

Bit 18 - CSG2 Clock disable