nuttx/arch
Pressl, Štěpán 1a2e752ea7 arch/arm/src/samv7/sam_qencoder.c: add support for GETINDEX ioctl call
The SAMV7's qencoder driver now supports the GETINDEX ioctl call
which does not reset the internal Timer/Counter and returns
the current position, position of the last index and the number
of captured indexes to a struct qe_index_s pointer. Because the
SAMV7's timers are 16bit, the extension to 32 bits must be done.

Select CONFIG_SAMV7_QENCODER_ENABLE_GETINDEX in the Kconfig to
enable this functionality.

This driver does not obey the instructions given in the ATSAMV7
2023 datasheet because the recommended trigger resets the internal
counter which is not desired. Instead, a capture into capture A
and capture B registers is used. This way if an event happens
(the rising edge of the index signal), the current counter's value
is captured.

Signed-off-by: Stepan Pressl <pressste@fel.cvut.cz>
2024-04-17 19:44:34 +08:00
..
arm arch/arm/src/samv7/sam_qencoder.c: add support for GETINDEX ioctl call 2024-04-17 19:44:34 +08:00
arm64 arch/arm64/src/imx9: Add a more capable uart driver 2024-04-17 00:10:10 +08:00
avr fix nxstyle 2024-04-15 15:33:17 -03:00
ceva stack: update up_get_intstackbase API to support cpu id 2024-04-09 16:59:00 -03:00
dummy
hc stack: update up_get_intstackbase API to support cpu id 2024-04-09 16:59:00 -03:00
mips stack: update up_get_intstackbase API to support cpu id 2024-04-09 16:59:00 -03:00
misoc comments/docs: fix typos in comments 2024-03-06 13:31:50 +08:00
or1k stack: update up_get_intstackbase API to support cpu id 2024-04-09 16:59:00 -03:00
renesas stack: update up_get_intstackbase API to support cpu id 2024-04-09 16:59:00 -03:00
risc-v esp32[c3|c6|h2]: Fix simple boot map_rom_segments 2024-04-17 00:09:58 +08:00
sim sim/kconfig: select ARCH_TOOLCHAIN_GNU 2024-04-07 14:57:44 -03:00
sparc arch: Remove xxx_intstack_top and xxx_intstack_alloc 2024-04-09 16:59:00 -03:00
tricore arch/tricore: add spinlock support 2024-03-21 18:47:14 +08:00
x86 stack: update up_get_intstackbase API to support cpu id 2024-04-09 16:59:00 -03:00
x86_64 stack: update up_get_intstackbase API to support cpu id 2024-04-09 16:59:00 -03:00
xtensa esp32s3: add simple boot support 2024-04-17 19:43:05 +08:00
z16 comments/docs: fix typos in comments 2024-03-06 13:31:50 +08:00
z80 comments/docs: fix typos in comments 2024-03-06 13:31:50 +08:00
CMakeLists.txt build/cmake: add initial KERNEL mode support 2024-03-15 16:21:23 +08:00
Kconfig arch/kconfig: minor revision for KMAP_NPAGES 2024-04-14 14:48:23 +08:00