zephyr/drivers/pwm
Marcin Niestroj bc5a6164c9 drivers: pwm: nrf_sw: support generating PWM based on RTC
So far nRF's TIMER was used for generating PWM signal. Add support for
generating PWM based on RTC, which is sourced by 32KHz low frequency
crystal. This allows to use low frequency PWM with much lower power
consumption, because high frequency clock path can be disabled.

Don't support RTC clock prescaler, because maximum 512s period covers
most use cases. This allows to adjust pulse and period cycles to the
fact that CLEAR task event is generated always one LFCLK cycle after
period COMPARE value is reached.

Also update hal_nordic revision, as it contains updated check for PPI
channels conflict when RTC is used to generate PWM.

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
2020-12-15 15:19:43 +01:00
..
CMakeLists.txt drivers: pwm: add driver for the Xilinx AXI Timer 2020-11-17 19:30:20 -05:00
Kconfig drivers: pwm: add driver for the Xilinx AXI Timer 2020-11-17 19:30:20 -05:00
Kconfig.dw
Kconfig.esp32
Kconfig.imx
Kconfig.litex
Kconfig.mcux
Kconfig.mcux_ftm
Kconfig.mcux_tpm
Kconfig.npcx driver: npcx7: fixed typo in Kconfig.npcx files. 2020-12-07 12:11:17 -05:00
Kconfig.nrf5_sw drivers: pwm: nrf_sw: support generating PWM based on RTC 2020-12-15 15:19:43 +01:00
Kconfig.nrfx
Kconfig.pca9685
Kconfig.rv32m1_tpm
Kconfig.sam
Kconfig.sam0
Kconfig.sifive
Kconfig.stm32 drivers: pwm: stm32: fix timer clock calculation 2020-11-03 11:03:54 +01:00
Kconfig.xec
Kconfig.xlnx drivers: pwm: add driver for the Xilinx AXI Timer 2020-11-17 19:30:20 -05:00
pwm_dw.c
pwm_handlers.c
pwm_imx.c drivers: pwm: Convert drivers to new DT device macros 2020-12-10 07:25:29 -05:00
pwm_led_esp32.c
pwm_litex.c drivers: pwm: Convert drivers to new DT device macros 2020-12-10 07:25:29 -05:00
pwm_mchp_xec.c drivers: pwm: Convert drivers to new DT device macros 2020-12-10 07:25:29 -05:00
pwm_mcux.c drivers: pwm: Convert drivers to new DT device macros 2020-12-10 07:25:29 -05:00
pwm_mcux_ftm.c drivers: pwm: Convert drivers to new DT device macros 2020-12-10 07:25:29 -05:00
pwm_mcux_tpm.c drivers: pwm: pwm_mcux_tpm: Fix build failure 2020-12-11 08:32:14 -06:00
pwm_npcx.c drivers: pwm: Convert drivers to new DT device macros 2020-12-10 07:25:29 -05:00
pwm_nrf5_sw.c drivers: pwm: nrf_sw: support generating PWM based on RTC 2020-12-15 15:19:43 +01:00
pwm_nrfx.c drivers: pwm: fix nrfx pwm device definition 2020-12-11 09:02:35 -05:00
pwm_pca9685.c
pwm_pca9685.h
pwm_rv32m1_tpm.c drivers: pwm: Convert drivers to new DT device macros 2020-12-10 07:25:29 -05:00
pwm_sam.c drivers: pwm: Convert drivers to new DT device macros 2020-12-10 07:25:29 -05:00
pwm_sam0_tcc.c drivers: pwm: Convert drivers to new DT device macros 2020-12-10 07:25:29 -05:00
pwm_shell.c
pwm_sifive.c drivers: pwm: Convert drivers to new DT device macros 2020-12-10 07:25:29 -05:00
pwm_stm32.c drivers: pwm: Convert drivers to new DT device macros 2020-12-10 07:25:29 -05:00
pwm_xlnx_axi_timer.c drivers: pwm: Convert drivers to new DT device macros 2020-12-10 07:25:29 -05:00