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

Direct dependencies

PWM_NRF5_SW && PWM

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definition

At drivers/pwm/Kconfig.nrf5_sw:27

Included via Kconfig:10Kconfig.zephyr:29drivers/Kconfig:44drivers/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" if PWM_NRF5_SW && PWM
    range 0 9 if PWM_NRF5_SW && PWM
    default 0 if PWM_NRF5_SW && PWM
    depends on PWM_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.)