pub struct R(_);
Expand description
Register CTRL_MOD
reader
Implementations§
source§impl R
impl R
sourcepub fn tmr_mode_in(&self) -> TMR_MODE_IN_R
pub fn tmr_mode_in(&self) -> TMR_MODE_IN_R
Bit 0 - RW, timer in mode: 0=timer/PWM, 1=capture/count
sourcepub fn tmr_all_clear(&self) -> TMR_ALL_CLEAR_R
pub fn tmr_all_clear(&self) -> TMR_ALL_CLEAR_R
Bit 1 - RW, force clear timer FIFO and count
sourcepub fn tmr_count_en(&self) -> TMR_COUNT_EN_R
pub fn tmr_count_en(&self) -> TMR_COUNT_EN_R
Bit 2 - RW, timer count enable
sourcepub fn tmr_out_en(&self) -> TMR_OUT_EN_R
pub fn tmr_out_en(&self) -> TMR_OUT_EN_R
Bit 3 - RW, timer output enable
sourcepub fn tmr_out_polar__rb_tmr_cap_count(
&self
) -> TMR_OUT_POLAR__RB_TMR_CAP_COUNT_R
pub fn tmr_out_polar__rb_tmr_cap_count( &self ) -> TMR_OUT_POLAR__RB_TMR_CAP_COUNT_R
Bit 4 - RW, timer PWM output polarity: 0=default low and high action, 1=default high and low action;RW, count sub-mode if RB_TMR_MODE_IN=1: 0=capture, 1=count
sourcepub fn tmr_pwm_repeat__rb_tmr_cap_edge(
&self
) -> TMR_PWM_REPEAT__RB_TMR_CAP_EDGE_R
pub fn tmr_pwm_repeat__rb_tmr_cap_edge( &self ) -> TMR_PWM_REPEAT__RB_TMR_CAP_EDGE_R
Bits 6:7 - RW, timer PWM repeat mode: 00=1, 01=4, 10=8, 11-16;RW, timer capture edge mode: 00=disable, 01=edge change, 10=fall to fall, 11-rise to rise