Enum gd32f1::gd32f130::timer0::chctl0_output::CH1COMCTL_A [−][src]
Channel 1 output compare mode
Value on reset: 0
Variants
0: The comparison between the output compare register CHyCV and the counter CNT has no effect on the outputs
1: Set channel to active level on match. OxCPRE signal is forced high when the counter matches the capture/compare register CHyCV
2: Set channel to inactive level on match. OxCPRE signal is forced low when the counter matches the capture/compare register CHyCV
3: OxCPRE toggles when CNT=CHyCV
4: OxCPRE is forced low
5: OxCPRE is forced high
6: In upcounting, channel is active as long as CNT<CHyCV else inactive. In downcounting, channel is inactive as long as CNT>CHyCV else active
7: Inversely to PwmMode1
Trait Implementations
impl Clone for CH1COMCTL_A
[src]
fn clone(&self) -> CH1COMCTL_A
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for CH1COMCTL_A
[src]
impl Debug for CH1COMCTL_A
[src]
impl PartialEq<CH1COMCTL_A> for CH1COMCTL_A
[src]
fn eq(&self, other: &CH1COMCTL_A) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralPartialEq for CH1COMCTL_A
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,