mirror of
https://github.com/apache/nuttx.git
synced 2026-08-20 13:08:26 +00:00
feat: touch: add io command for touch firmware version
CHAMPION-53 add io command for touch firmware version Change-Id: I777285d2343b32ffd9caef2fc746fe491c5890d7 Signed-off-by: futerigele <futerigele@xiaomi.com>
This commit is contained in:
parent
40380c117c
commit
e3b87ea0aa
1 changed files with 2 additions and 1 deletions
|
|
@ -51,9 +51,10 @@
|
|||
#define TSIOC_GETCALIB _TSIOC(0x0002) /* arg: Pointer to int calibration value */
|
||||
#define TSIOC_SETFREQUENCY _TSIOC(0x0003) /* arg: Pointer to uint32_t frequency value */
|
||||
#define TSIOC_GETFREQUENCY _TSIOC(0x0004) /* arg: Pointer to uint32_t frequency value */
|
||||
#define TSIOC_GETFWVERSION _TSIOC(0x0005) /* arg: Pointer to uint32_t firmware version value */
|
||||
|
||||
#define TSC_FIRST 0x0001 /* First common command */
|
||||
#define TSC_NCMDS 4 /* Four common commands */
|
||||
#define TSC_NCMDS 5 /* Five common commands */
|
||||
|
||||
/* User defined ioctl commands are also supported. However, the TSC driver must
|
||||
* reserve a block of commands as follows in order prevent IOCTL command numbers
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue