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. | |
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().