Changes

Jump to navigation Jump to search
no edit summary
|}
GetRtcTime / SetRtcTime directly accesses the max77620_rtc0 device= bpc:c =This is "nn::bpc::IBoardPowerControlManager"[2.0.0+] This service was replaced by [[#bpc|bpc]]. {| class="wikitable" border="1"|-! Cmd || Name|-| 0 || ShutdownSystem|-| 1 || RebootSystem|-| 2 || GetWakeupReason|-| 3 || GetShutdownReason|-| 4 || GetAcOk|-| 5 || GetBoardPowerControlEvent|} = bpc:b =This is "nn::bpc::IPowerButtonManager". [2.0.0+] This service was merged into [[#bpc|bpc]]. {| class="wikitable" border="1"|-! Cmd || Name|-| 0 || GetSleepButtonState|-| 1 || GetPowerEvent|} = bpc:w =This is "nn::bpc::IWakeupConfigManager". [2.0.0+] This service was merged into [[#bpc|bpc]]. {| class="wikitable" border="1"|-! Cmd || Name|-| 0 || CreateWakeupTimer|-| 1 || CancelWakeupTimer|-| 2 || [[#EnableWakeupTimerOnDevice]]|}
= pcv =
! Cmd || Name
|-
| 0 || [[#GetRtcTime]]
|-
| 1 || [[#SetRtcTime]]
|-
| 2 || SetRtcClientUnknownBool[[#SetUpRtcResetOnShutdown]]
|-
| 3 || [[#GetRtcResetDetected]]
|-
| 4 || [[#ClearRtcResetDetected]]
|}
Commands 0== GetRtcTime ==Same as GetRtcTime from [[#bpc:r|bpc:r]], 1but takes an extra [[Bus_services#Known_Devices_2|DeviceCode]], which [[#bpc:r|bpc:r]] hardcodes to 0x3B000001 (max77620_rtc0) instead. == SetRtcTime ==Same as SetRtcTime from [[#bpc:r|bpc:r]], but takes an extra [[Bus_services#Known_Devices_2|DeviceCode]], 3which [[#bpc:r|bpc:r]] hardcodes to 0x3B000001 (max77620_rtc0) instead. == SetUpRtcResetOnShutdown ==Takes an u8 '''DoReset''' and a [[Bus_services#Known_Devices_2|DeviceCode]]. Similar to SetUpRtcResetOnShutdown from [[#bpc:r|bpc:r]], 4 call but this version assigns the provided boolean value on a per-client basis (instead of a global variable) and checks it when the same internal functions current [[PSC_services#Power_Management_States|power state]] is "ReadyShutdown". == GetRtcResetDetected ==Same as GetRtcResetDetected from [[#bpc:r|bpc:r]], except they take but takes an extra u32 [[Bus_services#Known_Devices_2|device codeDeviceCode]], where which [[#bpc:r|bpc:r ]] hardcodes to 0x3B000001 (max77620_rtc0)instead.
Command 2 == ClearRtcResetDetected ==Same as ClearRtcResetDetected from [[#bpc:r|bpc:r]], but takes a u8 bool and a u32 device code; it opens an i2c session extra [[Bus_services#Known_Devices_2|DeviceCode]], which [[#bpc:r|bpc:r]] hardcodes to the device code, and sets *0x3B000001 (i2c_session_client_object + 0x38max77620_rtc0) = boolinstead.
= time:u, time:a, time:s =

Navigation menu