
CL-PS7111 Development Kit – Software User’s Guide
Version 1.3 3 April 1999
Table of Contents
1. Introduction...........................................................................................................................................................5
2. ARM Software Development Toolkit................................................................................................................... 5
2.1. ARM Project Manager..................................................................................................................................5
2.2. ARM Debugger.............................................................................................................................................6
3. Angel™................................................................................................................................................................. 7
4. Download.exe .......................................................................................................................................................7
5. Board Setup........................................................................................................................................................... 8
6. Lib7111.................................................................................................................................................................9
6.1. adc.c.............................................................................................................................................................. 9
6.1.1. ADCDisable.......................................................................................................................................... 9
6.1.2. ADCEnable........................................................................................................................................... 9
6.1.3. ADCGetData.........................................................................................................................................9
6.2. codec.c ........................................................................................................................................................ 10
6.2.1. CodecDisable ......................................................................................................................................10
6.2.2. CodecEnable .......................................................................................................................................10
6.2.3. CodecPlay ...........................................................................................................................................10
6.2.4. CodecPlayBg.......................................................................................................................................10
6.2.5. CodecRecord....................................................................................................................................... 10
6.3. flash.c.......................................................................................................................................................... 11
6.3.1. FlashEraseChip ...................................................................................................................................11
6.3.2. FlashEraseSector.................................................................................................................................11
6.3.3. FlashNumSectors ................................................................................................................................11
6.3.4. FlashProgramBlock............................................................................................................................. 11
6.3.5. FlashSectorInfo................................................................................................................................... 11
6.4. ir.c ............................................................................................................................................................... 11
6.4.1. IRCharReady.......................................................................................................................................11
6.4.2. IRDisable ............................................................................................................................................12
6.4.3. IREnable..............................................................................................................................................12
6.4.4. IRReceiveChar.................................................................................................................................... 12
6.4.5. IRSendChar......................................................................................................................................... 12
6.5. isr.c.............................................................................................................................................................. 12
6.5.1. InterruptInstallISR............................................................................................................................... 12
6.5.2. InterruptRemoveISR ...........................................................................................................................12
6.5.3. InterruptSetADCHandler ....................................................................................................................12
6.5.4. InterruptSetCodecHandler................................................................................................................... 13
6.6. isrshell.s.......................................................................................................................................................13
6.7. kbd.c............................................................................................................................................................ 13
6.7.1. KbdGetButton..................................................................................................................................... 13
6.7.2. KbdNoButton...................................................................................................................................... 13
6.7.3. KbdRead..............................................................................................................................................13
6.8. lcd.c............................................................................................................................................................. 13
6.8.1. LCDCircle........................................................................................................................................... 13
6.8.2. LCDFillCircle .....................................................................................................................................14
6.8.3. LCDLine .............................................................................................................................................14
6.8.4. LCDPrintChar..................................................................................................................................... 14
6.8.5. LCDPrintCharX2 ................................................................................................................................ 14
6.8.6. LCDPrintString................................................................................................................................... 14
6.8.7. LCDPrintStringX2 ..............................................................................................................................14
6.9. lcd_alps.c ....................................................................................................................................................14
6.9.1. LCDBacklightOff................................................................................................................................14
6.9.2. LCDBacklightOn ................................................................................................................................14
6.9.3. LCDCls ...............................................................................................................................................15
6.9.4. LCDEnable..........................................................................................................................................15
6.9.5. LCDGetPixel....................................................................................................................................... 15