UART Registers: Difference between revisions

From Vita Development Wiki
Jump to navigation Jump to search
(Created page with "== MMIO Interfaces == {| class='wikitable' |- ! Name ! Physical address ! Size |- | SceUartReg | 0xE2030000 | 0x70000 |- | SceUartClkgenReg | 0xE3105000 | 0x10...")
 
No edit summary
Line 14: Line 14:
| 0x1000
| 0x1000
|}
|}
It looks like there are 7 UART devices/ports. The i-th device has its base registers address at <code>SceUartReg + i * 0x10000</code>.
The clock generation configuration for each of these devices is at <code>SceUartClkgenReg + i * 4</code>.


== SceUartReg registers ==
== SceUartReg registers ==

Revision as of 07:48, 14 June 2017

MMIO Interfaces

Name Physical address Size
SceUartReg 0xE2030000 0x70000
SceUartClkgenReg 0xE3105000 0x1000

It looks like there are 7 UART devices/ports. The i-th device has its base registers address at SceUartReg + i * 0x10000.

The clock generation configuration for each of these devices is at SceUartClkgenReg + i * 4.

SceUartReg registers

Offset Size Description
0x68 4 Read FIFO data available
0x78 4 Read FIFO

Read FIFO data available

Bit(s) Description
0-5 Number of words available to read
6-31 Unused