SW500011 Microchip Technology, SW500011 Datasheet - Page 74

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
Supported Data Types and Variables
will produce a structure occupying 4 bytes. If foo was ultimately linked at address 10H, the field lo
will be bit 0 of address 10H, hi will be bit 7 of address 13H. The least significant bit of dummy will
be bit 1 of address 10H and the most significant bit of dummy will be bit 6 of address 13h.
registers. For example, if dummy is never used the structure above could have been declared as:
If a bit-field is declared in a structure that is assigned an absolute address, no storage will be allocated
for the structure. Absolute structures would be used when mapping a structure over a register to allow
a portable method of accessing individual bits within the register.
for each field. For example:
3.3.8.2 Structure and Union Qualifiers
HI-TECH C PRO for the PIC32 MCU Family supports the use of type qualifiers on structures. When
a qualifier is applied to a structure, all of its members will inherit this qualification. In the following
example the structure is qualified const.
74
Unnamed bit-fields may be declared to pad out unused space between active bits in control
A structure with bit-fields may be initialised by supplying a comma-separated list of initial values
} foo;
struct {
} foo;
struct {
} foo = {1, 8, 0};
const struct {
} record = { 0x55, &i};
unsigned
unsigned
unsigned
unsigned
unsigned
unsigned
unsigned
unsigned
unsigned
int number;
int *ptr;
lo : 1;
dummy : 30;
hi : 1;
lo : 1;
hi : 1;
lo : 1;
mid : 30;
hi : 1;
: 30;
C Language Features

Related parts for SW500011