Struct gd32f1x0_hal::pac::timer14::chctl0_output::CH0COMCTL_W [−][src]
pub struct CH0COMCTL_W<'a> { /* fields omitted */ }
Expand description
Field CH0COMCTL
writer - Channel 0 compare output control
Implementations
impl<'a> CH0COMCTL_W<'a>
[src]
impl<'a> CH0COMCTL_W<'a>
[src]pub fn variant(self, variant: CH1COMCTL_A) -> &'a mut W
[src]
pub fn variant(self, variant: CH1COMCTL_A) -> &'a mut W
[src]Writes variant
to the field
pub fn frozen(self) -> &'a mut W
[src]
pub fn frozen(self) -> &'a mut W
[src]The comparison between the output compare register CHyCV and the counter CNT has no effect on the outputs
pub fn active_on_match(self) -> &'a mut W
[src]
pub fn active_on_match(self) -> &'a mut W
[src]Set channel to active level on match. OxCPRE signal is forced high when the counter matches the capture/compare register CHyCV
pub fn inactive_on_match(self) -> &'a mut W
[src]
pub fn inactive_on_match(self) -> &'a mut W
[src]Set channel to inactive level on match. OxCPRE signal is forced low when the counter matches the capture/compare register CHyCV
pub fn force_inactive(self) -> &'a mut W
[src]
pub fn force_inactive(self) -> &'a mut W
[src]OxCPRE is forced low
pub fn force_active(self) -> &'a mut W
[src]
pub fn force_active(self) -> &'a mut W
[src]OxCPRE is forced high