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
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
Kconfig.stm32
Kconfig.test
Kconfig.xec
Kconfig.xlnx
pwm_b91.c
pwm_capture.c
pwm_gd32.c
pwm_gecko.c
pwm_handlers.c
pwm_imx.c include: add missing kernel.h include 2022-10-11 18:05:17 +02:00
pwm_ite_it8xxx2.c
pwm_led_esp32.c
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
pwm_mchp_xec.c
pwm_mcux.c
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
pwm_npcx.c
pwm_nrf5_sw.c
pwm_nrfx.c
pwm_rcar.c
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
pwm_sam.c drivers: pwm: pwm_sam: Add inverted polarity support 2022-11-02 10:33:01 +01:00
pwm_sam0_tcc.c
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
pwm_xlnx_axi_timer.c include: add missing arch/cpu.h include 2022-10-11 18:05:17 +02:00