#[repr(transparent)]pub struct Sm3tctrl(pub u16);Expand description
Output Trigger Control Register.
Tuple Fields§
§0: u16Implementations§
Source§impl Sm3tctrl
impl Sm3tctrl
Sourcepub const fn out_trig_en(&self) -> OutTrigEn
pub const fn out_trig_en(&self) -> OutTrigEn
Output Trigger Enables.
Sourcepub const fn set_out_trig_en(&mut self, val: OutTrigEn)
pub const fn set_out_trig_en(&mut self, val: OutTrigEn)
Output Trigger Enables.
Sourcepub const fn trgfrq(&self) -> bool
pub const fn trgfrq(&self) -> bool
Trigger Frequency. Raw bit values: false (0) = Everypwm: Trigger outputs are generated during every PWM period even if the PWM is not reloaded every period due to CTRL[LDFQ] being non-zero.; true (1) = Finalpwm: Trigger outputs are generated only during the final PWM period prior to a reload opportunity when the PWM is not reloaded every period due to CTRL[LDFQ] being non-zero.
Sourcepub const fn set_trgfrq(&mut self, val: bool)
pub const fn set_trgfrq(&mut self, val: bool)
Trigger Frequency. Raw bit values: false (0) = Everypwm: Trigger outputs are generated during every PWM period even if the PWM is not reloaded every period due to CTRL[LDFQ] being non-zero.; true (1) = Finalpwm: Trigger outputs are generated only during the final PWM period prior to a reload opportunity when the PWM is not reloaded every period due to CTRL[LDFQ] being non-zero.
Sourcepub const fn pwbot1(&self) -> bool
pub const fn pwbot1(&self) -> bool
Mux Output Trigger 1 Source Select. Raw bit values: false (0) = PwmOutTrig1Signal: Route the PWM_OUT_TRIG1 signal to PWM_MUX_TRIG1 port.; true (1) = PwmbOutput: Route the PWM_B output to the PWM_MUX_TRIG1 port.
Sourcepub const fn set_pwbot1(&mut self, val: bool)
pub const fn set_pwbot1(&mut self, val: bool)
Mux Output Trigger 1 Source Select. Raw bit values: false (0) = PwmOutTrig1Signal: Route the PWM_OUT_TRIG1 signal to PWM_MUX_TRIG1 port.; true (1) = PwmbOutput: Route the PWM_B output to the PWM_MUX_TRIG1 port.
Sourcepub const fn pwaot0(&self) -> bool
pub const fn pwaot0(&self) -> bool
Mux Output Trigger 0 Source Select. Raw bit values: false (0) = PwmOutTrig0Signal: Route the PWM_OUT_TRIG0 signal to PWM_MUX_TRIG0 port.; true (1) = PwmaOutput: Route the PWM_A output to the PWM_MUX_TRIG0 port.
Sourcepub const fn set_pwaot0(&mut self, val: bool)
pub const fn set_pwaot0(&mut self, val: bool)
Mux Output Trigger 0 Source Select. Raw bit values: false (0) = PwmOutTrig0Signal: Route the PWM_OUT_TRIG0 signal to PWM_MUX_TRIG0 port.; true (1) = PwmaOutput: Route the PWM_A output to the PWM_MUX_TRIG0 port.