SW006010 Microchip Technology, SW006010 Datasheet - Page 30

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
apRNOVS^-page 26
C17 C Compiler Libraries
EEAckPolling
Device:
Function:
Include:
Prototype:
Arguments:
Remarks:
Return Value:
File Name:
Code Example:
EEByteWrite
Device:
Function:
Include:
Prototype:
Arguments:
Remarks:
Return Value:
File Name:
Code Example:
PIC17C756
This function is used to generate the acknowledge polling
sequence for Microchip EE I
i2c16.h
unsigned char EEAckPolling (
control);
control
EEPROM control / bus device select address byte.
This function is used to generate the acknowledge polling
sequence for Microchip EE I
can be used for I
acknowledge polling.
The return value is -1 if there bus collision error else return 0.
i2ceeap.c
temp = EEAckPolling(0xA0);
PIC17C756
This function is used to write a single byte to the I
i2c16.h
unsigned char EEByteWrite (static unsigned char
control, static unsigned char address, static
unsigned char data);
control
EEPROM control / bus device select address byte.
address
EEPROM internal address location.
data
Data to write to EEPROM address specified in function
parameter address.
This function writes a single data byte to the I
routine can be used for any Microchip I
which requires only 1 byte of address information.
The return value is -1 if there was a bus collision error,
-2 if there was a not ack error else returns 0 if there were no
errors.
i2ceebw.c
temp = EEByteWrite(0xA0, 0x30, 0xA5);
2
C EE memory device which utilize
2
2
C memory devices.
C memory devices. This routine
static
 2002 Microchip Technology Inc.
2
unsigned char
C EE memory device
2
C bus. This
2
C bus.

Related parts for SW006010