summaryrefslogtreecommitdiff
path: root/docs/configuration/motion_sensors.md
blob: 4dac939b10a0dd4725706135f7f9117cabb8750c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# 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