Specifications

RC200/203 Manual
4.20 JTAG CONNECTOR ........................................................................................... 33
4.21
CAMERA AND CAMERA SOCKET.......................................................................... 33
4.22
BLUETOOTH MODULE ........................................................................................ 34
4.23
TOUCH SCREEN ................................................................................................ 34
4.24
DATA SHEETS AND SPECIFICATIONS.................................................................... 34
5
RC200/203 PSL REFERENCE.................................................................................... 36
5.1
USING THE RC200 PSL...................................................................................... 36
5.2
CLOCK DEFINITIONS ............................................................................................ 36
5.2.1 Specifying a clock source...................................................................................................... 37
5.2.2 Specifying a clock rate .......................................................................................................... 37
5.2.3 Checking the clock rate ......................................................................................................... 37
5.3
DETECTING THE BOARD TYPE............................................................................... 37
5.4
LED MACROS ..................................................................................................... 38
5.4.1 RC200LEDWrite() ................................................................................................................. 38
5.4.2 RC200LED*Write() macros ...................................................................................................38
5.4.3 RC200LEDWriteMask()......................................................................................................... 38
5.5 PUSH BUTTON MACROS ....................................................................................... 39
5.5.1 RC200ButtonRead().............................................................................................................. 39
5.5.2 RC200Button*Read() macros................................................................................................ 39
5.5.3 RC200ButtonReadMask() .....................................................................................................39
5.6
SEVEN-SEGMENT MACROS................................................................................... 39
5.6.1 Setting segments................................................................................................................... 39
5.6.2 Writing digits.......................................................................................................................... 40
5.7
ZBT SRAM MACROS.......................................................................................... 40
5.7.1 RAM management tasks....................................................................................................... 41
5.7.2 Setting the RAM address ...................................................................................................... 41
5.7.3 Write address mask............................................................................................................... 41
5.7.4 Reading from RAM................................................................................................................ 42
5.7.5 Writing data to RAM .............................................................................................................. 42
5.8
PS/2 PORT MACROS............................................................................................ 42
5.8.1 Mouse management tasks ....................................................................................................42
5.8.2 Reading data from the mouse...............................................................................................42
5.8.3 Writing data to the mouse ..................................................................................................... 43
5.8.4 Keyboard management tasks................................................................................................ 43
5.8.5 Reading data from the keyboard........................................................................................... 43
5.8.6 Writing data to the keyboard ................................................................................................. 43
5.9
RS-232 PORT MACROS ....................................................................................... 44
5.9.1 RS-232 management tasks...................................................................................................44
5.9.2 Reading from the RS-232 port ..............................................................................................46
5.9.3 Writing to the RS-232 port..................................................................................................... 46
5.10
TOUCH SCREEN MACROS ................................................................................... 46
5.10.1 Touch screen management tasks ....................................................................................... 46
5.10.2 Touch screen position (raw)................................................................................................ 46
5.10.3 Touch screen position (scaled) ...........................................................................................47
5.11
VIDEO OUTPUT MACROS .................................................................................... 47
5.11.1 Video output management tasks......................................................................................... 47
5.11.2 Enabling video output.......................................................................................................... 48
5.11.3 Querying screen sizes......................................................................................................... 49
5.11.4 Disabling video output......................................................................................................... 49
5.11.5 Writing a pixel...................................................................................................................... 50
5.11.6 Current scan position .......................................................................................................... 50
5.11.7 Blanking status of current scan position.............................................................................. 50
5.11.8 Horizontal and vertical sync status......................................................................................50
5.12
VIDEO INPUT MACROS........................................................................................ 51
www.celoxica.com
Page 4