![ST eMotion Скачать руководство пользователя страница 26](http://html.mh-extra.com/html/st/emotion/emotion_user-manual_1355657026.webp)
Supported commands
UM0979
26/39
DocID017768 Rev 4
STON and STOFF
The *STON and *STOFF commands are employed respectively to set to 1, and to clear to 0,
the “self test” pin in analog devices.
HPON and HPOFF
The *HPON and *HPOFF commands are employed respectively to set to 1, and to clear to
0, the “high-pass filter” pin in analog devices.
FSON and FSOFF
The *FSON and *FSOFF commands are employed respectively to set to 1 and to clear to 0
the “full scale” pin in analog devices.
4.2.2
Digital output accelerometers: supported commands
Table 6
below lists the commands supported by the devices/demonstration boards including
a digital output accelerometer.
Table 6. Digital output accelerometers: supported commands list
Command
Description
Returned value
*setdbXXXVY
Selects firmware according to the adapter
connected
*start
Starts continuous data acquisition
(see
Table 4
)
*debug
Returns the output data in readable text format
(see
Table 5
)
*stop
Stops data acquisition
*Zon
Forces 3-state
*Zoff
Exits from 3-state
*dev
Device name
e.g.: LIS3DH
*ver
Firmware version
e.g.: V1.0
*rAA
Accelerometer register read
e.g.: RAAhDDh
*wAADD
Accelerometer register write
*single
It gets a single X, Y, and Z data acquisition
(see
Table 5
)
*list
Prints the list of MKIs supported
e.g.: MKI105V1
*listdev
Prints the list of devices supported
e.g.: LIS3DH
*echoon
Activates the write verbose mode
e.g.: RAAhDDh
*echooff
Deactivates the write verbose mode
*fiforst
(1)
Accelerometer “Reset mode” enable
st 0 0 0 0 0 0 IR FC FS
*fifomde
(1)
Accelerometer “FIFO mode” enable
st 0 0 0 0 0 0 IR FC FS
*fifostr
(1)
Accelerometer “FIFO stream” enable
st 0 0 0 0 0 0 IR FC FS
*fifostf
(1)
Accelerometer “Stream-to-FIFO” enable
st 0 0 0 0 0 0 IR FC FS
*fifobtf
(1)
Accelerometer “Bypass-to-FIFO” enable
st 0 0 0 0 0 0 IR FC FS