PDN Services: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
TimmSkiller (talk | contribs)
link to GetWakeStatus command page
TimmSkiller (talk | contribs)
No edit summary
Line 11: Line 11:
|-
|-
| 0x00020080
| 0x00020080
| ConfigureWakeEvents. [[PDN Registers#PDN_WAKE_REASON|PDN_WAKE_REASON]] = cmdword[2] & cmdword[1]. This then writes cmdword[1] to [[PDN Registers#PDN_WAKE_ENABLE|PDN_WAKE_ENABLE]]. [[PDN Registers#PDN_WAKE_REASON|PDN_WAKE_REASON]] = cmdword[2] & ~cmdword[1].
| [[PDNS:ConfigureWakeEvents|ConfigureWakeEvents]]
|-
|-
| 0x00030040
| 0x00030040

Revision as of 11:52, 3 August 2025


PDN PTM Service "pdn:s"

Command Header Description
0x00010000 GetWakeStatus
0x00020080 ConfigureWakeEvents
0x00030040 Acknowledge. Writes cmdword[1] to PDN_WAKE_REASON.

PDN DSP Service "pdn:d"

Command Header Description
0x000100C0 (bool enable, bool reset, bool deassertResetAfterReset) Enables and/or resets the DSP and/or holds it in reset

PDN I2S Service "pdn:i"

Command Header Description
0x00010040 This sets bit0 in PDN_I2S1_CNT to u8 cmd+4.
0x00020040 This sets bit1 in PDN_I2S2_CNT to u8 cmd+4.

Used by Codec Services.

PDN GSP service "pdn:g"

Command Header Description
0x000100C0 (bool enableClock, bool resetEngines, bool resetRegisters) Enables and/or resets the GPU, see PDN_GPU_CNT

PDN Camera Service "pdn:c"

Command Header Description
0x00010040 This sets bit0 in PDN_CAMERA_CNT to u8 cmd+4.
0x000200000 This writes PDN_CAMERA_CNT & 1 to u8 cmdreply+8.