nuttx/arch
Michal Lenc 758b3baef0 samv7/adc: fix handling of ANIOC_TRIGGER ioctl
ADC peripheral can be configured also for PWM trigger, so the ifdef
should depend only on CONFIG_SAMV7_AFEC_SWTRIG. Also handle the
situation when ANIOC_TRIGGER is called and the peripheral is not
configured for SW trigger (but the other one may be, so config option
is set).

Trigger values saved to the private structure are also changed to
enums for better code clarity.

Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2025-01-24 01:29:44 +08:00
..
arm samv7/adc: fix handling of ANIOC_TRIGGER ioctl 2025-01-24 01:29:44 +08:00
arm64 arm/goldfish: add ARCH_HAVE_ELF_EXECUTABLE 2025-01-23 23:29:51 +08:00
avr Because sched_lock is now called in spin_lock_irqsave, there is no need to call it explicitly. 2025-01-23 20:43:51 +08:00
ceva arch: set (*running_task)->xcp.regs to NULL when exit from irq/exception 2025-01-22 23:52:17 +08:00
dummy
hc arch: set (*running_task)->xcp.regs to NULL when exit from irq/exception 2025-01-22 23:52:17 +08:00
mips Because sched_lock is now called in spin_lock_irqsave, there is no need to call it explicitly. 2025-01-23 20:43:51 +08:00
misoc arch: up_getusrsp change to inline and implement in irq.h 2025-01-06 23:03:05 +08:00
or1k Use small lock to protect resources related to irq in arch avr, hc, mips and or1k. 2025-01-22 15:27:30 +08:00
renesas Because sched_lock is now called in spin_lock_irqsave, there is no need to call it explicitly. 2025-01-23 20:43:51 +08:00
risc-v Because sched_lock is now called in spin_lock_irqsave, there is no need to call it explicitly. 2025-01-23 20:43:51 +08:00
sim Because sched_lock is now called in spin_lock_irqsave, there is no need to call it explicitly. 2025-01-23 20:43:51 +08:00
sparc Use small lock to protect resources related to irq in arch avr, hc, mips and or1k. 2025-01-22 15:27:30 +08:00
tricore arch: set (*running_task)->xcp.regs to NULL when exit from irq/exception 2025-01-22 23:52:17 +08:00
x86 kasan/kconfig: Add config CONFIG_MM_KASAN_INSTRUMENT 2025-01-14 14:01:48 +08:00
x86_64 arch/x86_64: add ARCH_HAVE_ELF_EXECUTABLE 2025-01-23 23:29:51 +08:00
xtensa Because sched_lock is now called in spin_lock_irqsave, there is no need to call it explicitly. 2025-01-23 20:43:51 +08:00
z16 arch: up_getusrsp change to inline and implement in irq.h 2025-01-06 23:03:05 +08:00
z80 arch: up_getusrsp change to inline and implement in irq.h 2025-01-06 23:03:05 +08:00
CMakeLists.txt arch/z80: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
Kconfig arch/Kconfig: allow FLASH config for non-MMU chips 2025-01-17 16:38:17 +08:00