nuttx/arch/arm
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
..
include arm/setjmp.h:add c++ support 2021-07-09 14:06:10 -03:00
src adc: add ioctl command to get the number of configured channels 2021-07-26 19:45:47 -07:00
Kconfig Kconfig: add quotes in source to clean warnings from setconfig 2021-07-23 02:32:19 -07:00