mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
drivers/sensors: add an upper half 3-phase Hall effect sensor driver
Change-Id: Ic8ea4c8defba54e6e288424b8ef02919dd5f10f2
This commit is contained in:
@@ -284,6 +284,10 @@
|
||||
|
||||
#define SNIOC_SET_BUFFER_NUMBER _SNIOC(0x0084)
|
||||
|
||||
/* IOCTL commands unique to the Hall effect sensor */
|
||||
|
||||
#define SNIOC_GET_POSITION _SNIOC(0x0085)
|
||||
|
||||
/* Command: SNIOC_SELFTEST
|
||||
* Description: Take a selftest for sensor.
|
||||
* Argument: A argument of selftest for sensor.
|
||||
@@ -291,10 +295,6 @@
|
||||
* This cmd is handled by sensor_ops_s::selftest.
|
||||
*/
|
||||
|
||||
#define SNIOC_SELFTEST _SNIOC(0x0085)
|
||||
|
||||
/* IOCTL commands unique to the Hall effect sensor */
|
||||
|
||||
#define SNIOC_GET_POSITION _SNIOC(0x0086)
|
||||
#define SNIOC_SELFTEST _SNIOC(0x0086)
|
||||
|
||||
#endif /* __INCLUDE_NUTTX_SENSORS_IOCTL_H */
|
||||
|
||||
Reference in New Issue
Block a user