nuttx/arch/arm/src/samd2l2
Michal Lenc 9fc806984c adc: add ioctl command to get the number of configured channels
Number of configured ADC channels is currently only defined in board
level section, typically in xxx_adc.c file. This commit introduces
ioctl command ANIOC_GET_NCHANNELS that returns the number of configured
channels which is determined by the driver code. The change can allow the
applications to be more flexible when it comes to multiple ADC devices
with different number of configured channels.

Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2021-07-26 19:45:47 -07:00
..
hardware arch: arm: update licenses to Apache 2021-05-31 01:37:27 -05:00
chip.h arch: arm: sam: fix nxstyle errors 2021-03-28 13:34:50 -07:00
Kconfig
Make.defs libc: Call pthread_exit in user-space by up_pthread_exit 2021-05-21 22:46:52 -06:00
sam_ac.c arch: arm: update licenses to Apache 2021-05-31 01:37:27 -05:00
sam_ac.h arch: arm: update licenses to Apache 2021-05-31 01:37:27 -05:00
sam_adc.c adc: add ioctl command to get the number of configured channels 2021-07-26 19:45:47 -07:00
sam_adc.h arch: arm: update licenses to Apache 2021-05-31 01:37:27 -05:00
sam_clockconfig.h arch: arm: sam: fix nxstyle errors 2021-03-28 13:34:50 -07:00
sam_config.h arch: arm: sam: fix nxstyle errors 2021-03-28 13:34:50 -07:00
sam_dac.h arch: arm: update licenses to Apache 2021-05-31 01:37:27 -05:00
sam_dmac.c Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
sam_dmac.h arch: arm: sam: fix nxstyle errors 2021-03-28 13:34:50 -07:00
sam_eic.c arch: arm: update licenses to Apache 2021-05-31 01:37:27 -05:00
sam_eic.h arch: arm: update licenses to Apache 2021-05-31 01:37:27 -05:00
sam_evsys.h arch: arm: update licenses to Apache 2021-05-31 01:37:27 -05:00
sam_fuses.h arch: arm: sam: Author Gregory Nutt: update licenses to Apache 2021-03-28 13:34:50 -07:00
sam_gclk.h arch: arm: sam: Author Gregory Nutt: update licenses to Apache 2021-03-28 13:34:50 -07:00
sam_i2c_master.c Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
sam_i2c_master.h arch: arm: sam: fix nxstyle errors 2021-03-28 13:34:50 -07:00
sam_i2c_slave.h arch: arm: sam: Author Gregory Nutt: update licenses to Apache 2021-03-28 13:34:50 -07:00
sam_idle.c Don't include debug.h from public header file 2021-06-01 06:42:02 +09:00
sam_irq.c Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
sam_irq.h arch: arm: sam: Author Gregory Nutt: update licenses to Apache 2021-03-28 13:34:50 -07:00
sam_irqprio.c arch: arm: sam: Author Gregory Nutt: update licenses to Apache 2021-03-28 13:34:50 -07:00
sam_lowputc.c arch: arm: sam: fix nxstyle errors 2021-03-28 13:34:50 -07:00
sam_lowputc.h arch: arm: sam: Author Gregory Nutt: update licenses to Apache 2021-03-28 13:34:50 -07:00
sam_periphclks.h arch: arm: sam: Author Gregory Nutt: update licenses to Apache 2021-03-28 13:34:50 -07:00
sam_pinmap.h arch: arm: sam: fix nxstyle errors 2021-03-28 13:34:50 -07:00
sam_pm.h arch: arm: sam: Author Gregory Nutt: update licenses to Apache 2021-03-28 13:34:50 -07:00
sam_port.c arch: arm: sam: fix nxstyle errors 2021-03-28 13:34:50 -07:00
sam_port.h arch: arm: sam: fix nxstyle errors 2021-03-28 13:34:50 -07:00
sam_sercom.c arch: arm: sam: fix Mixed Case Errors 2021-03-28 13:34:50 -07:00
sam_sercom.h arch: arm: sam: fix nxstyle errors 2021-03-28 13:34:50 -07:00
sam_serial.c Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
sam_serial.h arch: arm: sam: fix nxstyle errors 2021-03-28 13:34:50 -07:00
sam_spi.c arch: spi: fix bad null-pointer assertions 2020-10-31 10:40:41 -07:00
sam_spi.h arch: arm: sam: fix nxstyle errors 2021-03-28 13:34:50 -07:00
sam_start.c arch: Fix the stack boundary calculation and check 2021-04-10 08:39:54 -07:00
sam_start.h arch: arm: sam: fix nxstyle errors 2021-03-28 13:34:50 -07:00
sam_timerisr.c arch: arm: sam: Author Gregory Nutt: update licenses to Apache 2021-03-28 13:34:50 -07:00
sam_usart.c arch: arm: sam: Author Gregory Nutt: update licenses to Apache 2021-03-28 13:34:50 -07:00
sam_usart.h arch: arm: sam: fix nxstyle errors 2021-03-28 13:34:50 -07:00
sam_usb.c Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
sam_usb.h arch: arm: sam: fix nxstyle errors 2021-03-28 13:34:50 -07: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
samd_clockconfig.c arch: arm: sam: fix nxstyle errors 2021-03-28 13:34:50 -07:00
samd_gclk.c arch: arm: sam: Author Gregory Nutt: update licenses to Apache 2021-03-28 13:34:50 -07:00
samd_periphclks.h arch: arm: sam: Author Gregory Nutt: update licenses to Apache 2021-03-28 13:34:50 -07:00
saml_clockconfig.c arch: arm: sam: fix nxstyle errors 2021-03-28 13:34:50 -07:00
saml_gclk.c arch: arm: sam: Author Gregory Nutt: update licenses to Apache 2021-03-28 13:34:50 -07:00
saml_periphclks.h arch: arm: sam: Author Gregory Nutt: update licenses to Apache 2021-03-28 13:34:50 -07:00