BltTofApi
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
bta_flash_update.h
Go to the documentation of this file.
1 
20 #ifndef BTA_FLASH_UPDATE_H_INCLUDED
21 #define BTA_FLASH_UPDATE_H_INCLUDED
22 
23 #include <stdint.h>
24 
27 typedef enum BTA_FlashTarget {
28  BTA_FlashTargetBootloader,
29  BTA_FlashTargetApplication,
30  BTA_FlashTargetGeneric,
31  BTA_FlashTargetPixelList,
32  BTA_FlashTargetLensCalibration,
33  BTA_FlashTargetOtp,
34  BTA_FlashTargetFactoryConfig,
35  BTA_FlashTargetWigglingCalibration,
36  BTA_FlashTargetIntrinsicTof,
37  BTA_FlashTargetIntrinsicColor,
38  BTA_FlashTargetExtrinsic,
39  BTA_FlashTargetAmpCompensation,
40  BTA_FlashTargetFpn,
41  BTA_FlashTargetFppn,
43 
44 
46 typedef enum BTA_FlashId {
47  BTA_FlashIdSpi,
48  BTA_FlashIdParallel,
49  BTA_FlashIdEmmc,
50  BTA_FlashIdSd,
51  BTA_FlashIdTim,
52  BTA_FlashIdLim
53 } BTA_FlashId;
54 
56 typedef struct BTA_FlashUpdateConfig {
59  uint32_t address;
60  uint8_t *data;
61  uint32_t dataLen;
63 
64 #endif
BTA_FlashId flashId
Parameter to distinguish between different flash modules on the device.
Definition: bta_flash_update.h:58
uint32_t address
Address within the specified memory.
Definition: bta_flash_update.h:59
This configuration structure contains all the data and parameters needed for a BTAflashUpdate.
Definition: bta_flash_update.h:56
BTA_FlashId
BTA_FlashId may be needed to further specify the BTA_FlashTarget.
Definition: bta_flash_update.h:46
BTA_FlashTarget
BTA_FlashTarget describes the kind of data transmitted as well as what the intended target (in the de...
Definition: bta_flash_update.h:27
uint8_t * data
Data to be transmitted and saved.
Definition: bta_flash_update.h:60
BTA_FlashTarget target
Type of update, indicating the target where to copy the data to.
Definition: bta_flash_update.h:57
uint32_t dataLen
Size of data in bytes.
Definition: bta_flash_update.h:61
struct BTA_FlashUpdateConfig BTA_FlashUpdateConfig
This configuration structure contains all the data and parameters needed for a BTAflashUpdate.