brazos-trapezoidal
API006MemoryRW_prm.h
Go to the documentation of this file.
1
13#ifndef TSP_API006MEMORYRW_PRM_H_
14#define TSP_API006MEMORYRW_PRM_H_
15
16#include "mc_types.h"
17#include "IntegrationCalibration.h"
18
19//=====================================================================================================================
20//-------------------------------------- PUBLIC (Extern Variables, Constants & Defines) -------------------------------
21//=====================================================================================================================
22
27#define MEMORYRW_MAX_BYTES_REQUESTED NUMBER_PARAMETERS * 4
28
32#define MEMORYRW_MAX_BYTES_READ_PACKAGE 32
33
37#define MEMORYRW_ADRESS_LOWER_LIMIT PAR_MEMORY_ADDR_FLASH
38#define MEMORYRW_ADRESS_UPPER_LIMIT PAR_MEMORY_ADDR_DEFAULT
39
46//#define MEMORYRW_WRITE_DATA(address, data) flash_programWord( address, data )
47//#define MEMORYRW_READ_BYTE(first_address, pos)
48//#define MEMORYRW_CLEAN_SECTOR(address) flash_eraseSector(address)
52//#define UPDATE_FIRST_PARAMETERS_CALIBRATION(first_par_number) IntegrationCalibration__RecoveryDefault(first_par_number)
53
54
55//=====================================================================================================================
56//-------------------------------------- PUBLIC (Function Prototypes) -------------------------------------------------
57//=====================================================================================================================
58
59#endif /* TSP_API006MEMORYRW_PRM_H_ */
Contains generic typedefs that are able to change in case of different processors.