Felícito Manzano
/
DTK_Guaria2_ABInBev
Proyecto ABInBev para la tarjeta Guaria 1/2.
Program/flash_ee_exe.hpp@19:5580a9a54ad5, 2022-07-07 (annotated)
- Committer:
- fmanzano_dtk
- Date:
- Thu Jul 07 16:17:25 2022 +0000
- Revision:
- 19:5580a9a54ad5
- Parent:
- 5:07720e3f99d2
Sincronizacion;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
fmanzano_dtk | 5:07720e3f99d2 | 1 | /** |
fmanzano_dtk | 5:07720e3f99d2 | 2 | * @file flash_ee_exe.hpp |
fmanzano_dtk | 5:07720e3f99d2 | 3 | * @author Felícito Manzano (felicito.manzano@detektor.com.sv) |
fmanzano_dtk | 5:07720e3f99d2 | 4 | * @brief |
fmanzano_dtk | 5:07720e3f99d2 | 5 | * @version 0.1 |
fmanzano_dtk | 5:07720e3f99d2 | 6 | * @date 2022-07-04 |
fmanzano_dtk | 5:07720e3f99d2 | 7 | * |
fmanzano_dtk | 5:07720e3f99d2 | 8 | * @copyright Copyright (c) 2022 |
fmanzano_dtk | 5:07720e3f99d2 | 9 | * |
fmanzano_dtk | 5:07720e3f99d2 | 10 | */ |
fmanzano_dtk | 5:07720e3f99d2 | 11 | |
fmanzano_dtk | 5:07720e3f99d2 | 12 | |
fmanzano_dtk | 5:07720e3f99d2 | 13 | #ifndef __FLASH_EE_EXE_HPP |
fmanzano_dtk | 5:07720e3f99d2 | 14 | #define __FLASH_EE_EXE_HPP |
fmanzano_dtk | 5:07720e3f99d2 | 15 | |
fmanzano_dtk | 5:07720e3f99d2 | 16 | // DIRECCION VIRUTAL |
fmanzano_dtk | 5:07720e3f99d2 | 17 | #define ADDR_FINGERPRINT 0x5555 |
fmanzano_dtk | 5:07720e3f99d2 | 18 | #define ADDR_OVERRIDE_FP 0x5575 |
fmanzano_dtk | 5:07720e3f99d2 | 19 | #define ADDR_OVERRIDE_QT 0x5595 |
fmanzano_dtk | 5:07720e3f99d2 | 20 | #define ADDR_IDLE_SHUTDOWN 0x55B5 |
fmanzano_dtk | 5:07720e3f99d2 | 21 | #define ADDR_IDLE_REMINDER 0x55D5 |
fmanzano_dtk | 5:07720e3f99d2 | 22 | #define ADDR_IDLE_S_TIME 0x55F5 |
fmanzano_dtk | 5:07720e3f99d2 | 23 | #define ADDR_IDLE_R_TIME 0x5615 |
fmanzano_dtk | 5:07720e3f99d2 | 24 | #define ADDR_SEATBELT_READ 0x5635 |
fmanzano_dtk | 5:07720e3f99d2 | 25 | #define ADDR_ENFORCE_SB 0x5655 |
fmanzano_dtk | 5:07720e3f99d2 | 26 | // Definición indivual de cinturones |
fmanzano_dtk | 5:07720e3f99d2 | 27 | #define ADDR_PILOT_BTYPE 0x5675 |
fmanzano_dtk | 5:07720e3f99d2 | 28 | #define ADDR_COPILOT_BTYPE 0x5695 |
fmanzano_dtk | 5:07720e3f99d2 | 29 | #define ADDR_CREW_BTYPE 0x56B5 |
fmanzano_dtk | 5:07720e3f99d2 | 30 | // |
fmanzano_dtk | 5:07720e3f99d2 | 31 | #define ADDR_RAINSENSOR 0x56D5 |
fmanzano_dtk | 5:07720e3f99d2 | 32 | #define ADDR_RS_SILENTMODE 0x56F5 |
fmanzano_dtk | 5:07720e3f99d2 | 33 | #define ADDR_RS_SAMPLE_T 0x5715 |
fmanzano_dtk | 5:07720e3f99d2 | 34 | #define ADDR_WET_LIMIT 0x5735 |
fmanzano_dtk | 5:07720e3f99d2 | 35 | #define ADDR_WET_WARNING 0x5755 |
fmanzano_dtk | 5:07720e3f99d2 | 36 | #define ADDR_DRY_LIMIT 0x5775 |
fmanzano_dtk | 5:07720e3f99d2 | 37 | #define ADDR_DRY_WARNING 0x5795 |
fmanzano_dtk | 5:07720e3f99d2 | 38 | #define ADDR_SAFETY_TIP 0x57B5 |
fmanzano_dtk | 5:07720e3f99d2 | 39 | #define ADDR_SAFETY_TIP_T 0x57D5 |
fmanzano_dtk | 5:07720e3f99d2 | 40 | #define ADDR_GEOZONE 0x57F5 |
fmanzano_dtk | 5:07720e3f99d2 | 41 | #define ADDR_VOLUME 0x5815 |
fmanzano_dtk | 5:07720e3f99d2 | 42 | #define ADDR_BLE_RESET 0x5835 |
fmanzano_dtk | 5:07720e3f99d2 | 43 | #define ADDR_BLE_RESET_T 0x5855 |
fmanzano_dtk | 5:07720e3f99d2 | 44 | |
fmanzano_dtk | 5:07720e3f99d2 | 45 | // ARRAY POSITION |
fmanzano_dtk | 5:07720e3f99d2 | 46 | #define AP_FINGERPRINT 0 |
fmanzano_dtk | 5:07720e3f99d2 | 47 | #define AP_OVERRIDE_FP 1 |
fmanzano_dtk | 5:07720e3f99d2 | 48 | #define AP_OVERRIDE_QT 2 |
fmanzano_dtk | 5:07720e3f99d2 | 49 | #define AP_IDLE_SHUTDOWN 3 |
fmanzano_dtk | 5:07720e3f99d2 | 50 | #define AP_IDLE_REMINDER 4 |
fmanzano_dtk | 5:07720e3f99d2 | 51 | #define AP_IDLE_S_TIME 5 |
fmanzano_dtk | 5:07720e3f99d2 | 52 | #define AP_IDLE_R_TIME 6 |
fmanzano_dtk | 5:07720e3f99d2 | 53 | #define AP_SEATBELT_READ 7 |
fmanzano_dtk | 5:07720e3f99d2 | 54 | #define AP_ENFORCE_SB 8 |
fmanzano_dtk | 5:07720e3f99d2 | 55 | // Definición indivual de cinturones |
fmanzano_dtk | 5:07720e3f99d2 | 56 | #define AP_PILOT_BTYPE 9 |
fmanzano_dtk | 5:07720e3f99d2 | 57 | #define AP_COPILOT_BTYPE 10 |
fmanzano_dtk | 5:07720e3f99d2 | 58 | #define AP_CREW_BTYPE 11 |
fmanzano_dtk | 5:07720e3f99d2 | 59 | // |
fmanzano_dtk | 5:07720e3f99d2 | 60 | #define AP_RAINSENSOR 12 |
fmanzano_dtk | 5:07720e3f99d2 | 61 | #define AP_RS_SILENTMODE 13 |
fmanzano_dtk | 5:07720e3f99d2 | 62 | #define AP_RS_SAMPLE_T 14 |
fmanzano_dtk | 5:07720e3f99d2 | 63 | #define AP_WET_LIMIT 15 |
fmanzano_dtk | 5:07720e3f99d2 | 64 | #define AP_WET_WARNING 16 |
fmanzano_dtk | 5:07720e3f99d2 | 65 | #define AP_DRY_LIMIT 17 |
fmanzano_dtk | 5:07720e3f99d2 | 66 | #define AP_DRY_WARNING 18 |
fmanzano_dtk | 5:07720e3f99d2 | 67 | #define AP_SAFETY_TIP 19 |
fmanzano_dtk | 5:07720e3f99d2 | 68 | #define AP_SAFETY_TIP_T 20 |
fmanzano_dtk | 5:07720e3f99d2 | 69 | #define AP_GEOZONE 21 |
fmanzano_dtk | 5:07720e3f99d2 | 70 | #define AP_VOLUME 22 |
fmanzano_dtk | 5:07720e3f99d2 | 71 | #define AP_BLE_RESET 23 |
fmanzano_dtk | 5:07720e3f99d2 | 72 | #define AB_BLE_RESET_T 24 |
fmanzano_dtk | 5:07720e3f99d2 | 73 | #define AP_FINGERPRINT_RE 25 |
fmanzano_dtk | 5:07720e3f99d2 | 74 | |
fmanzano_dtk | 5:07720e3f99d2 | 75 | // Lista de funciones: |
fmanzano_dtk | 5:07720e3f99d2 | 76 | void fast_Flash(); |
fmanzano_dtk | 5:07720e3f99d2 | 77 | void readFlash_Booting(); |
fmanzano_dtk | 5:07720e3f99d2 | 78 | void load_2_Var(); |
fmanzano_dtk | 5:07720e3f99d2 | 79 | void flash_Booting(); |
fmanzano_dtk | 5:07720e3f99d2 | 80 | void flash_Default(); |
fmanzano_dtk | 5:07720e3f99d2 | 81 | void writeFlash(int myAddress, int myValue); |
fmanzano_dtk | 5:07720e3f99d2 | 82 | |
fmanzano_dtk | 5:07720e3f99d2 | 83 | #endif // __FLASH_EE_EXE_HPP |