tinyusb
base_eeprom.h
1 /*****************************************************************************
2  *
3  * Copyright(C) 2011, Embedded Artists AB
4  * All rights reserved.
5  *
6  ******************************************************************************
7  * Software that is described herein is for illustrative purposes only
8  * which provides customers with programming information regarding the
9  * products. This software is supplied "AS IS" without any warranties.
10  * Embedded Artists AB assumes no responsibility or liability for the
11  * use of the software, conveys no license or title under any patent,
12  * copyright, or mask work right to the product. Embedded Artists AB
13  * reserves the right to make changes in the software without
14  * notification. Embedded Artists AB also make no representation or
15  * warranty that such application will be suitable for the specified
16  * use without further testing or modification.
17  *****************************************************************************/
18 #ifndef __BASE_EEPROM_H
19 #define __BASE_EEPROM_H
20 
21 #define BASE_EEPROM_TOTAL_SIZE 8192
22 
23 void base_eeprom_init (void);
24 int16_t base_eeprom_read(uint8_t* buf, uint16_t offset, uint16_t len);
25 int16_t base_eeprom_write(uint8_t* buf, uint16_t offset, uint16_t len);
26 
27 
28 #endif /* end __BASE_EEPROM_H */
29 /****************************************************************************
30 ** End Of File
31 *****************************************************************************/