Module microbit::hal::pwm[][src]

Expand description

HAL interface to the PWM peripheral.

The pulse with modulation (PWM) module enables the generation of pulse width modulated signals on GPIO.

Structs

Pwm

A safe wrapper around the raw peripheral.

PwmChannel

PWM channel

PwmGroup

PWM group

PwmSeq

A Pwm sequence wrapper

Enums

Channel
CounterMode
Error
Group
LoadMode
Loop
Prescaler
PwmEvent
Seq
StepMode

Traits

Instance