BenutzerhandbuchInhaltsverzeichnisReader's Note2Table of Contents3Chapter 1: mikroC IDE9Quick Overview9Code Editor11Code Explorer14Debugger15Error Window19Statistics20Integrated Tools23Keyboard Shortcuts26Chapter 2: Building Applications29Projects30Source Files31Compilation34Error Messages35Chapter 3: mikroC Language Specifics37PIC Specifics38Types Efficiency38Nested Calls Limitations38PIC16 Specifics39mikroC Specifics40ANSI Standard Issues40Predefined Globals and Constants41Accessing Individual Bits41Interrupts42Linker Directives43Lexical Elements44Whitespace44Comments45Tokens46Constants47Integer Constants47Floating Point Constants49Character Constants50String Constants52Enumeration Constants53Pointer Constants53Constant Expressions53Keywords54Identifiers55Punctuators56Objects60Scope and Visibility62Name Spaces64Duration65Types67Fundamental Types68Arithmetic Types68Enumerations70Void Type72Derived Types73Arrays73Pointers76Pointer Arithmetic78Structures82Unions87Bit Fields88Types Conversions90Standard Conversions90Explicit Types Conversions (Typecasting)92Declarations93Introduction to Declarations93Linkage95Storage Classes97Type Qualifiers99typedef Specifier100asm Declaration101Initialization102Functions103Function Declaration103Function Prototypes104Function Definition105Function Calls106Argument Conversions106Operators108Operators Precedence and Associativity108Arithmetic Operators110Relational Operators112Bitwise Operators113Logical Operators115Conditional Operator ? :117Assignment Operators118sizeof Operator120Expressions121Comma Expressions121Statements123Labeled Statements123Expression Statements124Selection Statements124Iteration Statements127Jump Statements130Compound Statements (Blocks)132Preprocessor133Preprocessor Directives133Macros134Macros with Parameters136Undefining Macros137File Inclusion138Preprocessor Operators139Conditional Compilation140Chapter 4: mikroC Libraries143Built-in Routines144Library Routines146ADC Library147CAN Library149CAN Constants155CANSPI Library161Compact Flash Library170EEPROM Library180Ethernet Library182Flash Memory Library194I2C Library196Keypad Library201LCD Library (4-bit interface)205LCD8 Library (8-bit interface)211GLCD Library216Manchester Code Library227Multi Media Card Library232OneWire Library241PS/2 Library245PWM Library248RS-485 Library251Secure Digital Library257Software I2C Library262Software SPI Library266Software UART Library269Sound Library272SPI Library274USART Library279USB HID Library283Util Library288ANSI C Ctype Library289ANSI C Math Library293ANSI C Stdlib Library299ANSI C String Library303Conversions Library307Trigonometry Library311Größe: 1,52 MBSeiten: 312Language: EnglishHandbuch öffnen