nuttx/include/nuttx
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
..
1wire 1wire: Removes duplicate device information 2021-04-15 02:28:42 -05:00
analog adc: add ioctl command to get the number of configured channels 2021-07-26 19:45:47 -07:00
audio NuttX: Ken Pettit: update licenses to Apache 2021-04-10 06:42:19 -05:00
binfmt binfmt: Replace all nx_ API with file_ API 2021-07-06 11:18:13 +09:00
can can: Add CAN FD flags to CAN message header 2021-03-19 23:00:07 -07:00
contactless drivers: contactless: mfrc522: update licenses to Apache 2021-04-01 12:13:12 -05:00
crypto Don't include debug.h from public header file 2021-06-01 06:42:02 +09:00
drivers sim_addrenv: support add addrenv dynamically multiple times. 2021-05-30 23:28:40 -05:00
eeprom include: Author Sebastien Lorquet: update licenses to Apache 2021-03-20 19:22:58 -07:00
efuse include: Fix typos reported by codespell 2021-02-25 11:30:38 -08:00
fs arch/sim: Copy include/nuttx/config.h to the local folder 2021-07-27 07:44:33 +09:00
himem xtensa/esp32: Add high memory support to work with PSRAM 2020-11-18 22:21:53 +01:00
i2c sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
input include: update licenses to Apache 2021-05-27 08:07:25 +09:00
ioexpander Add basic support for MCP23017 I/O Expander 2021-05-16 12:48:52 -05:00
lcd Fix various typos 2021-07-25 18:36:53 -07:00
leds NuttX: DS Automotion GmbH: update licenses to Apache 2021-04-01 12:13:12 -05:00
lib mm: Add kmm_malloc_size and mm_malloc_size 2021-07-05 14:23:24 +09:00
mbox Change all files come from Xiaomi/Pinecone to Apache License 2.0 2020-08-22 17:37:21 -06:00
mm mm: Remove mm_heap_impl_s struct 2021-07-07 04:25:15 -07:00
modem include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00
motor drivers/motor/foq: Remove forward declaration for nonexistent type 2021-06-18 14:11:05 -03:00
mtd mtd: Add MTDIOC_ERASESTATE command for retrieving erase state value 2021-07-17 09:00:41 -07:00
net net/socket: add SO_SNDBUF support 2021-07-20 20:24:58 -07:00
note Add task name recording for note RAM driver 2020-11-02 01:12:08 -08:00
nx Documentation, comments: Minor improvements and typos fixed 2021-05-09 19:12:13 -07:00
power drivers: move the generic upper-half motor driver from drivers/power to drivers/motor 2021-05-05 09:00:22 +02:00
rc rc/dummy: add dummy driver to test driver skeleton 2020-11-05 11:38:28 -03:00
rf Remove copyright from headers 2020-11-25 05:13:46 -08:00
rptun rptun: fix compile break when disable openamp 2021-07-14 23:36:14 -07:00
sensors include: update licenses to Apache 2021-05-27 08:07:25 +09:00
serial serial/uart/h4: add bt h4 uart serial driver 2021-05-31 09:50:54 -03:00
spi spi: Refactor SPI Slave interface prefix to sync with I2C Slave 2021-06-05 04:50:34 -07:00
syslog syslog/ramlog_channel: fix log confusion when multi task writing together 2021-07-03 11:24:21 -05:00
timers pwm: add option to break the loops when using multiple PWM channels 2021-07-26 10:34:16 -03:00
usb include: update licenses to Apache 2021-05-27 08:07:25 +09:00
video sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
wireless bluetooth/filter: add more OGF definition 2021-07-12 16:13:15 -03:00
.gitignore
addrenv.h mm: Remove mm_heap_impl_s struct 2021-07-07 04:25:15 -07:00
arch.h arm: add up_secure_irq support 2021-07-22 10:50:53 -03:00
ascii.h include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00
b2c.h Change all files come from Xiaomi/Pinecone to Apache License 2.0 2020-08-22 17:37:21 -06:00
board.h board/ctrl: add BOARDCTL_SWITCH_BOOT switch boot system support 2021-07-22 09:03:51 -07:00
cache.h Fix nxstyle warning 2020-08-22 17:37:21 -06:00
can.h sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
cancelpt.h include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00
clock.h include/nuttx/clock.h: Fix wrong comment 2020-11-22 18:33:50 -08:00
compiler.h Add experimental support for an eZ80 toolchain using llvm and GNU binutils. 2021-04-27 21:18:48 -03:00
elf.h Fix nxstyle warning 2020-08-22 17:37:21 -06:00
environ.h include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00
envpath.h include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00
init.h include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00
irq.h Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
kmalloc.h mm: Add kmm_malloc_size and mm_malloc_size 2021-07-05 14:23:24 +09:00
kthread.h sched: Add kthread_create_with_stack 2021-06-27 12:35:13 -03:00
lirc.h driver/rc: support IR remote control 2020-11-05 11:38:28 -03:00
list.h Fix nxstyle warning 2020-08-22 17:37:21 -06:00
mmcsd.h include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00
module.h include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00
mqueue.h fs: Support the root file system attributes(mode, uid, gid and time) 2021-07-14 10:35:15 -03:00
mutex.h Change all files come from Xiaomi/Pinecone to Apache License 2.0 2020-08-22 17:37:21 -06:00
nuttx.h include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00
page.h include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00
pgalloc.h include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00
progmem.h NuttX: Uros Platise: update licenses to Apache 2021-04-01 12:13:12 -05:00
pthread.h libc: Call pthread_exit in user-space by up_pthread_exit 2021-05-21 22:46:52 -06:00
random.h crypto/arc4random: rename getrandom to arc4random_buf 2020-12-13 08:49:51 -06:00
sched.h sched: Move tls_ndxset_t & tls_dtor_t to tls.h 2021-07-19 04:26:58 -07:00
sched_note.h Remove tabs and spaces at the end of lines 2020-10-24 09:38:21 +01:00
scsi.h include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00
sdio.h sdio,stm32h7: fixed an issue with not starting IDMA data transfer in case of IO_RW_EXTENDED command (CMD53); 2021-06-21 02:47:46 -05:00
semaphore.h sched: Don't include nuttx/sched.h inside sched.h 2021-05-24 12:11:53 +09:00
signal.h signal: fix compile break in c++ 2020-12-25 21:07:04 +01:00
spawn.h sched/task: Simplify the syscall handling of task_spawn 2021-06-01 12:45:10 +09:00
spinlock.h sched: Don't include nuttx/sched.h inside sched.h 2021-05-24 12:11:53 +09:00
streams.h drivers/syslog: Remove emergstream implementation and caller 2021-05-18 09:26:28 -03:00
symtab.h symtabs: improve handling of symbol lookups 2021-03-16 10:18:17 -07:00
time.h include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00
tls.h sched: Move tls_ndxset_t & tls_dtor_t to tls.h 2021-07-19 04:26:58 -07:00
tree.h include/: Remove dangling space at the end of lines. 2017-06-28 13:30:08 -06:00
userspace.h mm: Remove mm_heap_impl_s struct 2021-07-07 04:25:15 -07:00
vt100.h include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00
wdog.h sched/wdog: Remove flags field from wdog_s to save memory 2021-07-01 19:27:10 -03:00
wqueue.h wqueue: Fix typos 2021-07-16 19:54:08 -03:00
zoneinfo.h include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00