| nRF5 SDK v12.0.0 |

Choose documentation: | nRF5 SDK | S130 SoftDevice API | S132 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Fields
app_pwm_config_t Struct Reference
Pulse-width modulation (PWM)

PWM configuration structure used for initialization. More...

`#include <app_pwm.h>`

## Data Fields
uint32_t | pins [2]
| Pins configured as PWM output.
app_pwm_polarity_t | pin_polarity [2]
| Polarity of active state on pin.
uint32_t | num_of_channels
| Number of channels that can be used.
uint32_t | period_us
| PWM signal output period to configure (in microseconds).

## Detailed Description

PWM configuration structure used for initialization.