Module arduino_hal::simple_pwm
source · Expand description
Simple PWM output for supported Pins.
This module implements simple (FastPWM) PWM output for supported Pins.
Check the documentation for each of the TimerXPwm-structs for usage examples.
Structs
- Use
TC0
for PWM (pinsPD5
,PD6
) - Use
TC1
for PWM (pinsPB1
,PB2
) - Use
TC2
for PWM (pinsPB3
,PD3
)
Enums
- Clock prescaler for PWM
Traits
- Implement traits and types for PWM timers