|
Anleitung Zusammenfassung
Highly sophisticated IDE provides the power you need with the simplicity of a Windows based point-and-click environment. With useful implemented tools, many practical code examples, broad set of built-in routines, and a comprehensive Help, mikroC makes a fast and reliable tool, which can satisfy needs of experienced engineers and beginners alike. mikroC - C Compiler for Microchip PIC microcontrollers page ii mikroC making it simple... Reader’s note DISCLAIMER: mikroC and this manual are owned by mikroElektronika and are protected by copyright law and international copyright treaty. Therefore, you should treat this manual like any other copyrighted material (e.g., a book). The manual and the compiler may not be copied, partially or as a whole without the written consent from the mikroEelktronika. The PDF-edition of the manual can be printed for private or local use, but not for distribution. Modifying the manual or the compiler is strictly prohibited. HIGH RISK ACTIVITIES The mikroC compiler is not fault-tolerant and is not designed, manufactured or intended for use or resale as on-line control equipment in hazardous environments requiring fail-safe performance, such as in the operation of nuclear facilities, aircraft navigation or communication systems, air traffic control, direct life support machines, or weapons systems, in which the failure of the Software could lead directly to death, personal injury, or severe physical or environmental damage ("High Risk Activities"). mikroElektronika and its suppliers specifically disclaim any express or implied warranty of fitness for High Risk Activities. LICENSE AGREEMENT: By using the mikroC compiler, you agree to the terms of this agreement. Only one person may use licensed version of mikroC compiler at a time. Copyright © mikroElektronika 2003 - 2005. This manual covers mikroC version 2.1 and the related topics. Newer versions may contain changes without prior notice. COMPILER BUG REPORTS: The compiler has been carefully tested and debugged. It is, however, not possible to guarantee a 100 % error free product. If you would like to report a bug, please contact us at the address office@mikroelektronika.co.yu. Please include next information in your bug report: -Your operating system - Version of mikroC -Code sample -Description of a bug CONTACT US: mikroElektronika Voice: + 381 (11) 30 66 377, + 381 (11) 30 66 378 Fax: + 381 (11) 30 66 379 Web: E-mail: office@mikroelektronika.co.yu PIC, PICmicro and MPLAB is a Registered trademark of Microchip company. Windows is a Registered trademark of Microsoft Corp. All other trade and/or services marks are the property of the respective owners. MikroElektronika: Development tools -Books -Compilers mikroC User’s manual Table of Contents CHAPTER 1 mikroC IDE CHAPTER 2 Building Applications CHAPTER 3 mikroC Reference CHAPTER 4 mikroC Libraries MikroElektronika: Development tools -Books -Compilers mikroC mikroC - C Compiler for Microchip PIC microcontrollers making it simple... CHAPTER 1: mikroC IDE 1 Quick Overview 1 Code Editor 3 Code Explorer 6 Debugger 7 Error Window 11 Statistics 12 Integrated Tools 15 Keyboard Shortcuts 19 CHAPTER 2: Building Applications 21 Projects 22 Source Files 23 Search Paths 23 Managing Source Files 24 Compilation 26 Output Files 26 Assembly View 26 Error Messages 27 CHAPTER 3: mikroC Language Reference 29 PIC Specifics 30 mikroC Specifics 32 ANSI Standard Issues 32 Predefined Globals and Constants 33 Accessing Individual Bits 33 Interrupts 34 Linker Directives 35 Lexical Elements 36 Tokens 38 Constants 39 Integer Constants 39 Floating Point Constants 41 Character Constants 42 String Constants 44 Enumeration Constants 45 Pointer Constants 45 Constant Expressions 45 page iv iv MikroElektronika: Development tools -Books -Compilers mikroC making it simple... mikroC - C Compiler for Microchip PIC microcontrollers Keywords 46 Identifiers 47 Punctuators 48 Objects and Lvalues 52 Scope and Visibility 54 Name Spaces 56 Duration 57 Types 59 Fundamental Types 60 Arithmetic Types 60 Enumeration Types 62 Void Type 64 Derived Types 65 Arrays 65 Pointers 68 Pointer Arithmetic 70 Structures 74 Unions 79 Bit Fields 80 Types Conversions 82 Standard Conversions 82 Explicit Typecasting 84 Declarations 85 Linkage 87 Storage Classes 89 Type Qualifiers 91 Typedef Specifier 92 asm Declaration 93 Initialization 94 Functions 95 Function Declaration 95 Function Prototypes 96 Function Definition 97 Function Calls 98 Operators 100 Precedence and Associativity 100 Arithmetic Operators 102 Relational Operators 104 Bitwise Operators 105 Logical Operators 107 Conditional Operator ? : 109 Assignment Operators 110 sizeof Operator 112 page MikroElektronika: Development tools -Books -Compilers v mikroC mikroC - C Compiler for Microchip PIC microcontrollers making it simple... Expressions 113 Statements 115 Labeled Statements 115 Expression Statements 116 Selection Statements 116 Iteration Statements 119 Jump...
Dieses Handbuch ist für folgende Modelle:PC Notebooks - PIC Microcontrollers PIC16 (1.34 mb)
PC Notebooks - PIC Microcontrollers PIC18 (1.34 mb)