Trait nrf52840_hal::prelude::_embedded_hal_PwmPin [−][src]
pub trait _embedded_hal_PwmPin { type Duty; fn disable(&mut self); fn enable(&mut self); fn get_duty(&self) -> Self::Duty; fn get_max_duty(&self) -> Self::Duty; fn set_duty(&mut self, duty: Self::Duty); }
Expand description
A single PWM channel / pin
See Pwm
for details
Associated Types
Required methods
fn get_max_duty(&self) -> Self::Duty
fn get_max_duty(&self) -> Self::Duty
Returns the maximum duty cycle value