mirror of
https://github.com/apache/nuttx.git
synced 2026-09-01 22:53:01 +00:00
drivers/sensors: add an upper half 3-phase Hall effect sensor driver
Change-Id: Ic8ea4c8defba54e6e288424b8ef02919dd5f10f2
This commit is contained in:
parent
a88aa01dd8
commit
4ad06bc4ed
1 changed files with 5 additions and 5 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue