SW500011 Microchip Technology, SW500011 Datasheet - Page 67

HI-TECH X PRO FOR PIC32

SW500011

Manufacturer Part Number
SW500011
Description
HI-TECH X PRO FOR PIC32
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC32r
Datasheet

Specifications of SW500011

No. Of User Licenses
1
Supported Families
PIC32
Core Architecture
PIC
Supported Hosts
Windows XP, Vista, Linux, Mac OS X
Software Edition
Professional
Kit Contents
Software And Docs
Tool Type
Compiler
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
PIC32 Series
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
032
778-1007
778-1007
C Language Features
abled, ICE Communication Channnel enabled, and the watchdog timer enabled with a post scale
factor of 1:1, the following could be used.
Note that the individual selections are ANDed together. Any bits which are not selected in these
macros will remain unprogrammed. You should ensure that you have specified all bits correctly
to ensure proper operation of the part when programmed. Consult your PIC32 datasheet for more
details.
3.2.3 Multi-byte SFRs
The SFRs associated with the PIC32 are 32 bits wide. Although it is possible to define an absolute
C variable to map over such registers, it is highly recommended that the existing SFR definitions
(included via <htc.h>) are used . Each SFR should be accessed directly and in the required order
by the programmer’s code. This will ensure a much higher degree of portability.
3.3 Supported Data Types and Variables
The HI-TECH C PRO for the PIC32 MCU Family compiler supports basic data types with 1, 2 and
4 byte sizes. All multi-byte types follow least significant byte first format, also known as little-
endian. Word size values thus have the least significant byte at the lower address, and double word
size values have the least significant byte and least significant word at the lowest address. Table
shows the data types and their corresponding size and arithmetic type.
3.3.1 Radix Specifiers and Constants
The format of integral constants specifies their radix. HI-TECH C PRO for the PIC32 MCU Fam-
ily supports the ANSI standard radix specifiers as well as ones which enables binary constants to
specified in C code. The format used to specify the radices are given in Table 3.2. The letters used
to specify binary or hexadecimal radices are case insensitive, as are the letters used to specify the
hexadecimal digits.
For example, to set a PIC32Cxx1 chip to have Code Protect and Boot Flash write-protect dis-
The __CONFIG macro does not produce executable code.
#include <htc.h>
__CONFIG(DEVCFG0, GCP_OFF & BWP_OFF & ICS_PGx1);
__CONFIG(DEVCFG1, FWDTEN_ON & WDTPS(0));
Supported Data Types and Variables
3.1
67

Related parts for SW500011