PCWHD IDE COMPILER Custom Computer Services Inc (CCS), PCWHD IDE COMPILER Datasheet - Page 157

PCWHD PIC10,16,18,24, DSPIC

PCWHD IDE COMPILER

Manufacturer Part Number
PCWHD IDE COMPILER
Description
PCWHD PIC10,16,18,24, DSPIC
Manufacturer
Custom Computer Services Inc (CCS)
Type
Compilerr
Datasheet

Specifications of PCWHD IDE COMPILER

For Use With/related Products
Microchip PIC10, PIC12, PIC16, PIC18, PIC24, dsPIC MCUs
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1009
Examples:
Example Files:
Also See:
#USE RS232
Syntax:
Elements:
#USE RS232 (options)
Options are separated by commas and may be:
only be used with the built-in SSP. The functions created with this directive are
exported when using multiple compilation units. To access the correct function
use the stream identifier.
#use I2C(master, sda=PIN_B0, scl=PIN_B1)
#use I2C(slave,sda=PIN_C4,scl=PIN_C3
#use I2C(master, scl=PIN_B0, sda=PIN_B1, fast=450000)
//sets the target speed to 450 KBSP
ex_extee.c
i2c_poll, i2c_speed, i2c_start, i2c_stop, i2c_slaveaddr, i2c_isr_state,
i
STREAM=id
BAUD=x
XMIT=pin
RCV=pin
FORCE_SW
2
c_read,
I2C Overview
with
16c74.h
address=0xa0,FORCE_HW)
Associates a stream identifier with this RS232 port.
The identifier may then be used in functions like
fputc.
Set baud rate to x
NOINIT option:
Use baud=0 to not init the UART and pins C6 and
C7 can still be used for input-output functions.
#USE RS232(baud=0,options)
To make printf work with NOINIT option, use:
setup_uart(9600);
Set transmit pin
Set receive pin
Will generate software serial I/O routines even when
the UART pins are specified.
i
2
c_write,
143

Related parts for PCWHD IDE COMPILER