EasyManua.ls Logo

Allwinner A20 - Page 634

Allwinner A20
812 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
A20 User Manual (Revision 1.2) Copyright © 2013 Allwinner Technology Co., Ltd. All Rights Reserved. Page 634 / 812
Offset: 0x0000
Register Name: PS2_GCTL
Default Value: 0x0000_0002
Bit
Read/Write
Default
Description
Note: This bit is just a status flag, it can not be cleared
directly, it can be cleared by clearing the status bits in FIFO
Status Register.
3
R/W
0
INT_EN
Interrupt Enable
0 the interrupt signal is always low
1 the interrupt signal will be high when INT_FLAG is set
2
R/W
0
SOFT_RST
Soft Reset
Setting this bit will reset transmitter and receiver of PS2
Module, and the status of transmitter and receiver will revert
to the default state, but not affect any control bits in register,
and data in TXFIFO/RXFIFO.
This bit will be cleared by hardware after reset is completed.
1
R/W
1
FUNC_SEL
Master/Device Function Select
1 Master Function, connect to PS2 Keyboard or Mouse
0 Device Function, connect to Computer
0
R/W
0
BUS_EN
PS2 Bus Enable
0 Ignore PS2 Bus Input
1 Response to PS2 Bus Input
6.5.5.2. PS2 DATA REGISTER
Offset: 0x0004
Register Name: PS2_DATA
Default Value: 0x0000_0000
Bit
Read/Write
Default
Description
31:8
/
/
/
7:0
R/W
0
PS2_DATA
When write, data will be write into TXFIFO, and will be transmit
on to the PS2 Bus.
When read, data is read out from RXFIFO, and it is received
from PS2 Bus.

Table of Contents