blob: 6e84fc330790e04ecc5cfef3fdbdc61b51eab994 [file] [view]
# Configure Motion Sensors
EC sensors are used for the following capabilities:
- Accelerometers in base and lid measure lid angle to toggle between laptop
and tablet modes.
- Ambient light sensors control display backlight level.
- All sensor types, including gyroscope, e-compass, and pressure, are used by
Android apps.
- Special sync sensor type, synchronizes sensor events with AP.
*TODO* - there is good content available in the most recent [Chrome EC] overview
presentation that can be added here.
## Config options
*TODO*
## Feature Parameters
*TODO*
## GPIOs and Alternate Pins
*TODO*
- `GPIO_EC_INT_L` - Output from the EC, driven low to indicate an event on the
EC is ready for servicing by the AP.
## Data Structures
*TODO*
## Tasks
*TODO*
## Testing and Debugging
*TODO*
### Console Commands
*TODO*
## Example
*TODO*
[Chrome EC]: https://docs.google.com/presentation/d/1Y3PwNSnCQoCqDfL5rYqfaBP_ZqbMOTw_x83_ry4cro8/view#slide=id.g63bdbcea4b_0_27