29.11.2014 Views

Fast Models Reference Manual - ARM Information Center

Fast Models Reference Manual - ARM Information Center

Fast Models Reference Manual - ARM Information Center

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Peripheral and Interface Components<br />

5.4.11 PL050_KMI_component<br />

The PL050_KMI component is a programmer's view model of the PL050 Keyboard/Mouse<br />

Interface PrimeCell as described in the <strong>ARM</strong> PrimeCell PS2 Keyboard/Mouse Interface<br />

(PL050) Technical <strong>Reference</strong> <strong>Manual</strong>.<br />

The component is designed to communicate with models of PS/2-like devices such as a<br />

PS2Keyboard or PS2Mouse.<br />

Figure 5-30 shows a view of the component in System Canvas.<br />

This component is written in LISA+.<br />

Figure 5-30 Keyboard/Mouse controller in System Canvas<br />

Ports<br />

Table 5-46 provides a brief description of the ports. See the <strong>ARM</strong> PrimeCell PS2<br />

Keyboard/Mouse Interface (PL050) Technical <strong>Reference</strong> <strong>Manual</strong>.<br />

Name Port protocol Type Description<br />

Table 5-46 PL050_KMI ports<br />

pvbus PVBus Slave Slave port for connection to PV bus<br />

master/decoder.<br />

intr Signal Master Master port signalling completion of<br />

transmit or receive.<br />

clock ClockSignal Slave Clock input, typically 1MHz, which sets<br />

the master transmit/receive rate.<br />

ps2device PS2Data Slave Used to communicate with a PS/2-like<br />

device.<br />

PS2Data<br />

The PL050_KMI component has one additional protocol.<br />

The PS2Data protocol is used for communication between the KMI and a PS/2-like device. For<br />

efficiency reasons the interface is implemented as a parallel byte interface rather than a serial<br />

clock/data interface. The behaviors are:<br />

setClockData(enum ps2clockdata) : void<br />

Used by the KMI to simulate forcing the state of the data/clock lines. to indicate<br />

whether it is able to receive data, wants to send a command, or is inhibiting<br />

communication.<br />

getData() : uint8<br />

Used by the PS/2 device to get command data from the KMI.<br />

<strong>ARM</strong> DUI 0423J Copyright © 2008-2011 <strong>ARM</strong>. All rights reserved. 5-59<br />

ID051811<br />

Non-Confidential

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!