SW006010 Microchip Technology, SW006010 Datasheet - Page 29

no-image

SW006010

Manufacturer Part Number
SW006010
Description
MPLAB 17C SOFTWARE
Manufacturer
Microchip Technology
Datasheets

Specifications of SW006010

Tool Function
Compiler
Tool Type
Compiler
Processor Series
PIC17C
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
MPLAB®
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
 2002 Microchip Technology Inc.
StopI2C
Device:
Function:
Include:
Prototype:
Arguments:
Remarks:
Return Value:
File Name:
Code Example:
WriteI2C
Device:
Function:
Include:
Prototype:
Arguments:
Remarks:
Return Value:
File Name:
Code Example:
Note: The routines to follow are specialized and specific to EE I
devices such as, but not limited to, the Microchip 24LC01B. Each of the
routines depicted below utilize the previous basic 'C' routines in a
composite standalone function.
PIC17C756
Generates I
i2c16.h
void StopI2C (void);
None
This function generates an I
None
stopi2c.c
StopI2C();
PIC17C756
This function is used to write out a single data byte (one
character) to the I
i2c16.h
unsigned char WriteI2C (static unsigned char
data_out);
data_out
A single data byte to be written to the I
This function writes out a single data byte to the I
This function performs the same function as putcI2C.
This function returns -1 if there was a write collision else it
returns a 0.
writei2c.c
WriteI2C(‘a’);
Hardware Peripheral Library
2
C bus stop condition.
2
C bus device.
2
C bus stop condition.
2
C bus device.
2
2
apRNOVS^-page 25
C memory
C bus device.

Related parts for SW006010