I2C Registers: Difference between revisions

From Vita Development Wiki
Jump to navigation Jump to search
(Created page with "== MMIO Interfaces == {| class='wikitable' |- ! Name ! Physical address |- | SceI2c0Reg | 0xE0500000 |- | SceI2c1Reg | 0xE0510000 |} == Registers == {| class='wikitable' |- !...")
 
No edit summary
Line 41: Line 41:
| 0x14
| 0x14
| 4
| 4
| Flags
| [[#I2C Flags|Flags]]
|}
 
== I2C Flags ==
{| class="wikitable" border="1"
!  Bit(s)
!  Description
|-
| 0
| Start transfer / enable?
|-
| 1
| Start transfer / enable?
|-
| 2
| Transfer done
|-
| 4
| Transfer direction (0 = host to device, 1 = device to host)?
|-
| 8-16
| Transfer size
|}
|}

Revision as of 11:25, 9 February 2017

MMIO Interfaces

Name Physical address
SceI2c0Reg 0xE0500000
SceI2c1Reg 0xE0510000

Registers

Offset Size Description
0x00 4 Unknown
0x04 4 Read (only?) FIFO
0x08 4 Unknown
0x0C 4 Unknown
0x10 4 Device address (8 bits)
0x14 4 Flags

I2C Flags

Bit(s) Description
0 Start transfer / enable?
1 Start transfer / enable?
2 Transfer done
4 Transfer direction (0 = host to device, 1 = device to host)?
8-16 Transfer size