Context structure for defining application specific instance of PWM peripheral to be used with this module. More...
#include <pwm_utils.h>
Data Fields | |
| const app_pwm_t * | p_pwm |
| Pointer to a PWM instance created using APP_PWM_INSTANCE macro. More... | |
| app_pwm_config_t * | p_pwm_config |
| Pointer to a app_pwm_config_t PWM configuration structure. More... | |
| uint8_t | channel |
| Channel number to use. | |
| uint16_t | pwm_ticks_max |
| Internal. | |
Detailed Description
Context structure for defining application specific instance of PWM peripheral to be used with this module.
Definition at line 59 of file pwm_utils.h.
Field Documentation
◆ p_pwm
| const app_pwm_t* pwm_utils_contex_t::p_pwm |
Pointer to a PWM instance created using APP_PWM_INSTANCE macro.
Definition at line 62 of file pwm_utils.h.
◆ p_pwm_config
| app_pwm_config_t* pwm_utils_contex_t::p_pwm_config |
Pointer to a app_pwm_config_t PWM configuration structure.
Definition at line 64 of file pwm_utils.h.
- examples/common/include/pwm_utils.h