|
@@ -1,50 +1,48 @@
|
1
|
|
-/**
|
2
|
|
- ******************************************************************************
|
3
|
|
- * @file EEPROM/EEPROM_Emulation/inc/eeprom.h
|
4
|
|
- * @author MCD Application Team
|
5
|
|
- * @version V1.2.6
|
6
|
|
- * @date 04-November-2016
|
7
|
|
- * @brief This file contains all the functions prototypes for the EEPROM
|
8
|
|
- * emulation firmware library.
|
9
|
|
- ******************************************************************************
|
10
|
|
- * @attention
|
11
|
|
- *
|
12
|
|
- * <h2><center>© Copyright � 2016 STMicroelectronics International N.V.
|
13
|
|
- * All rights reserved.</center></h2>
|
14
|
|
- *
|
15
|
|
- * Redistribution and use in source and binary forms, with or without
|
16
|
|
- * modification, are permitted, provided that the following conditions are met:
|
17
|
|
- *
|
18
|
|
- * 1. Redistribution of source code must retain the above copyright notice,
|
19
|
|
- * this list of conditions and the following disclaimer.
|
20
|
|
- * 2. Redistributions in binary form must reproduce the above copyright notice,
|
21
|
|
- * this list of conditions and the following disclaimer in the documentation
|
22
|
|
- * and/or other materials provided with the distribution.
|
23
|
|
- * 3. Neither the name of STMicroelectronics nor the names of other
|
24
|
|
- * contributors to this software may be used to endorse or promote products
|
25
|
|
- * derived from this software without specific written permission.
|
26
|
|
- * 4. This software, including modifications and/or derivative works of this
|
27
|
|
- * software, must execute solely and exclusively on microcontroller or
|
28
|
|
- * microprocessor devices manufactured by or for STMicroelectronics.
|
29
|
|
- * 5. Redistribution and use of this software other than as permitted under
|
30
|
|
- * this license is void and will automatically terminate your rights under
|
31
|
|
- * this license.
|
32
|
|
- *
|
33
|
|
- * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS"
|
34
|
|
- * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT
|
35
|
|
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
36
|
|
- * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
|
37
|
|
- * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT
|
38
|
|
- * SHALL STMICROELECTRONICS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
39
|
|
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
40
|
|
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
41
|
|
- * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
42
|
|
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
43
|
|
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
44
|
|
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
45
|
|
- *
|
46
|
|
- ******************************************************************************
|
47
|
|
- */
|
|
1
|
+/******************************************************************************
|
|
2
|
+ * @file eeprom_emul.h
|
|
3
|
+ * @author MCD Application Team
|
|
4
|
+ * @version V1.2.6
|
|
5
|
+ * @date 04-November-2016
|
|
6
|
+ * @brief This file contains all the functions prototypes for the EEPROM
|
|
7
|
+ * emulation firmware library.
|
|
8
|
+ ******************************************************************************
|
|
9
|
+ * @attention
|
|
10
|
+ *
|
|
11
|
+ * <h2><center>© Copyright � 2016 STMicroelectronics International N.V.
|
|
12
|
+ * All rights reserved.</center></h2>
|
|
13
|
+ *
|
|
14
|
+ * Redistribution and use in source and binary forms, with or without
|
|
15
|
+ * modification, are permitted, provided that the following conditions are met:
|
|
16
|
+ *
|
|
17
|
+ * 1. Redistribution of source code must retain the above copyright notice,
|
|
18
|
+ * this list of conditions and the following disclaimer.
|
|
19
|
+ * 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
20
|
+ * this list of conditions and the following disclaimer in the documentation
|
|
21
|
+ * and/or other materials provided with the distribution.
|
|
22
|
+ * 3. Neither the name of STMicroelectronics nor the names of other
|
|
23
|
+ * contributors to this software may be used to endorse or promote products
|
|
24
|
+ * derived from this software without specific written permission.
|
|
25
|
+ * 4. This software, including modifications and/or derivative works of this
|
|
26
|
+ * software, must execute solely and exclusively on microcontroller or
|
|
27
|
+ * microprocessor devices manufactured by or for STMicroelectronics.
|
|
28
|
+ * 5. Redistribution and use of this software other than as permitted under
|
|
29
|
+ * this license is void and will automatically terminate your rights under
|
|
30
|
+ * this license.
|
|
31
|
+ *
|
|
32
|
+ * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS"
|
|
33
|
+ * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT
|
|
34
|
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
|
35
|
+ * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
|
|
36
|
+ * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT
|
|
37
|
+ * SHALL STMICROELECTRONICS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
38
|
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
39
|
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
|
40
|
+ * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
|
41
|
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
|
42
|
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
|
43
|
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
44
|
+ *
|
|
45
|
+ ******************************************************************************/
|
48
|
46
|
#pragma once
|
49
|
47
|
|
50
|
48
|
// --------------------------------------------------------------------------
|