mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-02 21:25:03 +00:00
c425568c40d2f953b065ca0177c970a1b43554a1
By default the scanning code would pull-low all column pins and listen to any key press interrupt on input pins. This can save power compared to the repeatly polling. Once a key is pressed, the scanning code enters the busy loop and pull-low column pins one by one. Then generate the scan code to host. The code keeps polling after 1 second after no key is pressed. Then goes back to interrupt mode. BUG=none TEST=Manual tested on S*y machine. Change-Id: I0bf8877450dbd6ad1197a2fe1714ab755dc49a80
- EC Lib
This wraps Blizzard driverlib and implements the EC chip interface defined
by Google. See below diagram for architecture.
+--------------------+
| Host BIOS/OS |
+--------------------+
---- host interface ----
+--------------------+
| Google EC features |
+--------------------+
---- chip interface ---- The interface is defined in
src/platform/ec/chip_interface/*.
+--------------------+ But the real implementation is in EC Lib.
| EC Lib |
+--------------------+
| Blizzard low level |
| driver, the |
| driverlib. |
+--------------------+
Description
Languages
C
64.7%
Lasso
20.7%
ASL
3.6%
JavaScript
3.2%
C#
2.9%
Other
4.6%