-
CONFIG_PWM_NRF5_SW_0_CLOCK_PRESCALER
¶
Nordic Semiconductor nRF5x series S/W PWM Clock Prescaler
Type: int
Help¶
Set the clock prescaler for the timer used for generating the PWM output signals. Prescaler values correspond to the following timer frequencies: 0: 16 MHz 1: 8 MHz 2: 4 MHz 3: 2 MHz 4: 1 MHz 5: 500 kHz 6: 250 kHz 7: 125 kHz 8: 62500 Hz 9: 31250 Hz
Defaults¶
- 0 if
PWM_NRF5_SW
&&PWM
Kconfig definition¶
At drivers/pwm/Kconfig.nrf5_sw:27
Included via Kconfig:10
→ Kconfig.zephyr:29
→ drivers/Kconfig:44
→ drivers/pwm/Kconfig:53
Menu path: (top menu) → Device Drivers → PWM (Pulse Width Modulation) Drivers → Nordic Semiconductor nRF5x series S/W PWM
config PWM_NRF5_SW_0_CLOCK_PRESCALER int prompt "Nordic Semiconductor nRF5x series S/W PWM Clock Prescaler" ifPWM_NRF5_SW
&&PWM
range 0 9 ifPWM_NRF5_SW
&&PWM
default 0 ifPWM_NRF5_SW
&&PWM
depends onPWM_NRF5_SW
&&PWM
help Set the clock prescaler for the timer used for generating the PWM output signals. Prescaler values correspond to the following timer frequencies: 0: 16 MHz 1: 8 MHz 2: 4 MHz 3: 2 MHz 4: 1 MHz 5: 500 kHz 6: 250 kHz 7: 125 kHz 8: 62500 Hz 9: 31250 Hz
(Definitions include propagated dependencies, including from if’s and menus.)