User manual
RC200/203 Manual
www.celoxica.com Page 83
Parameters: None.
Timing: 1 clock cycle.
Description:
Enables the Send Protocol driver. You cannot use this at the
same time as the RC200 SmartMedia macros.
You need to call
RC200CPLDRun() and RC200CPLDEnable()
before calling this macro.
You must call this macro before any calls to
RC200SendProtocolWrite() or RC200SendProtocolRead().
5.19.2 Disabling the Send Protocol driver
extern macro proc RC200SendProtocolDisable();
Parameters: None.
Timing: 1 clock cycle.
Description: Disables the Send Protocol driver.
5.19.3 Writing data to the host PC
extern macro proc RC200SendProtocolWrite(Data);
Parameters: Data: Data of type unsigned 8 to be sent to the host PC.
Timing:
Variable. Depends on whether the host PC has read the
previous data item.
Description:
Sends one byte of data from the FPGA to the host PC. This
macro will block if the previous data item written has not yet
been read by the host.
You must call
RC200SendProtocolEnable() before using this
macro.
5.19.4 Reading data from the host PC
extern macro proc RC200SendProtocolRead(DataPtr);