Type Alias gd32e1::gd32e103::timer0::chctl0_output::Ch0comctlR
source · pub type Ch0comctlR = FieldReader<Ch0comctl>;
Expand description
Field CH0COMCTL
reader - Channel 0 compare output control
Aliased Type§
struct Ch0comctlR { /* private fields */ }
Implementations§
source§impl Ch0comctlR
impl Ch0comctlR
sourcepub fn is_frozen(&self) -> bool
pub fn is_frozen(&self) -> bool
The comparison between the output compare register CHyCV and the counter CNT has no effect on the outputs
sourcepub fn is_active_on_match(&self) -> bool
pub fn is_active_on_match(&self) -> bool
Set channel to active level on match. OxCPRE signal is forced high when the counter matches the capture/compare register CHyCV
sourcepub fn is_inactive_on_match(&self) -> bool
pub fn is_inactive_on_match(&self) -> bool
Set channel to inactive level on match. OxCPRE signal is forced low when the counter matches the capture/compare register CHyCV
sourcepub fn is_force_inactive(&self) -> bool
pub fn is_force_inactive(&self) -> bool
OxCPRE is forced low
sourcepub fn is_force_active(&self) -> bool
pub fn is_force_active(&self) -> bool
OxCPRE is forced high
sourcepub fn is_pwm_mode0(&self) -> bool
pub fn is_pwm_mode0(&self) -> bool
In upcounting, channel is active as long as CNT<CHyCV else inactive. In downcounting, channel is inactive as long as CNT>CHyCV else active
sourcepub fn is_pwm_mode1(&self) -> bool
pub fn is_pwm_mode1(&self) -> bool
Inversely to PwmMode0