i
Contents
Copyright Notice
II
CHAPTER 1: Introduction
1
Revision History ...........................................................................................................................................1
CHAPTER 2: Development Environment
3
2.1 Directory Structure .................................................................................................................................3
2.1.1 BIN ...........................................................................................................................................4
2.1.2 ETC ..........................................................................................................................................4
2.1.3 INCLUDE.................................................................................................................................4
2.1.4 LIB............................................................................................................................................4
2.1.5 README .................................................................................................................................5
2.1.6 USER........................................................................................................................................5
2.2 Setup .......................................................................................................................................................5
2.3 Development Flow..................................................................................................................................5
2.3.1 Create Your Own C Source Program .......................................................................................7
2.3.2 Compile ....................................................................................................................................7
2.3.3 Link ..........................................................................................................................................8
2.3.4 Format Conversion .................................................................................................................12
2.3.5 Download Program to Flash Memory ....................................................................................12
2.4 C Compiler............................................................................................................................................12
2.4.1 Size of Types ..........................................................................................................................13
2.4.2 Representation Range of Integers ...........................................................................................13
2.4.3 Floating Types ........................................................................................................................14
2.4.4 Alignment ...............................................................................................................................14
2.4.5 Register and Interrupt Handling .............................................................................................14
2.4.6 Reserved Words......................................................................................................................14
2.4.7 Extended Reserved Words......................................................................................................15
2.4.8 Bit-Field Usage.......................................................................................................................15
CHAPTER 3: Terminal Specific Function Library
19
3.1 System...................................................................................................................................................20
3.1.1 General ...................................................................................................................................20
3.1.2 Power On Reset (POR)...........................................................................................................23
3.1.3 System Global Variables ........................................................................................................24
3.1.4 System Information ................................................................................................................28
3.1.5 Security...................................................................................................................................33
3.1.6 Program Manager ...................................................................................................................35
3.2 Barcode Reader.....................................................................................................................................40
3.2.1 Barcode Decoding ..................................................................................................................40
3.2.2 Code Type ..............................................................................................................................41
3.2.3 ScannerDescriptionTable Array .............................................................................................42
3.2.4 Scan Modes ............................................................................................................................48
Содержание Optimus R
Страница 1: ...Printed on 20 March 2006 C Programming Guide Version 3 04 02 Optimus S Optimus R...
Страница 6: ......
Страница 8: ...2 C Programming Guide For Optimus S R...
Страница 12: ...6 C Programming Guide For Optimus S R The flow is illustrated as shown below...
Страница 23: ...Chapter 2 Development Environment 17 Different types signed unsigned Different types same size...
Страница 24: ...18 C Programming Guide For Optimus S R...
Страница 220: ...214 C Programming Guide For Optimus S R See Also FlashSize free_memory...
Страница 232: ...226 C Programming Guide For Optimus S R 4 11 Implementation defined Limits limits h float h Refer to limit h and float h...
Страница 238: ...232 C Programming Guide For Optimus S R...