nRF51 SDK v9.0.0
PWM channel instance. More...
#include <app_pwm.h>
Data Fields |
|
| uint32_t | gpio_pin |
|
Pin that is used by this PWM channel.
|
|
| uint32_t | pulsewidth |
|
The copy of duty currently set (in ticks).
|
|
| nrf_ppi_channel_t | ppi_channels [2] |
|
PPI channels used by the PWM channel to clear and set the output.
|
|
| app_pwm_polarity_t | polarity |
|
The active state of the pin.
|
|
| uint8_t | initialized |
|
The internal information if the selected channel was initialized.
|
|
Detailed Description
PWM channel instance.
This structure holds all data needed by a single PWM channel.