zephyr/drivers/pwm
Piotr Zięcik 129a23bea7 drivers: pwm_qmsi: Do not use CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC
On some SoCs the frequency of the system clock is obtained at run time
as the exact configuration of the hardware is not known at compile time.
On such platforms using CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC define
directly introduces timing errors.

This commit replaces CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC by the call
to inline function sys_clock_hw_cycles_per_sec() which always returns
correct frequency of the system clock.

Signed-off-by: Piotr Zięcik <piotr.ziecik@nordicsemi.no>
2019-07-24 15:10:02 +02:00
..
CMakeLists.txt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
Kconfig drivers/pwm: Driver for SiFive PWM peripheral 2019-02-08 09:09:35 -06:00
Kconfig.dw kconfig: pwm: Remove redundant deps. and clean up a bit 2019-03-01 13:50:06 -06:00
Kconfig.esp32 kconfig: drivers: pwm: Remove redundant deps. 2019-03-09 10:04:19 -05:00
Kconfig.imx kconfig: pwm: Remove redundant deps. and clean up a bit 2019-03-01 13:50:06 -06:00
Kconfig.mcux_ftm Kconfig: Use a short, consistent style for prompts 2018-08-15 04:10:10 -07:00
Kconfig.nrf5_sw drivers: pwm: nrf: Migrate SW PWM Kconfig options to DT 2019-03-12 13:34:01 +01:00
Kconfig.nrfx kconfig: Remove blank lines at the beginning/end of files 2019-03-13 07:29:42 -05:00
Kconfig.pca9685 kconfig: drivers: pwm: Remove redundant deps. 2019-03-09 10:04:19 -05:00
Kconfig.qmsi kconfig: pwm: Remove redundant deps. and clean up a bit 2019-03-01 13:50:06 -06:00
Kconfig.sam kconfig: pwm: Remove redundant deps. and clean up a bit 2019-03-01 13:50:06 -06:00
Kconfig.sifive kconfig: pwm: Remove redundant deps. and clean up a bit 2019-03-01 13:50:06 -06:00
Kconfig.stm32 kconfig: pwm: Remove redundant deps. and clean up a bit 2019-03-01 13:50:06 -06:00
pwm_dw.c cleanup: include/: move pwm.h to drivers/pwm.h 2019-06-27 22:55:49 -04:00
pwm_handlers.c cleanup: include/: move pwm.h to drivers/pwm.h 2019-06-27 22:55:49 -04:00
pwm_imx.c drivers: pwm: imx: replace deprecated DTS macros 2019-07-12 05:54:16 -07:00
pwm_led_esp32.c cleanup: include/: move pwm.h to drivers/pwm.h 2019-06-27 22:55:49 -04:00
pwm_mcux_ftm.c cleanup: include/: move pwm.h to drivers/pwm.h 2019-06-27 22:55:49 -04:00
pwm_nrf5_sw.c cleanup: include/: move pwm.h to drivers/pwm.h 2019-06-27 22:55:49 -04:00
pwm_nrfx.c cleanup: include/: move pwm.h to drivers/pwm.h 2019-06-27 22:55:49 -04:00
pwm_pca9685.c cleanup: include/: move pwm.h to drivers/pwm.h 2019-06-27 22:55:49 -04:00
pwm_pca9685.h cleanup: include/: move i2c.h to drivers/i2c.h 2019-06-27 22:55:49 -04:00
pwm_qmsi.c drivers: pwm_qmsi: Do not use CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC 2019-07-24 15:10:02 +02:00
pwm_sam.c cleanup: include/: move pwm.h to drivers/pwm.h 2019-06-27 22:55:49 -04:00
pwm_sifive.c drivers: pwm: sifive: fix DTS defines 2019-07-12 05:54:16 -07:00
pwm_stm32.c drivers: pwm: Add STM32G0XX pwm support 2019-07-05 10:35:55 -05:00
pwm_stm32.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00