User manual
RC200/203 Manual
www.celoxica.com Page 46
5.7.5 Writing data to RAM
extern macro proc RC200PL1RAM0Write (Data);
extern macro proc RC200PL1RAM1Write (Data);
Parameters: Data: Data value of type unsigned 36.
Timing: 1 clock cycle.
Description:
Writes a single item of data to the address specified by the
call to
RC200PL1RAM*SetWriteAddress() on the previous
clock cycle.
5.8 PS/2 port macros
To write data to or read data from the mouse or keyboard, you need to:
1. Call
RC200PS2MouseRun() or RC200PS2KeyboardRun().
2. Call the appropriate read macro or write macro in parallel with this.
5.8.1 Mouse management tasks
extern macro proc RC200PS2MouseRun (ClockRate);
Parameters:
ClockRate: Clock rate of the clock domain of the call to this macro,
in Hz.
Timing: Does not terminate in normal use.
Description:
Runs the device management tasks for the mouse. You must run this
macro in parallel with accesses to the device.
5.8.2 Reading data from the mouse
extern macro proc RC200PS2MouseRead (DataPtr);