SW006010 Microchip Technology, SW006010 Datasheet - Page 24

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
MPLAB
2.5
apRNOVS^-page 20
I²C
®
FUNCTIONS
C17 C Compiler Libraries
This section contains a list of individual functions and an example of use of the
functions in this section. Functions may be implemented as macros.
2.5.1
AckI2C
Device:
Function:
Include:
Prototype:
Arguments:
Remarks:
Return Value:
File Name:
Code Example:
CloseI2C
Device:
Function:
Include:
Prototype:
Arguments:
Remarks:
Return Value:
File Name:
Code Example:
DataRdyI2C
Device:
Function:
Include:
Prototype:
Arguments:
Remarks:
Return Value:
File Name:
Code Example:
Function Descriptions
PIC17C756
Generates I
i2c16.h
void AckI2C (void);
None
This function generates an I
None
acki2c.c
AckI2C();
PIC17C756
Disables the SSP module.
i2c16.h
void CloseI2C (void);
None
Pin I/O returns under control of Port register settings.
None
closei2c.c
CloseI2C();
PIC17C756
Provides status back to user if the
contains data.
i2c16.h
unsigned char DataRdyI2C (void);
None
Determines if there is a byte to be read from the
register.
This function returns 1 if there is data in the
returns 0 which indicates no data in
dtrdyi2c.c
if (!DataRdyI2C());
2
C bus Acknowledge condition.
2
C bus Acknowledge condition.
SSPBUF
SSPBUF
 2002 Microchip Technology Inc.
register
SSPBUF
register.
SSPBUF
register else

Related parts for SW006010