nuttx/include
dongjiuzhu 148afd9548 driver/sensors: support custom type of sensor.
For examples, the custom sensor could define:
struct custem_event_s
{
  uint64_t timestamp;
  int16_t adc[8];
};
struct sensor_lowerhalf_s g_lower =
{
 .buffer_size = 1024,
};
sensor_custom_register(lower, "/dev/sensor/custom0", sizeof(struct custem_event_s));

Signed-off-by: dongjiuzhu <dongjiuzhu1@xiaomi.com>
2020-11-24 13:23:15 -03:00
..
arpa nxstyle fixes 2020-04-11 21:19:47 +01:00
cxx stdio: remove depends on setbuf setvbuf 2020-10-26 22:12:02 -07:00
net NXStyle fixes 2020-06-15 08:07:19 -06:00
netinet include/netinet/arp.h: Previous network changes broke the build test (#193) 2020-01-31 21:23:15 +01:00
netpacket bluetooth: Add support for HCI RAW channel; make host layer optional 2020-10-25 17:04:25 -07:00
nuttx driver/sensors: support custom type of sensor. 2020-11-24 13:23:15 -03:00
sys sys/epoll: sync the epoll define with linux 2020-11-09 18:53:48 -08:00
.gitignore build: Remve the unnecessary .gitignore 2020-05-23 18:00:40 +01:00
aio.h syscall: Fix typo error in cvs and header file 2020-05-07 10:31:05 -06:00
alloca.h include/alloca.h: Add alloca.h. Included limited implmentation of alloc() that is only available for GCC versions 3 and above. 2019-04-04 11:04:08 -06:00
assert.h arch: up_assert shouldn't call exit directly 2020-07-19 01:21:36 +01:00
crc8.h Battery monitor support (#404) 2020-02-28 18:18:50 -06:00
crc16.h
crc32.h
crc64.h include/crc64.h: fix warning: integer constant is too large for its type 2018-08-27 05:47:59 -06:00
ctype.h libc: Change ctype macro to normal function 2020-08-21 16:56:00 +08:00
debug.h Add debug.h selection choice to support include chip debug.h 2020-11-18 05:22:13 -08:00
dirent.h vfs/dirread: Should return the same file type as lstat 2020-07-07 13:41:10 +01:00
dlfcn.h Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
dsp.h libdsp: Changed headers for apache 2.0 license 2020-10-10 12:24:28 -06:00
elf32.h Add missing Elf_Addr typedef 2020-04-30 08:46:21 -06:00
elf64.h Add missing Elf_Addr typedef 2020-04-30 08:46:21 -06:00
elf.h arch: Select 64bit elf base on the architecture characteristic 2020-05-31 21:38:32 -07:00
endian.h Fix typographical error in endian.h and resource.h 2018-11-09 09:05:48 -06:00
errno.h Completes the Implementation of the TLS-based errno 2020-05-07 23:11:34 +01:00
fcntl.h syscall: Fix typo error in cvs and header file 2020-05-07 10:31:05 -06:00
fixedmath.h Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
ftw.h libc: Implement ftw and nftw function 2020-08-11 16:44:42 +09:00
getopt.h libc: implement getopt_long partially 2020-11-21 07:01:08 -06:00
grp.h libc/grp: Added stubbed implementations of getgrgid, getgrgid_r, getgrnam, getgrnam_r, and initgroups. These functions are essentially stubs pretending that NuttX supported groups and that the only configured group in the system was 'root' with gid 0. The intend is not to provide meaningful new features, but to ease porting of foreign source code to NuttX. 2019-08-03 08:23:04 -06:00
hex2bin.h Squashed commit of the following: 2019-06-26 14:37:19 -06:00
inttypes.h include/inttypes.h: Provide PRIdMAX and friends using 'j' modifier 2020-11-19 00:49:56 -08:00
libgen.h
limits.h libc/stdio: Allocate file_struct dynamically 2020-09-11 17:58:17 +08:00
locale.h libc/locale: Add the mininal support for locale_t operation 2020-06-15 07:20:19 -06:00
lzf.h Refine the preprocessor conditional guard style (#190) 2020-01-31 19:07:39 +01:00
malloc.h mm: Implement malloc_usable_size 2020-08-24 03:36:44 -07:00
mqueue.h syscall: Fix typo error in cvs and header file 2020-05-07 10:31:05 -06:00
netdb.h libc/netdb: Add hostent_s to avoid the change of hostent 2020-04-01 16:09:28 -06:00
nxflat.h Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
poll.h Change all 'Nuttx' to 'NuttX' 2020-10-20 01:45:06 -07:00
pthread.h pthread/spinlock: move the structure prototype out of the definition 2020-11-09 18:45:48 -08:00
pwd.h libc/pwd: Added stubbed implementations 2019-08-04 07:18:58 -06:00
queue.h include/queue.h: Add dq_tail marco 2018-08-27 05:57:53 -06:00
sched.h sched: Fix undefined reference to 'sched_cpu_count' 2020-09-21 07:37:04 -07:00
semaphore.h Implement proposed POSIX _clockwait variants of existing _timedwait functions 2020-07-27 20:39:59 -03:00
signal.h signal.h: fix compile failed when open TTY_SIGINT 2020-11-05 08:28:53 +01:00
spawn.h syscall: Fix typo error in cvs and header file 2020-05-07 10:31:05 -06:00
stdbool.h include/stdbool.h: Define bool only when __cplusplus isn't defined. 2019-01-27 11:25:00 -06:00
stddef.h stddef.h: Add max_align_t typedef 2020-05-27 05:40:37 -06:00
stdint.h include/inttypes.h: Provide PRIdMAX and friends using 'j' modifier 2020-11-19 00:49:56 -08:00
stdio.h stdio.h: Sprinkle scanflike 2020-11-19 18:03:04 -08:00
stdlib.h libs/libc/stdlib: Implement mkdtemp(3) syscall 2020-09-19 04:16:14 -07:00
stdnoreturn.h
string.h libc: Implement strlcpy function 2020-08-14 03:44:26 -07:00
strings.h libc: Implement popcount/popcountl/popcountll 2020-09-21 07:37:04 -07:00
syscall.h
syslog.h setlogmask(): Add comments 2020-05-11 11:32:55 -04:00
termios.h serial/termios: support custom baud rate setting 2020-10-21 10:11:21 -07:00
threads.h threads.h: Support mtx_timedlock and recursive mutex 2020-06-02 09:45:05 +02:00
time.h libc/time: redirect timegm(3) to mktime(3) 2020-09-19 01:04:17 -07:00
unistd.h libc: Add opterr global variable 2020-11-21 07:01:08 -06:00
uuid.h libc: Add uuid implemenation 2020-07-21 21:48:18 -07:00
wchar.h libc: Add the remaining wscanf series declaration 2020-06-08 11:42:56 +01:00
wctype.h syscall: Fix typo error in cvs and header file 2020-05-07 10:31:05 -06:00