Type Definition tm4c123x::pwm0::_2_ctl::R

source ·
pub type R = R<u32, _2_CTL>;
Expand description

Reader of register _2_CTL

Implementations§

source§

impl R

source

pub fn enable(&self) -> ENABLE_R

Bit 0 - PWM Block Enable

source

pub fn mode(&self) -> MODE_R

Bit 1 - Counter Mode

source

pub fn debug(&self) -> DEBUG_R

Bit 2 - Debug Mode

source

pub fn loadupd(&self) -> LOADUPD_R

Bit 3 - Load Register Update Mode

source

pub fn cmpaupd(&self) -> CMPAUPD_R

Bit 4 - Comparator A Update Mode

source

pub fn cmpbupd(&self) -> CMPBUPD_R

Bit 5 - Comparator B Update Mode

source

pub fn genaupd(&self) -> GENAUPD_R

Bits 6:7 - PWMnGENA Update Mode

source

pub fn genbupd(&self) -> GENBUPD_R

Bits 8:9 - PWMnGENB Update Mode

source

pub fn dbctlupd(&self) -> DBCTLUPD_R

Bits 10:11 - PWMnDBCTL Update Mode

source

pub fn dbriseupd(&self) -> DBRISEUPD_R

Bits 12:13 - PWMnDBRISE Update Mode

source

pub fn dbfallupd(&self) -> DBFALLUPD_R

Bits 14:15 - PWMnDBFALL Update Mode

source

pub fn fltsrc(&self) -> FLTSRC_R

Bit 16 - Fault Condition Source

source

pub fn minfltper(&self) -> MINFLTPER_R

Bit 17 - Minimum Fault Period

source

pub fn latch(&self) -> LATCH_R

Bit 18 - Latch Fault Input