43 #include "nrf_mesh_config_core.h" uint16_t pwm_ticks_max
Internal.
void pwm_utils_level_set(pwm_utils_contex_t *p_ctx, int16_t level)
Set the PWM duty cycle corresponding to given int16 value.
const app_pwm_t * p_pwm
Pointer to a PWM instance created using APP_PWM_INSTANCE macro.
uint8_t channel
Channel number to use.
int16_t pwm_utils_level_get(pwm_utils_contex_t *p_ctx)
Get the int16 value corresponding to the PWM duty cycle.
app_pwm_config_t * p_pwm_config
Pointer to a app_pwm_config_t PWM configuration structure.
void pwm_utils_enable(pwm_utils_contex_t *p_ctx)
Enables the PWM channel.
Context structure for defining application specific instance of PWM peripheral to be used with this m...