I2C Services: Difference between revisions

TimmSkiller (talk | contribs)
TimmSkiller (talk | contribs)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:Services]]
[[Category:Services]]
= I2C Service Names =
__FORCETOC__
== I2C Service Names ==
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
Line 21: Line 22:
| "i2c::DEB"
| "i2c::DEB"
| 7, 8
| 7, 8
| Unknown
| dmnt
|-
|-
| "i2c::HID"
| "i2c::HID"
Line 48: Line 49:
|}
|}


Each I2C service can only access certain I2C [[I2C_Registers|device(s)]]. When the specified deviceid isn't accessible, error 0xE0A02FEA is returned.
Each I2C service can only access certain I2C [[I2C_Registers|device(s)]].


= I2C Service =
== Commands ==
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
Line 105: Line 106:


Command 0x00150080 is also used for reading ZL, ZR, and C-stick data by [[IR Services]].
Command 0x00150080 is also used for reading ZL, ZR, and C-stick data by [[IR Services]].
== Common Result Values ==
{| class="wikitable" border="1"
|-
! Result code !! Description
|-
| 0xE0A02FEA || The current session is not permitted to access the specified device ID.
|-
| 0xF9602FEF || Communication error. Device may not be connected.
|}