SW006014 Microchip Technology, SW006014 Datasheet - Page 202
![C COMPILER MPLAB FOR PIC24 MCU](/photos/9/32/93245/sw006014_sml.jpg)
SW006014
Manufacturer Part Number
SW006014
Description
C COMPILER MPLAB FOR PIC24 MCU
Manufacturer
Microchip Technology
Type
MPLAB® C Compilerr
Series
PIC24r
Datasheet
1.SW006014.pdf
(246 pages)
Specifications of SW006014
Supported Families
PIC24
Core Architecture
PIC
Kit Contents
Software And Docs
Mcu Supported Families
PIC24
Tool Function
Compiler
Tool Type
Compiler
Processor Series
PIC24
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
PIC24
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
- Current page: 202 of 246
- Download datasheet (3Mb)
DS51456E-page 198
Examples of Use
EXAMPLE 4-1:
EXAMPLE 4-2:
__delay32
Description:
Include:
Prototype:
Argument:
Remarks:
Default Behavior:
File:
__C30_UART
Description:
Include:
Prototype:
Argument:
Return Value:
Remarks:
Default Behavior:
File:
#include <libpic30.h>
#include <stdio.h>
void main() {
}
/* This program flashes a light and transmits a lot of messages at
#include <libpic30.h>
#include <stdio.h>
if (__attach_input_file("foo.txt")) {
}
9600 8n1 through uart 2 using the default stdio provided
by the 16-bit compiler. This is for a dsPIC33F DSC
on an Explorer 16(tm) board (and isn't very pretty) */
while (!feof(stdin)) {
}
__close_input_file();
putchar(getchar());
UART1 I/O
USING UART2
Produce a delay of a specified number of clock cycles.
<libpic30.h>
void __delay32(unsigned long cycles);
cycles
None.
This function will effect a delay of the requested number of cycles. The
minimum supported delay is 11 cycles (an argument of less than 11 will
result in 11 cycles). The delay includes the call and return state-
ments, but not any cycles required to set up the arugment (typically this
would be two for a literal value).
__delay32.c
Constant that defines the default UART.
N/A
int __C30_UART;
N/A
N/A
Defines the default UART that read() and write() will use for
stdin (unless a file has been attached), stdout, and stdout.
By default, or with a value of 1, UART 1 will be used. Otherwise UART
2 will be used. read() and write() are the eventual destinations of
the C standard I/O functions.
N/A
number of cycles to delay.
/* a new header file for
/* a new header file for these
these defintions */
defintions */
© 2008 Microchip Technology Inc.
Related parts for SW006014
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![TC1014-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1014-5.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.8VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-4.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1186-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1186-2.85VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet: