Microchip PIC32CM5164LS60100 Manual de Usario

Microchip No categorizado PIC32CM5164LS60100

Lee a continuación 📖 el manual en español para Microchip PIC32CM5164LS60100 (43 páginas) en la categoría No categorizado. Esta guía fue útil para 3 personas y fue valorada con 4.5 estrellas en promedio por 2 usuarios

Página 1/43
2019 Microchip Technology Inc. DS50002895A
MPLAB® XC32 C/C++ Compiler
Users Guide for
PIC32C/SAM MCUs
DS50002895A-page 2 2019 Microchip Technology Inc.
Information contained in this publication regarding device
applications and the like is provided only for your convenience
and may be superseded by updates. It is your responsibility to
ensure that your application meets with your specifications.
MICROCHIP MAKES NO REPRESENTATIONS OR
WARRANTIES OF ANY KIND WHETHER EXPRESS OR
IMPLIED, WRITTEN OR ORAL, STATUTORY OR
OTHERWISE, RELATED TO THE INFORMATION,
INCLUDING BUT NOT LIMITED TO ITS CONDITION,
QUALITY, PERFORMANCE, MERCHANTABILITY OR
FITNESS FOR PURPOSE. Microchip disclaims all liability
arising from this information and its use. Use of Microchip
devices in life support and/or safety applications is entirely at
the buyer’s risk, and the buyer agrees to defend, indemnify and
hold harmless Microchip from any and all damages, claims,
suits, or expenses resulting from such use. No licenses are
conveyed, implicitly or otherwise, under any Microchip
intellectual property rights unless otherwise stated.
Note the following details of the code protection feature on Microchip devices:
Microchip products meet the specification contained in their particular Microchip Data Sheet.
Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the
intended manner and under normal conditions.
There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our
knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data
Sheets. Most likely, the person doing so is engaged in theft of intellectual property.
Microchip is willing to work with the customer who is concerned about the integrity of their code.
Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not
mean that we are guaranteeing the product as “unbreakable.
Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our
products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts
allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.
Trademarks
The Microchip name and logo, the Microchip logo, Adaptec,
AnyRate, AVR, AVR logo, AVR Freaks, BesTime, BitCloud, chipKIT,
chipKIT logo, CryptoMemory, CryptoRF, dsPIC, FlashFlex,
flexPWR, HELDO, IGLOO, JukeBlox, KeeLoq, Kleer, LANCheck,
LinkMD, maXStylus, maXTouch, MediaLB, megaAVR, Microsemi,
Microsemi logo, MOST, MOST logo, MPLAB, OptoLyzer,
PackeTime, PIC, picoPower, PICSTART, PIC32 logo, PolarFire,
Prochip Designer, QTouch, SAM-BA, SenGenuity, SpyNIC, SST,
SST Logo, SuperFlash, Symmetricom, SyncServer, Tachyon,
TempTrackr, TimeSource, tinyAVR, UNI/O, Vectron, and XMEGA
are registered trademarks of Microchip Technology Incorporated in
the U.S.A. and other countries.
APT, ClockWorks, The Embedded Control Solutions Company,
EtherSynch, FlashTec, Hyper Speed Control, HyperLight Load,
IntelliMOS, Libero, motorBench, mTouch, Powermite 3, Precision
Edge, ProASIC, ProASIC Plus, ProASIC Plus logo, Quiet-Wire,
SmartFusion, SyncWorld, Temux, TimeCesium, TimeHub,
TimePictra, TimeProvider, Vite, WinPath, and ZL are registered
trademarks of Microchip Technology Incorporated in the U.S.A.
Adjacent Key Suppression, AKS, Analog-for-the-Digital Age, Any
Capacitor, AnyIn, AnyOut, BlueSky, BodyCom, CodeGuard,
CryptoAuthentication, CryptoAutomotive, CryptoCompanion,
CryptoController, dsPICDEM, dsPICDEM.net, Dynamic Average
Matching, DAM, ECAN, EtherGREEN, In-Circuit Serial
Programming, ICSP, INICnet, Inter-Chip Connectivity, JitterBlocker,
KleerNet, KleerNet logo, memBrain, Mindi, MiWi, MPASM, MPF,
MPLAB Certified logo, MPLIB, MPLINK, MultiTRAK, NetDetach,
Omniscient Code Generation, PICDEM, PICDEM.net, PICkit,
PICtail, PowerSmart, PureSilicon, QMatrix, REAL ICE, Ripple
Blocker, SAM-ICE, Serial Quad I/O, SMART-I.S., SQI,
SuperSwitcher, SuperSwitcher II, Total Endurance, TSHARC,
USBCheck, VariSense, ViewSpan, WiperLock, Wireless DNA, and
ZENA are trademarks of Microchip Technology Incorporated in the
U.S.A. and other countries.
SQTP is a service mark of Microchip Technology Incorporated in
the U.S.A.
The Adaptec logo, Frequency on Demand, Silicon Storage
Technology, and Symmcom are registered trademarks of Microchip
Technology Inc. in other countries.
GestIC is a registered trademark of Microchip Technology Germany
II GmbH & Co. KG, a subsidiary of Microchip Technology Inc., in
other countries.
All other trademarks mentioned herein are property of their
respective companies.
© 2019, Microchip Technology Incorporated, All Rights Reserved.
ISBN: 978-1-5224-4735-1
For information regarding Microchip’s Quality Management Systems,
please visit www.microchip.com/quality.
2019 Microchip Technology Inc. DS50002895A-page 3
MPLAB® XC32 C/C++ COMPILER
USERS GUIDE FOR
PIC32C/SAM MCUs
Table of Contents
Preface ........................................................................................................................................ 7
Chapter 1. Compiler Overview
1.1 Compiler Description and Documentation ................................................................. 13
1.2 Device Support .......................................................................................................... 14
1.3 Compiler and Other Development Tools ................................................................... 15
Chapter 2. Common C Interface
2.1 Background – The Desire for Portable Code ............................................................ 17
2.2 Using the CCI ............................................................................................................ 19
2.3 ANSI Standard Refinement ....................................................................................... 20
2.4 ANSI Standard Extensions ........................................................................................ 27
2.5 Compiler Features ..................................................................................................... 34
Chapter 3. How To’s
3.1 Installing and Activating the Compiler ....................................................................... 35
3.2 Invoking the Compiler ................................................................................................ 36
3.3 Writing Source Code ................................................................................................. 38
3.4 Getting My Application to Do What I Want ................................................................ 46
3.5 Understanding the Compilation Process ................................................................... 49
3.6 Fixing Code That Does Not Work .............................................................................. 56
Chapter 4. XC32 Toolchain and MPLAB X IDE
4.1 MPLAB X IDE and Tools Installation ......................................................................... 59
4.2 MPLAB X IDE Setup ................................................................................................. 60
4.3 MPLAB X IDE Projects .............................................................................................. 61
4.4 Project Setup ............................................................................................................. 62
4.5 Project Example ........................................................................................................ 70
Chapter 5. Compiler Command Line Driver
5.1 Invoking the Compiler ................................................................................................ 73
5.2 The C Compilation Sequence ................................................................................... 76
5.3 The C++ Compilation Sequence ............................................................................... 78
5.4 Runtime Files ............................................................................................................ 80
5.5 Start-Up and Initialization .......................................................................................... 82
5.6 Compiler Output ........................................................................................................ 82
5.7 Compiler Messages ................................................................................................... 84
5.8 Driver Option Descriptions ........................................................................................ 84
Chapter 6. ANSI C Standard Issues
6.1 Divergence from the ANSI C Standard ................................................................... 105
6.2 Extensions to the ANSI C Standard ........................................................................ 105
6.3 Implementation-Defined Behavior ........................................................................... 106
Chapter 7. Device-Related Features

Especificaciones del producto

Marca: Microchip
Categoría: No categorizado
Modelo: PIC32CM5164LS60100

¿Necesitas ayuda?

Si necesitas ayuda con Microchip PIC32CM5164LS60100 haz una pregunta a continuación y otros usuarios te responderán




No categorizado Microchip Manuales

No categorizado Manuales

Últimos No categorizado Manuales