Appiko
|
Configuration for a sequence of PWM values. Note that the buffer pointed to in this structure needs to have a lifetime longer than the duration of the PWM. More...
#include <hal_pwm.h>
Data Fields | |
uint16_t * | seq_values |
Pointer to an array containing the PWM duty cycle values. This array present in the data RAM should preferably have a program lifetime (global or local static variable). More... | |
uint16_t | len |
Number of 16-bit values in the buffer pointed by seq_values . | |
uint32_t | repeats |
Number of times a particular value should be played. Only for HAL_PWM_STEP_INTERNAL mode. | |
uint32_t | end_delay |
Additional number of cycles that the last PWM value is to be played after the end. Only for HAL_PWM_STEP_INTERNAL mode. | |
uint16_t* hal_pwm_sequence_config_t::seq_values |
Definition at line 128 of file hal_pwm.h.
Referenced by hal_pwm_start().