Hardware description
5.14.1 Bluetooth management tasks
extern macro proc RC200BluetoothRun (
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 Bluetooth interface. You must run this
macro in parallel with accesses to the device.
5.14.2 Resetting the Bluetooth device
extern macro proc RC200BluetoothReset ();
Parameters:
None.
Timing:
1 or more clock cycles.
Description:
Resets the Bluetooth interface device.
5.14.3 Reading from the Bluetooth device
extern macro proc RC200BluetoothRead (
DataPtr
);
Parameters:
DataPtr
: Pointer to an
lvalue
of type
unsigned 8
.
Timing:
1 or more clock cycles (read blocks until data is ready).
Description:
Reads a single item of data from the Bluetooth interface and stores it in the
lvalue
pointed at by
DataPtr
. Note that these are raw bytes from the Bluetooth
interface device.
By default the Bluetooth interface device uses the BlueCore Serial Protocol
(BCSP) from Cambridge Silicon Radio.
5.14.4 Writing to the Bluetooth device
extern macro proc RC200BluetoothWrite (
Data
);
Parameters:
Data
: Data value of type
unsigned 8
.
Timing:
1 or more clock cycles (blocks until data is sent).
Description:
Writes a single item of data to the Bluetooth interface from the expression
Data
.
Note that these are raw bytes to the Bluetooth interface device.
By default the Bluetooth interface device uses the BlueCore Serial Protocol
(BCSP) from Cambridge Silicon Radio.
5.15 SmartMedia macros
The RC200 supports SmartMedia devices between 4 and 128 megabytes. For devices of 16 megabytes
or more, you can use physical or logical addressing. You are recommended to use logical addressing,
www.celoxica.com
Page 57