00001 /* Copyright (c) 2009 Nordic Semiconductor. All Rights Reserved. 00002 * 00003 * The information contained herein is confidential property of Nordic 00004 * Semiconductor ASA.Terms and conditions of usage are described in detail 00005 * in NORDIC SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT. 00006 * 00007 * Licensees are granted free, non-transferable use of the information. NO 00008 * WARRENTY of ANY KIND is provided. This heading must NOT be removed from 00009 * the file. 00010 * 00011 * $LastChangedRevision: 133 $ 00012 */ 00013 00027 #ifndef LIB_EEPROM255_H__ 00028 #define LIB_EEPROM255_H__ 00029 00030 #include <stdint.h> 00031 #include <stdbool.h> 00032 00037 void lib_eeprom255_byte_write(uint8_t adr, uint8_t dat); 00038 00044 void lib_eeprom255_bytes_write(uint8_t adr, uint8_t *src, uint8_t n); 00045 00050 uint8_t lib_eeprom255_byte_read(uint8_t adr); 00051 00057 void lib_eeprom255_bytes_read(uint8_t adr, uint8_t *dst, uint8_t n); 00058 00059 #endif // LIB_EEPROM255_H__ 00060