Loading...
Searching...
No Matches
pwm_config Struct Reference

PWM configuration structure. More...

#include <pwm.h>

Data Fields

uint32_t csr
 Control and status register value.
uint32_t div
 Clock divider register value.
uint32_t top
 Counter wrap (TOP) value.

Detailed Description

PWM configuration structure.

Holds the configuration for a PWM slice. Use pwm_get_default_config() to initialise and the pwm_config_set_* functions to modify, then pass to pwm_init().


The documentation for this struct was generated from the following file: