pub struct PwmPinConfig<const IS_A: bool> { /* private fields */ }Expand description
Configuration describing how the operator generates a signal on a connected pin
Implementations§
Source§impl<const IS_A: bool> PwmPinConfig<IS_A>
 
impl<const IS_A: bool> PwmPinConfig<IS_A>
Sourcepub const UP_ACTIVE_HIGH: Self
 
pub const UP_ACTIVE_HIGH: Self
A configuration using PwmActions::UP_ACTIVE_HIGH and
PwmUpdateMethod::SYNC_ON_ZERO
Sourcepub const UP_DOWN_ACTIVE_HIGH: Self
 
pub const UP_DOWN_ACTIVE_HIGH: Self
A configuration using PwmActions::UP_DOWN_ACTIVE_HIGH and
PwmUpdateMethod::SYNC_ON_ZERO
Sourcepub const EMPTY: Self
 
pub const EMPTY: Self
A configuration using PwmActions::empty and
PwmUpdateMethod::empty
Sourcepub const fn new(
    actions: PwmActions<IS_A>,
    update_method: PwmUpdateMethod,
) -> Self
 
pub const fn new( actions: PwmActions<IS_A>, update_method: PwmUpdateMethod, ) -> Self
Get a configuration using the given PwmActions and PwmUpdateMethod