Proyecto ABInBev para la tarjeta Guaria 1/2.

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers eeprom_exe.hpp Source File

eeprom_exe.hpp

00001 /**
00002  * @file flash_exe.hpp
00003  * @author Felícito Manzano (felicito.manzano@detektor.com.sv)
00004  * @brief 
00005  * @version 0.1
00006  * @date 2021-02-08
00007  * 
00008  * @copyright Copyright (c) 2021
00009  * 
00010  */
00011 
00012 #ifndef __EEPROM_EXE_HPP
00013 #define __EEPROM_EXE_HPP
00014 
00015     // Variables
00016     extern uint32_t  eprom_AddressArray[26];
00017 
00018     // EEPROM POSITION
00019     #define EE_Address_FINGERPRINT      0
00020     #define EE_Address_OVERRIDE_FP      1
00021     #define EE_Address_OVERRIDE_LIMIT   2
00022     #define EE_Address_IDLE_SHUTDOWN    3
00023     #define EE_Address_IDLE_REMINDER    4
00024     #define EE_Address_IDLE_S_TIME      5
00025     #define EE_Address_IDLE_R_TIME      6
00026     #define EE_Address_SEATBELT_READ    7
00027     #define EE_Address_ENFORCE_SB       8
00028     #define EE_Address_PILOT_BTYPE      9
00029     #define EE_Address_COPILOT_BTYPE    10
00030     #define EE_Address_CREW_BTYPE       11
00031     #define EE_Address_RAINSENSOR       12
00032     #define EE_Address_RS_SILENTMODE    13
00033     #define EE_Address_RS_SAMPLE_T      14
00034     #define EE_Address_WET_LIMIT        15
00035     #define EE_Address_WET_WARNING      16
00036     #define EE_Address_DRY_LIMIT        17
00037     #define EE_Address_DRY_WARNING      18
00038     #define EE_Address_SAFETY_TIP       19
00039     #define EE_Address_SAFETY_TIP_T     20
00040     #define EE_Address_GEOZONE          21
00041     #define EE_Address_VOLUME           22
00042     #define EE_Address_BLE_RESET        23
00043     #define EE_Address_BLE_RESET_T      24
00044     #define EE_Address_FINGERPRINT_RE   25
00045 
00046     // Lista de funciones:
00047     void load_eepromVar();
00048     void eeprom_Default();
00049     void writeEE(int myAddress, int myValue);
00050 
00051 #endif // __EEPROM_EXE_HPP