Editing Talk:SC Communication
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
0x30 AV Service return packet when HDMI inserted (personal info removed): | |||
<pre> | <pre> | ||
000c000: 3001 0000 0000 8031 8000 0000 0104 0104 0......1........ | 000c000: 3001 0000 0000 8031 8000 0000 0104 0104 0......1........ | ||
Line 749: | Line 21: | ||
</pre> | </pre> | ||
== Syscon packets == | |||
=== Configuration Service (0x12): Get reference clock === | |||
Purpose: used to calculate an initial value of timebase register | |||
<pre> | <pre> | ||
struct | struct get_reference_clock_request_t { | ||
uint8_t | uint8_t unk1; // 0x03 | ||
uint8_t unk2; // 0x10 | |||
}; | }; | ||
struct | struct get_reference_clock_response_t { | ||
uint32_t unk1; | |||
uint32_t ref_clock_value; | |||
uint32_t unk2; | |||
}; | }; | ||
</pre> | </pre> | ||
== | === Power Service (0x13): Query system power up cause === | ||
<pre> | |||
struct query_system_power_up_cause_request_t { | |||
uint8_t unk1; // 0x10 | |||
}; | |||
struct query_system_power_up_cause_response_t { | |||
uint32_t error_code; | |||
uint32_t wake_source; | |||
uint8_t requested_os_context; | |||
uint8_t current_os_context; | |||
uint8_t requested_gr_context; | |||
uint8_t current_gr_context; | |||
uint8_t last_shutdown_cause; | |||
uint8_t padding?[3]; | |||
}; | |||
</pre> | |||