add EEPROM file
This commit is contained in:
parent
97b9e38665
commit
5bbc7bc0c3
@ -5,6 +5,7 @@
|
||||
* @file can_message.c
|
||||
*/
|
||||
|
||||
#include "can_message.h"
|
||||
#include "../middleware/can_interface.h"
|
||||
#include "car.h"
|
||||
#include "../app/factory/factory.h"
|
||||
|
8
306-controller_interface.X/middleware/eeprom_interface.c
Normal file
8
306-controller_interface.X/middleware/eeprom_interface.c
Normal file
@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @author Rémi Heredero
|
||||
* @version 1.0.0
|
||||
* @date August 2023
|
||||
* @file eeprom_interface.h
|
||||
*/
|
||||
|
||||
#include "eeprom_interface.h"
|
15
306-controller_interface.X/middleware/eeprom_interface.h
Normal file
15
306-controller_interface.X/middleware/eeprom_interface.h
Normal file
@ -0,0 +1,15 @@
|
||||
/**
|
||||
* @author Rémi Heredero
|
||||
* @version 1.0.0
|
||||
* @date August 2023
|
||||
* @file eeprom_interface.h
|
||||
*/
|
||||
#ifndef EEPROM_INTERFACE_H
|
||||
#define EEPROM_INTERFACE_H
|
||||
|
||||
MEM_write_1_byte(uint8_t addresse, uint8_t data);
|
||||
MEM_write_4_byte(uint32_t data);
|
||||
// void MEM_write_CONTROL_STEERING_MODE(uint8_t data);
|
||||
|
||||
#endif /* EEPROM_INTERFACE_H */
|
||||
|
@ -27,6 +27,7 @@
|
||||
<itemPath>middleware/can_interface.h</itemPath>
|
||||
<itemPath>middleware/alive_checker.h</itemPath>
|
||||
<itemPath>middleware/watchdog.h</itemPath>
|
||||
<itemPath>middleware/eeprom_interface.h</itemPath>
|
||||
</logicalFolder>
|
||||
<logicalFolder name="xf" displayName="xf" projectFiles="true">
|
||||
<itemPath>xf/event.h</itemPath>
|
||||
@ -63,6 +64,7 @@
|
||||
<itemPath>middleware/can_interface.c</itemPath>
|
||||
<itemPath>middleware/alive_checker.c</itemPath>
|
||||
<itemPath>middleware/watchdog.c</itemPath>
|
||||
<itemPath>middleware/eeprom_interface.c</itemPath>
|
||||
</logicalFolder>
|
||||
<logicalFolder name="xf" displayName="xf" projectFiles="true">
|
||||
<itemPath>xf/event.c</itemPath>
|
||||
|
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user