nuttx/arch/arm/src/samv7
Michal Lenc 93097be705 samv7: add support for PWM fault protection
This commit adds configurable fault protection to SAMv7 PWM driver.
The fault input can be used from peripherals as ADC or GPIO inputs.
Inputs from GPIO have configurable polarity (high or low). The PWM output
is automatically set to zero if fault input is active and restored
if fault input is not actived.

Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2023-03-02 11:08:25 +08:00
..
hardware Fixed non-UTF8 characters. 2022-09-28 09:38:55 +08:00
chip.h arch: arm: sam: fix nxstyle errors 2021-03-28 13:34:50 -07:00
Kconfig samv7: add support for PWM fault protection 2023-03-02 11:08:25 +08:00
Make.defs arch/cortex-m/Make.defs: unify arch common source include 2022-04-30 21:50:16 +08:00
sam_afec.c samv7: add support for ADC conversion triggering with PWM 2023-02-26 10:47:12 +08:00
sam_afec.h arch/arm: Remove FAR and CODE from chip folder(2) 2022-05-03 16:50:52 +03:00
sam_allocateheap.c arch/arm: Remove FAR and CODE from chip folder(2) 2022-05-03 16:50:52 +03:00
sam_clockconfig.c arch/arm/samv7/sam_tc: implement timer driver support 2022-03-16 03:19:57 +08:00
sam_clockconfig.h arch: arm: sam: fix nxstyle errors 2021-03-28 13:34:50 -07:00
sam_config.h include: fix double include pre-processor guards 2022-01-16 11:11:14 -03:00
sam_dac.c samv7: fix compilation error when only DAC1 is configured 2023-02-10 02:33:30 +08:00
sam_dac.h arch/arm: Remove FAR and CODE from chip folder(2) 2022-05-03 16:50:52 +03:00
sam_eefc.c Kernel module should prefer functions with nx/kmm prefix 2021-01-13 08:57:58 +01:00
sam_eefc.h arch: Merge up_arch.h into up_internal.h 2022-03-14 09:32:17 +02:00
sam_emac.c net/arp: Remove nuttx/net/arp.h 2022-12-16 22:10:59 +02:00
sam_ethernet.c arch: arm: sam: Author Gregory Nutt: update licenses to Apache 2021-03-28 13:34:50 -07:00
sam_ethernet.h arch: arm: sam: fix nxstyle errors 2021-03-28 13:34:50 -07:00
sam_freerun.c arch/arm/samv7/sam_tc: implement timer driver support 2022-03-16 03:19:57 +08:00
sam_freerun.h Remove unused 'running' field from freerun lower half drivers. 2021-04-07 20:35:50 -03:00
sam_gpio.c arch: Merge up_arch.h into up_internal.h 2022-03-14 09:32:17 +02:00
sam_gpio.h arch: arm: sam: fix nxstyle errors 2021-03-28 13:34:50 -07:00
sam_gpioirq.c arch/arm: Remove FAR and CODE from chip folder(2) 2022-05-03 16:50:52 +03:00
sam_hsmci.c nuttx: Use MIN/MAX definitions from "sys/param.h" 2023-02-01 23:47:44 +08:00
sam_hsmci.h arch/arm: Remove FAR and CODE from chip folder(2) 2022-05-03 16:50:52 +03:00
sam_hsmci_clkdiv.c boards/arm/samv7: move HSMCI interface to common 2022-01-20 01:24:14 +08:00
sam_irq.c arch/arm/samv7: add ARCH_RAMVECTORS support 2022-12-17 13:57:03 +08:00
sam_lowputc.c arch: Merge up_arch.h into up_internal.h 2022-03-14 09:32:17 +02:00
sam_lowputc.h arch: arm: sam: fix nxstyle errors 2021-03-28 13:34:50 -07:00
sam_mcan.c samv7: fix build error in sam_mcan.c file 2023-02-17 14:58:37 -03:00
sam_mcan.h arch/arm: Remove FAR and CODE from chip folder(2) 2022-05-03 16:50:52 +03:00
sam_mpuinit.c nuttx: Use MIN/MAX definitions from "sys/param.h" 2023-02-01 23:47:44 +08:00
sam_mpuinit.h arch: arm: sam: Author Gregory Nutt: update licenses to Apache 2021-03-28 13:34:50 -07:00
sam_oneshot.c arch/arm/samv7/sam_tc: implement timer driver support 2022-03-16 03:19:57 +08:00
sam_oneshot.h arch/arm/samv7: rework SAMv7 timer counter implementation 2022-01-09 17:43:31 +08:00
sam_oneshot_lowerhalf.c arch/arm: Remove FAR and CODE from chip folder(2) 2022-05-03 16:50:52 +03:00
sam_pck.c arch: Merge up_arch.h into up_internal.h 2022-03-14 09:32:17 +02:00
sam_pck.h arch: arm: sam: fix nxstyle errors 2021-03-28 13:34:50 -07:00
sam_periphclks.h arch: arm: sam: fix nxstyle errors 2021-03-28 13:34:50 -07:00
sam_progmem.c nuttx: Use MIN/MAX definitions from "sys/param.h" 2023-02-01 23:47:44 +08:00
sam_progmem.h arch: Merge up_arch.h into up_internal.h 2022-03-14 09:32:17 +02:00
sam_pwm.c samv7: add support for PWM fault protection 2023-03-02 11:08:25 +08:00
sam_pwm.h samv7: add support for PWM fault protection 2023-03-02 11:08:25 +08:00
sam_qencoder.c arch/arm: Remove FAR and CODE from chip folder(2) 2022-05-03 16:50:52 +03:00
sam_qencoder.h arch/arm: Remove FAR and CODE from chip folder(2) 2022-05-03 16:50:52 +03:00
sam_qspi.c samv7: fix printf warnings in QSPI 2023-02-22 01:42:49 +08:00
sam_qspi.h arch/arm: Remove FAR and CODE from chip folder(2) 2022-05-03 16:50:52 +03:00
sam_qspi_spi.c Initialize global mutext/sem by NXMUTEX_INITIALIZER and SEM_INITIALIZER 2022-11-14 09:34:04 +09:00
sam_qspi_spi.h arch/arm: Remove FAR and CODE from chip folder(2) 2022-05-03 16:50:52 +03:00
sam_rswdt.c arch/arm: Remove FAR and CODE from chip folder(2) 2022-05-03 16:50:52 +03:00
sam_serial.c drivers/serial: Fix docstrings on UART interrupt handlers 2023-02-07 04:41:36 +08:00
sam_serial.h samv7: add RX DMA support to serial driver 2022-07-16 15:39:20 +03:00
sam_spi.c Initialize global mutext/sem by NXMUTEX_INITIALIZER and SEM_INITIALIZER 2022-11-14 09:34:04 +09:00
sam_spi.h arch/arm: Remove FAR and CODE from chip folder(2) 2022-05-03 16:50:52 +03:00
sam_spi_slave.c Fix the coding style and typo issue 2022-11-14 09:34:04 +09:00
sam_ssc.c Call nxmutex_destroy and nxsem_destroy in error patch to avoid the leak 2022-11-14 09:34:04 +09:00
sam_ssc.h arch/arm: Remove FAR and CODE from chip folder(2) 2022-05-03 16:50:52 +03:00
sam_start.c arch/arm: fix typos in start files 2022-12-17 13:56:17 +08:00
sam_start.h arch: arm: sam: fix nxstyle errors 2021-03-28 13:34:50 -07:00
sam_systemreset.c arch: Merge up_arch.h into up_internal.h 2022-03-14 09:32:17 +02:00
sam_tc.c Fix chip/sam_tc.c:682:24: error: unused function 'sam_tc_getreg' 2022-11-20 14:34:44 +01:00
sam_tc.h arch/arm/samv7/sam_tc: implement timer driver support 2022-03-16 03:19:57 +08:00
sam_tc_lowerhalf.c arch/arm: Remove FAR and CODE from chip folder(2) 2022-05-03 16:50:52 +03:00
sam_tc_lowerhalf.h arch/arm: Remove FAR and CODE from chip folder(2) 2022-05-03 16:50:52 +03:00
sam_tickless.c arch/arm: Remove FAR and CODE from chip folder(2) 2022-05-03 16:50:52 +03:00
sam_timerisr.c arch: Merge up_arch.h into up_internal.h 2022-03-14 09:32:17 +02:00
sam_trng.c Remove the unnecessary NULL fields in global instance definition of file_operations 2023-01-04 00:32:13 +02:00
sam_trng.h arch: arm: sam: fix nxstyle errors 2021-03-28 13:34:50 -07:00
sam_twihs.c Fix the coding style and typo issue 2022-11-14 09:34:04 +09:00
sam_twihs.h arch/arm: Remove FAR and CODE from chip folder(2) 2022-05-03 16:50:52 +03:00
sam_uid.c Remove executable bit from source code 2020-05-13 06:32:13 -06:00
sam_uid.h Remove executable bit from source code 2020-05-13 06:32:13 -06:00
sam_usbdev.h arch/arm: Remove FAR and CODE from chip folder(2) 2022-05-03 16:50:52 +03:00
sam_usbdevhs.c nuttx: Use MIN/MAX definitions from "sys/param.h" 2023-02-01 23:47:44 +08:00
sam_userspace.c arch: arm: sam: Author Gregory Nutt: update licenses to Apache 2021-03-28 13:34:50 -07:00
sam_userspace.h arch: arm: sam: fix nxstyle errors 2021-03-28 13:34:50 -07:00
sam_wdt.c arch/arm: Remove FAR and CODE from chip folder(2) 2022-05-03 16:50:52 +03:00
sam_wdt.h arch: arm: sam: fix nxstyle errors 2021-03-28 13:34:50 -07:00
sam_xdmac.c arch: Remove xxx_sem[take|give] and call nxmuex_[lock|unlock] directly 2022-11-14 09:34:04 +09:00
sam_xdmac.h arch/arm/samv7: get TX DMA running for HSMCI interface 2022-08-11 10:00:39 +08:00
same70_periphclks.h arch: arm: sam: fix nxstyle errors 2021-03-28 13:34:50 -07:00
samv71_periphclks.h arch: arm: sam: fix nxstyle errors 2021-03-28 13:34:50 -07:00