PWM driver configuration structure. More...
#include <nrf_drv_pwm.h>
Data Fields |
|
| uint8_t | output_pins [ NRF_PWM_CHANNEL_COUNT ] |
|
Pin numbers for individual output channels (optional).
More...
|
|
| uint8_t | irq_priority |
|
Interrupt priority.
|
|
| nrf_pwm_clk_t | base_clock |
|
Base clock frequency.
|
|
| nrf_pwm_mode_t | count_mode |
|
Operating mode of the pulse generator counter.
|
|
| uint16_t | top_value |
|
Value up to which the pulse generator counter counts.
|
|
| nrf_pwm_dec_load_t | load_mode |
|
Mode of loading sequence data from RAM.
|
|
| nrf_pwm_dec_step_t | step_mode |
|
Mode of advancing the active sequence.
|
|
Detailed Description
PWM driver configuration structure.
Field Documentation
| uint8_t nrf_drv_pwm_config_t::output_pins[ NRF_PWM_CHANNEL_COUNT ] |
Pin numbers for individual output channels (optional).
Use NRF_DRV_PWM_PIN_NOT_USED if a given output channel is not needed.
- components/drivers_nrf/pwm/nrf_drv_pwm.h