AppleHDQGasGaugeControl: Difference between revisions

From iPhone Development Wiki
No edit summary
Line 10: Line 10:
| 1 || getHDQState || - || -
| 1 || getHDQState || - || -
|-
|-
| 2 || getDeviceConfiguration || - || struct GGHDQConfiguration { char configuration[354]; } /* len = 354 */
| 2 || getDeviceConfiguration || - || struct GGHDQConfiguration { char configuration[354]; }
|-
|-
| 3 || enableCurrentLog || - || -  
| 3 || enableCurrentLog || - || -  

Revision as of 16:15, 27 April 2020

AppleHDQGasGaugeControl is a kernel extension for managing the gas gauge device that monitors the battery.

Methods

Selector Action Input Output
0 reset int flag -
1 getHDQState - -
2 getDeviceConfiguration - struct GGHDQConfiguration { char configuration[354]; }
3 enableCurrentLog - -
6 hdqBreak - -
7 hdqReadWriteByte - -
8 hdqReadWord - -
9 readBlock - -
10 ctlWriteWord - -
11 ctlReadWord - -
14 drainDataLog - -
15 writeBlock - -
15 interrupts - -

NOTE: this table currently is only showing the selectors, the input / output will be documented later.