Freescale Semiconductor FRDM-FXS-MULTI-B Ficha De Dados

Página de 100
FXOS8700CQ
Sensors
Freescale Semiconductor, Inc.
53
10.8.1
PL_STATUS (0x10)  register
This status register can be read to get updated information on any change in orientation by reading bit 7, or the specifics of the 
orientation by reading the other bits. For further understanding of Portrait Up, Portrait Down, Landscape Left, Landscape Right, 
Back and Front orientations please refer to 
. The interrupt is cleared when reading the PL_STATUS register.
The newlp bit is set to 1 after the first orientation detection after a Standby to Active transition, and whenever a change in lobafro
or lapo occurs. The newlp bit is cleared anytime the PL_STATUS register is read. lapo, bafro and lo continue to change when 
newlp is set. The current orientation is locked if the absolute value of the acceleration experienced on any of the three axes is 
greater than 1.25 g.
Table 63.   PL_STATUS register
newlp
lo
lapo[1:0]
bafro
0
0
0
0
0
0b00
0
Table 64. PL_STATUS bit descriptions
Field
Description
newlp
Landscape/Portrait status change flag.
0: No change
1: BAFRO and/or LAPO and/or Z-tilt lockout value has changed
lo
Z-tilt angle lockout.
0: Lockout condition has not been detected. 
1: Z-tilt lockout trip angle has been exceeded. Lockout condition has been detected.
lapo[1:0]
(1)
1. The default powerup state is bafro(Undefined), lapo(Undefined), and no lockout for orientation function.
Landscape/Portrait orientation.
0b00: Portrait up: equipment standing vertically in the normal orientation
0b01: Portrait down: equipment standing vertically in the inverted orientation
0b10: Landscape right: equipment is in landscape mode to the right
0b11: Landscape left: equipment is in landscape mode to the left.
bafro
Back or front orientation.
0: Front: equipment is in the front facing orientation.
1: Back: equipment is in the back facing orientation.