PCV services: Difference between revisions

Line 523: Line 523:
| 1 || SetRtcTime
| 1 || SetRtcTime
|-
|-
| 2 ||
| 2 || SetRtcClientUnknownBool
|-
|-
| 3 || GetRtcResetDetected
| 3 || GetRtcResetDetected
Line 530: Line 530:
|}
|}


Commands 0, 1, 2, 4 call the same internal functions as bpc:r, except they take an extra u32 [[Bus_services#Known_Devices_2|device code]], where bpc:r hardcodes 0x3B000001 (max77620_rtc0).
Commands 0, 1, 3, 4 call the same internal functions as bpc:r, except they take an extra u32 [[Bus_services#Known_Devices_2|device code]], where bpc:r hardcodes 0x3B000001 (max77620_rtc0).
 
Command 2 takes a u8 bool and a u32 device code; it opens an i2c session to the device code, and sets *(i2c_session_client_object + 0x38) = bool.


= time:u, time:a, time:s =
= time:u, time:a, time:s =