RC200/203 Manual
5.12.1 Video input management tasks ........................................................................................... 51
5.12.2 Selecting the video input ..................................................................................................... 51
5.12.3 Selecting the colour-encoding standard.............................................................................. 51
5.12.4 Reading a pair of YCrCb pixels ........................................................................................... 52
5.12.5 Reading a pair of RGB pixels .............................................................................................. 52
5.12.6 Reading a single RGB pixel ................................................................................................ 53
5.13
A
UDIO
I/O
MACROS
........................................................................................... 54
5.13.1 Audio codec management tasks ......................................................................................... 54
5.13.2 Setting the audio input......................................................................................................... 54
5.13.3 Boosting the input amplifier ................................................................................................. 54
5.13.4 Setting the gain level ........................................................................................................... 54
5.13.5 Setting the input sample rate............................................................................................... 55
5.13.6 Reading from the audio interface ........................................................................................ 55
5.13.7 Setting the output volume.................................................................................................... 55
5.13.8 Setting the output sample rate ............................................................................................ 56
5.13.9 Writing to the audio interface............................................................................................... 56
5.14
B
LUETOOTH MACROS
........................................................................................ 56
5.14.1 Bluetooth management tasks.............................................................................................. 57
5.14.2 Resetting the Bluetooth device............................................................................................ 57
5.14.3 Reading from the Bluetooth device ..................................................................................... 57
5.14.4 Writing to the Bluetooth device............................................................................................ 57
5.15
S
MART
M
EDIA MACROS
...................................................................................... 57
5.15.1 Using the SmartMedia macros ............................................................................................ 58
5.15.2 SmartMedia management tasks.......................................................................................... 59
5.15.3 Initializing the SmartMedia device....................................................................................... 59
5.15.4 SmartMedia manufacturer and device code ....................................................................... 59
5.15.5 Resetting the SmartMedia................................................................................................... 60
5.15.6 Erasing SmartMedia memory.............................................................................................. 60
5.15.7 Number of pages per block ................................................................................................. 60
5.15.8 Logical and physical addressing ......................................................................................... 60
5.15.9 Reading from and writing to the SmartMedia...................................................................... 62
5.16
E
THERNET MACROS
.......................................................................................... 64
5.16.1 Ethernet management tasks ............................................................................................... 64
5.16.2 Enabling the Ethernet device .............................................................................................. 65
5.16.3 Setting the Ethernet mode................................................................................................... 65
5.16.4 Disabling the Ethernet device.............................................................................................. 65
5.16.5 Resetting the Ethernet device ............................................................................................. 65
5.16.6 Reading a packet ................................................................................................................ 66
5.16.7 Writing a packet to the network ........................................................................................... 67
5.17
R
ECONFIGURING THE
FPGA.............................................................................. 68
5.18
CPLD
CONTROL
............................................................................................... 69
5.18.1 CPLD management tasks ................................................................................................... 69
5.18.2 Enabling the CPLD.............................................................................................................. 69
5.19
FPGA
/
PARALLEL PORT COMMUNICATION
.......................................................... 69
5.19.1 Enabling the Send Protocol driver....................................................................................... 70
5.19.2 Disabling the Send Protocol driver ...................................................................................... 70
5.19.3 Writing data to the host PC ................................................................................................. 70
5.19.4 Reading data from the host PC ........................................................................................... 70
5.20
E
XPANSION PORT PINS
...................................................................................... 71
6
I
NDEX
....................................................................................................................... 73
www.celoxica.com
Page 5