nRF51 SDK v9.0.0
Data Fields
app_pwm_cb_t Struct Reference

Variable part of PWM instance. More...

#include <app_pwm.h>

Data Fields

app_pwm_channel_cb_t channels_cb [2]
 Channels data.
 
uint32_t period
 Selected period in ticks.
 
app_pwm_callback_t p_ready_callback
 Callback function called on PWM readiness.
 
nrf_ppi_channel_t ppi_channels [2]
 PPI channels used temporary while changing duty.
 
nrf_ppi_channel_group_t ppi_group
 PPI group used to synchronize changes on channels.
 
nrf_drv_state_t state
 Current driver status.
 

Detailed Description

Variable part of PWM instance.

This structure holds instance data that may change.


This document was last updated on Thu Jul 9 2015.
Please send us your feedback about the documentation! For technical questions, visit the Nordic Developer Zone.