SW006010 Microchip Technology, SW006010 Datasheet - Page 31

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.
EECurrentAddRead
Device:
Function:
Include:
Prototype:
Arguments:
Remarks:
Return Value:
File Name:
Code Example:
EEPageWrite
Device:
Function:
Include:
Prototype:
Arguments:
Remarks:
Return Value:
File Name:
Code Example:
PIC17C756
This function is used to write a string of data to the I
device.
i2c16.h
unsigned char EEPageWrite (static unsigned char
control, static unsigned char address, static
unsigned char far *wrptr);
control
EEPROM control / bus device select address byte.
address
EEPROM internal address location.
wrptr
Pointer to character type data objects in PICmicro RAM. The
data objects pointed to by wrptr will be written to the I
This function writes a null terminated string of data objects to
the I
The return value is -1 if there was a bus collision error,
errors.
i2ceepw.c
temp = EEPageWrite(0xA0, 0x70, wrptr);
PIC17C756
This function is used to read a single byte from the I
i2c16.h
unsigned char EECurrentAddRead
(static unsigned char control);
control
EEPROM control / bus device select address byte.
This function reads in a single byte from the I
address location of the data to read is that of the current pointer
within the I
address counter that maintains the address of the last word
accessed, incremented by one.
The return value is -1 if there was a bus collision error, -2 if
there was a not ack error else returns the contents of the
SSPBUF
i2ceecar.c
temp = EECurrentAddRead(0xA1);
-2 if there was a not ack error else returns 0 if there were no
2
C EE memory device.
register.
Hardware Peripheral Library
2
C EE device. The memory device contains an
2
C bus. The
apRNOVS^-page 27
2
2
C EE
C bus.
2
C bus.

Related parts for SW006010