C18 LaurTec Library
2.5
Open Source C Library for PIC18 Microcontrollers
|
00001 /******************************************************* 00002 ******************************************************** 00003 00004 Autore : Mauro Laurenti 00005 Versione : 1.0 00006 Data : 14/08/2007 00007 00008 CopyRight 2007 all rights are reserved 00009 00010 00011 ******************************************************** 00012 SOFTWARE LICENSE AGREEMENT 00013 ******************************************************** 00014 00015 The usage of the supplied software imply the acceptance of the following license. 00016 00017 The software supplied herewith by Mauro Laurenti (the Author) 00018 is intended for use solely and exclusively on Microchip PIC Microcontroller (registered mark). 00019 The software is owned by the Author, and is protected under applicable copyright laws. 00020 All rights are reserved. 00021 Any use in violation of the foregoing restrictions may subject the 00022 user to criminal sanctions under applicable laws (Italian or International ones), as well as to 00023 civil liability for the breach of the terms and conditions of this license. 00024 Commercial use is forbidden without a written acknowledgment with the Author. 00025 Personal or educational use is allowed if the application containing the following 00026 software doesn't aim to commercial use or monetary earning of any kind. 00027 00028 THIS SOFTWARE IS PROVIDED IN AN "AS IS" CONDITION. NO WARRANTIES, 00029 WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED 00030 TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 00031 PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. THE AUTHOR SHALL NOT, 00032 IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL OR 00033 CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER. 00034 00035 ******************************************************** 00036 PURPOSES 00037 ******************************************************** 00038 00039 This library is supposed to be used for reading and 00040 writing the PIC microcontroller internal EEPROM 00041 00042 ******************************************************* 00043 *******************************************************/ 00044 00045 #include <p18cxxx.h> 00046 00047 #ifndef FLAG_intEEPROM 00048 #define FLAG_intEEPROM 00049 00050 00065 char write_Int_EEPROM (unsigned char data, unsigned char address); 00066 00067 00068 00078 unsigned char read_Int_EEPROM (unsigned char address); 00079 00080 00081 #endif