Difference between revisions of "I2C Services"

From 3dbrew
Jump to: navigation, search
Line 28: Line 28:
 
|-
 
|-
 
| 0x0005....
 
| 0x0005....
| WriteRegister (devid, regid, regdata)
+
| WriteRegister8 (devid, regid, regdata)
 
|-
 
|-
 
| 0x0006....
 
| 0x0006....
Line 40: Line 40:
 
|-
 
|-
 
| 0x0009....
 
| 0x0009....
| ReadRegister (devid, regid)
+
| ReadRegister8 (devid, regid)
 
|-
 
|-
 
| 0x000A....
 
| 0x000A....

Revision as of 04:56, 16 December 2012

I2C Service Names

  • "i2c::MCU"
  • "i2c::CAM"
  • "i2c::LCD"
  • "i2c::DEB"
  • "i2c::HID"
  • "i2c::IR"
  • "i2c::EEP"

I2C Service

Command Header Description
0x0001.... SetRegisterBits8 (devid, regid, regdata, mask)
0x0002.... EnableRegisterBits8 (devid, regid, enablemask)
0x0003.... DisableRegisterBits8 (devid, regid, disablemask)
0x0004.... SetRegisterBits16 (regid, regdata, mask, devidcount, devidlistptr)
0x0005.... WriteRegister8 (devid, regid, regdata)
0x0006....
0x0007....
0x0008....
0x0009.... ReadRegister8 (devid, regid)
0x000A....
0x000B....
0x000C....
0x000D....
0x000E....
0x000F....
0x0010....
0x0011....
0x0012....