A20 User Manual (Revision 1.2) Copyright © 2013 Allwinner Technology Co., Ltd. All Rights Reserved. Page 630 / 812
6.5. PS2
6.5.1. Overview
The PS2 is a Dual-Role controller that supports both device and host functions.
It is fully compliant with IBM PS2 in Personal Computer. It can be configured as a Host to connect
PS2 Keyboard or PS2 Mouse, or as a Device to connect computers.
The PS2 module can be integrated with industry-standard AMBA Peripheral Bus (APB) for
communication with other system modules, such as ARM CPU, and System Memory.
It features:
Comply with the AMBA Specification (Rev 2.0) for easy integration into SOC implementation
Compliant with IBM PS2 and AT-Compatible Keyboard and Mouse Interface
Dual Role controller, either a PS2 Host or a PS2 Device
4-byte TXFIFO and 4-byte RXFIFO for data buffering
Odd parity generation and checking
Register bits for override of keyboard clock and data lines
Internal clock divider for simple clock interface