zephyr/drivers/pwm
Guy Morand 2419505e35 drivers: pwm: pwm_mcux_sctimer: Fix stopping PWM
By Starting the timer when period was set to 0, the SCTimer was giving
control of the pin back to the timer and over-riding the value written
to base->OUTPUT register. Consequently, the PWM timer was never
stopped and still using the previously configured period.

The PWM now correctly stops when setting the period to 0.

Signed-off-by: Guy Morand <guy.morand@bytesatwork.ch>
2022-11-07 10:10:37 -06:00
..
CMakeLists.txt
Kconfig drivers: pwm: Use a common initialization priority 2022-10-03 15:24:38 -04:00
Kconfig.b91
Kconfig.esp32
Kconfig.gd32
Kconfig.gecko
Kconfig.imx
Kconfig.it8xxx2
Kconfig.litex
Kconfig.mcux
Kconfig.mcux_ftm
Kconfig.mcux_pwt
Kconfig.mcux_sctimer
Kconfig.mcux_tpm
Kconfig.npcx
Kconfig.nrf5_sw
Kconfig.nrfx
Kconfig.rcar
Kconfig.rpi_pico
Kconfig.rv32m1_tpm
Kconfig.sam
Kconfig.sam0
Kconfig.sifive drivers: pwm: Use a common initialization priority 2022-10-03 15:24:38 -04:00
Kconfig.stm32
Kconfig.test
Kconfig.xec
Kconfig.xlnx
pwm_b91.c drivers: pwm: Use a common initialization priority 2022-10-03 15:24:38 -04:00
pwm_capture.c
pwm_gd32.c drivers: pwm: Use a common initialization priority 2022-10-03 15:24:38 -04:00
pwm_gecko.c drivers: pwm: Use a common initialization priority 2022-10-03 15:24:38 -04:00
pwm_handlers.c
pwm_imx.c include: add missing kernel.h include 2022-10-11 18:05:17 +02:00
pwm_ite_it8xxx2.c drivers: pwm: Use a common initialization priority 2022-10-03 15:24:38 -04:00
pwm_led_esp32.c drivers: pwm: Use a common initialization priority 2022-10-03 15:24:38 -04:00
pwm_litex.c drivers: gpio: it8xxx2: add missing chip_chipregs.h/soc_common.h 2022-10-11 18:05:17 +02:00
pwm_mc_esp32.c drivers: pwm: Use a common initialization priority 2022-10-03 15:24:38 -04:00
pwm_mchp_xec.c drivers: pwm: Use a common initialization priority 2022-10-03 15:24:38 -04:00
pwm_mcux.c arm: nxp: take PWM prescaler from device tree 2022-10-03 15:04:31 -05:00
pwm_mcux_ftm.c include: add missing irq.h include 2022-10-11 18:05:17 +02:00
pwm_mcux_pwt.c include: add missing irq.h include 2022-10-11 18:05:17 +02:00
pwm_mcux_sctimer.c drivers: pwm: pwm_mcux_sctimer: Fix stopping PWM 2022-11-07 10:10:37 -06:00
pwm_mcux_tpm.c drivers: pwm: Use a common initialization priority 2022-10-03 15:24:38 -04:00
pwm_npcx.c drivers: pwm: Use a common initialization priority 2022-10-03 15:24:38 -04:00
pwm_nrf5_sw.c drivers: pwm: Use a common initialization priority 2022-10-03 15:24:38 -04:00
pwm_nrfx.c drivers: pwm: Use a common initialization priority 2022-10-03 15:24:38 -04:00
pwm_rcar.c drivers: pwm: Use a common initialization priority 2022-10-03 15:24:38 -04:00
pwm_rpi_pico.c drivers: pwm: rpi_pico: Use “pico_channel” instead of “ch” 2022-10-04 10:36:20 +02:00
pwm_rv32m1_tpm.c drivers: pwm: Use a common initialization priority 2022-10-03 15:24:38 -04:00
pwm_sam.c drivers: pwm: pwm_sam: Add inverted polarity support 2022-11-02 10:33:01 +01:00
pwm_sam0_tcc.c drivers: pwm: Use a common initialization priority 2022-10-03 15:24:38 -04:00
pwm_shell.c
pwm_sifive.c include: add missing arch/cpu.h include 2022-10-11 18:05:17 +02:00
pwm_stm32.c include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
pwm_test.c drivers: pwm: Use a common initialization priority 2022-10-03 15:24:38 -04:00
pwm_xlnx_axi_timer.c include: add missing arch/cpu.h include 2022-10-11 18:05:17 +02:00