
MMA865xFC Sensor Toolbox User’s Guide, Rev. 0
Freescale Semiconductor, Inc.
53
Table 16. Full-System Evaluation – Orientation screen
Screen
Frame
Element
Description
Orientation
Detection
Setting
Note
:
Before
changing
settings in
the
Orientation
Detection
frame, the
Enable P/L
checkbox
must be
enabled.
Enable P/L
Enables configuration of the other parameters in the frame. (Clearing this checkbox
will not, however, prevent the demo from functioning.)
Portrait-to-Landscape
Trip Angle
Shows the current value. (Read only)
Landscape-to-Portrait
Trip Angle
Shows the current value. (Read only)
Set Default Settings
Restores all portrait-to-landscape orientation settings to the factory default values.
Z-Lock Angle
Sets the Z-axis angle at or below which the device will ignore changes in orientation,
because that value is considered to be the flat orientation.
B/F Trip Angle
(Back/Front Trip Angle)
Sets the range of z-axis angles that the device considers as facing front and back.
P-L Trip Angle
(Portrait to Landscape)
Sets the
midpoint of the angle at which the device changes from portrait to landscape
orientation.
The P-L Trip Angle is measured down from the x axis (for changing to the right
landscape orientation), and up from the x axis (for changing to left landscape
orientation).
Hysteresis Angle
Sets the
distance from the midpoint of the angle at which the device changes from
portrait to landscape orientation.
The actual trip angle for changing orientation is the P-L Angle ± this angle.
Decrement Debounce
Causes the Debounce timer to be decremented, for each time that an event fails to
reach the debounce time.
Clear Debounce
Causes the timer set by the Debounce slider to reset, for each time that an event fails
to reach the debounce time.
Debounce
slider
Sets the amount of time that the configured conditions must be in place, in order to
trigger an interrupt. Any event whose duration does not exceed this time do not
trigger an interrupt.
• Before moving the Debounce slider,
the Enable P/L checkbox must be enabled
and the Reset button must be clicked.
• After moving the Debounce slider,
click the Set button to change the setting.
Set
Saves the new configuration settings after the repositioning of the Debounce slider.
After changing either the Debounce slider, click Set to register the new settings with
the device.
Reset
Resets the Debounce slider.
Before configuring the Debounce slider, click Reset to enable the new configuration.