AM263Px MCU+ SDK: flash.h Source File

| AM263Px MCU+ SDK 26.00.00 |

flash.h
Go to the documentation of this file.
1 /*
2 * Copyright (C) 2021-2025 Texas Instruments Incorporated
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 *
11 * Redistributions in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in the
13 * documentation and/or other materials provided with the
14 * distribution.
15 *
16 * Neither the name of Texas Instruments Incorporated nor the names of
17 * its contributors may be used to endorse or promote products derived
18 * from this software without specific prior written permission.
19 *
20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 */
32
33 #ifndef FLASH_H_
34 #define FLASH_H_
35
36 #ifdef __cplusplus
37 extern "C"
38 {
39 #endif
40
41 #include <stdint.h>
42 #include <stddef.h>
43 #include <kernel/dpl/SystemP.h>
44 #include <drivers/hw_include/soc_config.h>
45 #include <board/flash/flash_config.h>
46
47 #define FLASH_INVALID_VALUE (0xFFFFFFFFU)
48
49 #define CONFIG_FLASH_TYPE_SERIAL ((uint32_t)0x1)
50 #define CONFIG_FLASH_TYPE_PARALLEL ((uint32_t)0x2)
51
55 #define CONFIG_FLASH_TYPE_SERIAL_NOR (0x00U)
56 #define CONFIG_FLASH_TYPE_SERIAL_NAND (0x01U)
57 #define CONFIG_FLASH_TYPE_PARALLEL_NOR (0x02U)
58 #define CONFIG_FLASH_TYPE_PARALLEL_NAND (0x03U)
59 #define CONFIG_FLASH_TYPE_INVALID (0xFFU)
60
75 typedef void *Flash_Handle;
76
80 typedef struct Flash_Config_s Flash_Config;
81
85 typedef struct Flash_Params_s Flash_Params;
86
92 typedef struct
93 {
94 /* data */
95 uint8_t cmdWrsr;
96 uint8_t cmdPageLoad;
97 uint8_t cmdPageProg;
98 uint32_t srWipReg;
99 uint32_t xspiRdsrDummy;
100 uint32_t progStatusReg;
101 uint32_t xspiProgStatusReg;
102 uint32_t eraseStatusReg;
103 uint32_t xspiEraseStatusReg;
104 uint8_t srProgStatus;
105 uint8_t srEraseStatus;
106 uint8_t srWriteProtectReg;
107 uint8_t srWriteProtectMask;
108
109 }Flash_NandConfig;
110
111
112 typedef struct Flash_DevConfig_s {
113
114 uint8_t cmdExtType;
115 uint8_t byteOrder;
116 uint8_t enable4BAddr;
117 uint8_t addrByteSupport;
118
119 uint8_t fourByteAddrEnSeq;
120 uint8_t cmdWren;
121 uint8_t cmdRdsr;
122 uint8_t srWip;
123
124 uint8_t cmdPageLoadCyc1;
125 uint8_t cmdPageLoadCyc2;
126 uint8_t cmdRandomReadCyc1;
127 uint8_t cmdRandomReadCyc2;
128 uint8_t cmdRandomInput;
129 uint8_t cmdPageProgCyc1;
130 uint8_t cmdPageProgCyc2;
131 uint8_t pageColAddrCyc;
132 uint8_t pageRowAddrCyc;
133 uint8_t cmdReadStatus;
134 uint8_t cmdReset;
135
136
137 uint8_t srWel;
138 uint8_t resetType;
139 uint8_t deviceBusyType;
140 uint8_t xspiWipRdCmd;
141
142 uint32_t xspiWipReg;
143 uint32_t xspiWipBit;
144 uint32_t flashWriteTimeout;
145 uint32_t flashBusyTimeout;
146
147 FlashCfg_EraseConfig eraseCfg;
148 FlashCfg_ReadIDConfig idCfg;
149 FlashCfg_ProtoEnConfig protocolCfg;
150 Flash_NandConfig *nandCfg;
151
152 } Flash_DevConfig;
153
171 typedef int32_t (*Flash_OpenFxn)(Flash_Config *config, Flash_Params *params);
172
183 typedef void (*Flash_CloseFxn)(Flash_Config *config);
184
198 typedef int32_t (*Flash_ReadFxn)(Flash_Config *config, uint32_t offset,
199 uint8_t *buf, uint32_t len) ;
200
214 typedef int32_t (*Flash_WriteFxn)(Flash_Config *config, uint32_t offset,
215 uint8_t *buf, uint32_t len) ;
216
228 typedef int32_t (*Flash_EraseFxn)(Flash_Config *config, uint32_t blockNum);
229
241 typedef int32_t (*Flash_EraseSectorFxn)(Flash_Config *config, uint32_t sectorNum);
242
253 typedef int32_t (*Flash_ResetFxn)(Flash_Config *config);
254
265 typedef int32_t (*Flash_EnableDacModeFxn)(Flash_Config *config);
266
277 typedef int32_t (*Flash_DisableDacModeFxn)(Flash_Config *config);
278
289 typedef int32_t (*Flash_quirksFxn)(Flash_Config *config);
290
298 typedef int32_t (*Flash_custProtocolFxn)(Flash_Config *config);
299
307 typedef int32_t (*Flash_phyTuneFxn)(Flash_Config *confifg);
308
315 typedef struct Flash_Params_s {
316
317 Flash_quirksFxn quirksFxn;
318 Flash_quirksFxn bootQuirksFxn;
319 Flash_custProtocolFxn custProtoFxn;
320
321 } Flash_Params;
322
326 typedef struct Flash_Fxns_s
327 {
328 Flash_OpenFxn openFxn;
329 Flash_CloseFxn closeFxn;
330 Flash_ReadFxn readFxn;
331 Flash_WriteFxn writeFxn;
332 Flash_EraseFxn eraseFxn;
333 Flash_EraseSectorFxn eraseSectorFxn;
334 Flash_ResetFxn resetFxn;
335 Flash_EnableDacModeFxn enableDacModeFxn;
336 Flash_DisableDacModeFxn disableDacModeFxn;
337 Flash_phyTuneFxn phyTuneFxn;
339 } Flash_Fxns;
340
344 typedef struct Flash_Attrs_s {
345
346 uint32_t flashType;
347 char *flashName;
348 uint32_t deviceId;
349 uint32_t manufacturerId;
350 uint32_t driverInstance;
351 uint32_t flashSize;
352 uint32_t blockCount;
353 uint32_t blockSize;
354 uint32_t pageCount;
355 uint32_t pageSize;
356 uint32_t sectorCount;
357 uint32_t sectorSize;
358 uint32_t spareAreaSize;
359 uint32_t phyTuningOffset;
360 } Flash_Attrs;
361
365 typedef struct Flash_Config_s
366 {
367 Flash_Attrs *attrs;
368 Flash_Fxns *fxns;
369 Flash_DevConfig *devConfig;
370 void *object;
371 uint32_t skipHwInit;
372 uint32_t rwOffset;
373 void *fallBackCfg;
374 } Flash_Config;
375
376 /* Flash specific includes */
377 #if defined (DRV_VERSION_FLASH_V0)
378 #include <board/flash/ospi/flash_nor_ospi.h>
379 #endif
380
381 #if defined (DRV_VERSION_FLASH_V1)
382 #include <board/flash/qspi/flash_nor_qspi.h>
383 #endif
384
385 #if defined (DRV_VERSION_FLASH_V2)
386 #include <board/flash/ospi/flash_nor_ospi.h>
387 #include <board/flash/ospi/flash_nand_ospi.h>
388 #endif
389
390 #if defined (DRV_VERSION_GPMC_V0)
391 #include <board/flash/gpmc/flash_nand_gpmc.h>
392 #endif
393
401 void Flash_Params_init(Flash_Params *params);
402
421 Flash_Handle Flash_open(uint32_t instanceId, Flash_Params *params);
422
428 void Flash_close(Flash_Handle handle);
429
438 Flash_Handle Flash_getHandle(uint32_t instanceId);
439
452 int32_t Flash_read(Flash_Handle handle, uint32_t offset, uint8_t *buf, uint32_t len);
453
466 int32_t Flash_write(Flash_Handle handle, uint32_t offset, uint8_t *buf, uint32_t len);
467
478 int32_t Flash_blkPageToOffset(Flash_Handle handle, uint32_t *offset, uint32_t block, uint32_t page);
479
490 int32_t Flash_offsetToBlkPage(Flash_Handle handle, uint32_t offset, uint32_t *block, uint32_t *page);
491
502 int32_t Flash_SectorPageToOffset(Flash_Handle handle, uint32_t *offset, uint32_t sector, uint32_t page);
503
514 int32_t Flash_offsetToSectorPage(Flash_Handle handle, uint32_t offset, uint32_t *sector, uint32_t *page);
515
526 int32_t Flash_eraseBlk(Flash_Handle handle, uint32_t blockNum);
527
538 int32_t Flash_eraseSector(Flash_Handle handle, uint32_t sectorNum);
539
547 int32_t Flash_reset(Flash_Handle handle);
548
556 int32_t Flash_enableDacMode(Flash_Handle handle);
557
565 int32_t Flash_disableDacMode(Flash_Handle handle);
566
574 uint32_t Flash_getPhyTuningOffset(Flash_Handle handle);
575
583 Flash_Attrs *Flash_getAttrs(uint32_t instanceId);
584
592 int32_t Flash_phyTune(Flash_Handle handle);
593
597 #ifdef __cplusplus
598 }
599 #endif
600
601 #endif /* FLASH_H_ */
Flash_DevConfig::cmdPageLoadCyc1
uint8_t cmdPageLoadCyc1
Definition: flash.h:124
Flash_Attrs::flashType
uint32_t flashType
Definition: flash.h:346
Flash_DevConfig::cmdPageProgCyc1
uint8_t cmdPageProgCyc1
Definition: flash.h:129
Flash_close
void Flash_close(Flash_Handle handle)
Close flash driver.
Flash_DevConfig::cmdReadStatus
uint8_t cmdReadStatus
Definition: flash.h:133
Flash_Config::attrs
Flash_Attrs * attrs
Definition: flash.h:367
Flash_Attrs::flashSize
uint32_t flashSize
Definition: flash.h:351
Flash_NandConfig::srEraseStatus
uint8_t srEraseStatus
Definition: flash.h:105
Flash_Fxns::openFxn
Flash_OpenFxn openFxn
Definition: flash.h:328
Flash_DevConfig::eraseCfg
FlashCfg_EraseConfig eraseCfg
Definition: flash.h:147
Flash_NandConfig::srWipReg
uint32_t srWipReg
Definition: flash.h:98
Flash_Fxns::enableDacModeFxn
Flash_EnableDacModeFxn enableDacModeFxn
Definition: flash.h:335
Flash_Attrs::blockCount
uint32_t blockCount
Definition: flash.h:352
Flash_DevConfig::protocolCfg
FlashCfg_ProtoEnConfig protocolCfg
Definition: flash.h:149
Flash_DevConfig::cmdExtType
uint8_t cmdExtType
Definition: flash.h:114
Flash_CloseFxn
void(* Flash_CloseFxn)(Flash_Config *config)
Driver implementation to close a specific flash driver.
Definition: flash.h:183
SystemP.h
Flash_DevConfig::cmdWren
uint8_t cmdWren
Definition: flash.h:120
Flash_Config::devConfig
Flash_DevConfig * devConfig
Definition: flash.h:369
Flash_Attrs::driverInstance
uint32_t driverInstance
Definition: flash.h:350
Flash_Config
Flash driver configuration, these are filled by SysCfg based on the flash device that is selected.
Definition: flash.h:366
Flash_offsetToBlkPage
int32_t Flash_offsetToBlkPage(Flash_Handle handle, uint32_t offset, uint32_t *block, uint32_t *page)
Utility API to convert offset in bytes to (Block Num, Page Num)
Flash_SectorPageToOffset
int32_t Flash_SectorPageToOffset(Flash_Handle handle, uint32_t *offset, uint32_t sector, uint32_t page)
Utility API to convert (Sector Num, Page Num) to offset in bytes.
Flash_DevConfig::deviceBusyType
uint8_t deviceBusyType
Definition: flash.h:139
Flash_DevConfig::cmdRdsr
uint8_t cmdRdsr
Definition: flash.h:121
Flash_DevConfig::xspiWipReg
uint32_t xspiWipReg
Definition: flash.h:142
Flash_DevConfig::cmdPageProgCyc2
uint8_t cmdPageProgCyc2
Definition: flash.h:130
Flash_Fxns::eraseSectorFxn
Flash_EraseSectorFxn eraseSectorFxn
Definition: flash.h:333
Flash_NandConfig::progStatusReg
uint32_t progStatusReg
Definition: flash.h:100
Flash_DevConfig::flashBusyTimeout
uint32_t flashBusyTimeout
Definition: flash.h:145
Flash_Attrs::sectorSize
uint32_t sectorSize
Definition: flash.h:357
Flash_Config::fxns
Flash_Fxns * fxns
Definition: flash.h:368
Flash_NandConfig::srWriteProtectMask
uint8_t srWriteProtectMask
Definition: flash.h:107
Flash_EnableDacModeFxn
int32_t(* Flash_EnableDacModeFxn)(Flash_Config *config)
Driver implementation to enable DAC mode in Flash.
Definition: flash.h:265
Flash_Attrs::pageSize
uint32_t pageSize
Definition: flash.h:355
Flash_DevConfig::addrByteSupport
uint8_t addrByteSupport
Definition: flash.h:117
Flash_ReadFxn
int32_t(* Flash_ReadFxn)(Flash_Config *config, uint32_t offset, uint8_t *buf, uint32_t len)
Driver implementation to read from flash using a specific flash driver.
Definition: flash.h:198
Flash_blkPageToOffset
int32_t Flash_blkPageToOffset(Flash_Handle handle, uint32_t *offset, uint32_t block, uint32_t page)
Utility API to convert (Block Num, Page Num) to offset in bytes.
Flash_Params::bootQuirksFxn
Flash_quirksFxn bootQuirksFxn
Definition: flash.h:318
Flash_Attrs
Flash device attributes, these are filled by SysCfg based on the flash device that is selected.
Definition: flash.h:344
Flash_Attrs::flashName
char * flashName
Definition: flash.h:347
Flash_DevConfig::cmdRandomReadCyc2
uint8_t cmdRandomReadCyc2
Definition: flash.h:127
Flash_DevConfig::xspiWipBit
uint32_t xspiWipBit
Definition: flash.h:143
Flash_Fxns::eraseFxn
Flash_EraseFxn eraseFxn
Definition: flash.h:332
Flash_getHandle
Flash_Handle Flash_getHandle(uint32_t instanceId)
Get handle to flash driver.
Flash_Fxns
Driver implementation callbacks.
Definition: flash.h:327
Flash_EraseFxn
int32_t(* Flash_EraseFxn)(Flash_Config *config, uint32_t blockNum)
Driver implementation to erase a block using a specific flash driver.
Definition: flash.h:228
Flash_NandConfig::cmdWrsr
uint8_t cmdWrsr
Definition: flash.h:95
Flash_NandConfig::xspiEraseStatusReg
uint32_t xspiEraseStatusReg
Definition: flash.h:103
Flash_getPhyTuningOffset
uint32_t Flash_getPhyTuningOffset(Flash_Handle handle)
Return flash offset to write PHY tuning data.
Flash_NandConfig::cmdPageLoad
uint8_t cmdPageLoad
Definition: flash.h:96
Flash_DevConfig::nandCfg
Flash_NandConfig * nandCfg
Definition: flash.h:150
Flash_DevConfig::fourByteAddrEnSeq
uint8_t fourByteAddrEnSeq
Definition: flash.h:119
Flash_NandConfig::srProgStatus
uint8_t srProgStatus
Definition: flash.h:104
Flash_Config::rwOffset
uint32_t rwOffset
Definition: flash.h:372
Flash_DevConfig::srWip
uint8_t srWip
Definition: flash.h:122
Flash_DevConfig::srWel
uint8_t srWel
Definition: flash.h:137
Flash_Config
struct Flash_Config_s Flash_Config
Forward declaration of Flash_Config.
Definition: flash.h:80
Flash_DevConfig::resetType
uint8_t resetType
Definition: flash.h:138
Flash_WriteFxn
int32_t(* Flash_WriteFxn)(Flash_Config *config, uint32_t offset, uint8_t *buf, uint32_t len)
Driver implementation to write to flash using specific flash driver.
Definition: flash.h:214
Flash_Config::fallBackCfg
void * fallBackCfg
Definition: flash.h:373
Flash_Fxns::closeFxn
Flash_CloseFxn closeFxn
Definition: flash.h:329
Flash_DevConfig::cmdPageLoadCyc2
uint8_t cmdPageLoadCyc2
Definition: flash.h:125
Flash_phyTune
int32_t Flash_phyTune(Flash_Handle handle)
Tunes the flash controller physical layer parameters.
Flash_DevConfig::flashWriteTimeout
uint32_t flashWriteTimeout
Definition: flash.h:144
Flash_Params_init
void Flash_Params_init(Flash_Params *params)
Set default parameters in the Flash_Params structure.
Flash_ResetFxn
int32_t(* Flash_ResetFxn)(Flash_Config *config)
Driver implementation to soft reset the flash.
Definition: flash.h:253
Flash_NandConfig::srWriteProtectReg
uint8_t srWriteProtectReg
Definition: flash.h:106
Flash_Attrs::pageCount
uint32_t pageCount
Definition: flash.h:354
Flash_Fxns::disableDacModeFxn
Flash_DisableDacModeFxn disableDacModeFxn
Definition: flash.h:336
Flash_Params
struct Flash_Params_s Flash_Params
Forward declaration of Flash_Params.
Definition: flash.h:85
Flash_Attrs::spareAreaSize
uint32_t spareAreaSize
Definition: flash.h:358
Flash_DevConfig::pageRowAddrCyc
uint8_t pageRowAddrCyc
Definition: flash.h:132
Flash_custProtocolFxn
int32_t(* Flash_custProtocolFxn)(Flash_Config *config)
User implementation of a custom function to configure flash to operate in a specific protocol.
Definition: flash.h:298
Flash_Config::skipHwInit
uint32_t skipHwInit
Definition: flash.h:371
Flash_getAttrs
Flash_Attrs * Flash_getAttrs(uint32_t instanceId)
Return flash attributes.
Flash_DevConfig::xspiWipRdCmd
uint8_t xspiWipRdCmd
Definition: flash.h:140
Flash_NandConfig
Flash device config. This will be part of the flash config, so has to be filled by sysconfig or other...
Definition: flash.h:93
Flash_DisableDacModeFxn
int32_t(* Flash_DisableDacModeFxn)(Flash_Config *config)
Driver implementation to enable DAC mode in Flash.
Definition: flash.h:277
Flash_Attrs::blockSize
uint32_t blockSize
Definition: flash.h:353
Flash_DevConfig::idCfg
FlashCfg_ReadIDConfig idCfg
Definition: flash.h:148
Flash_NandConfig::eraseStatusReg
uint32_t eraseStatusReg
Definition: flash.h:102
Flash_offsetToSectorPage
int32_t Flash_offsetToSectorPage(Flash_Handle handle, uint32_t offset, uint32_t *sector, uint32_t *page)
Utility API to convert offset in bytes to (Sector Num, Page Num)
Flash_eraseSector
int32_t Flash_eraseSector(Flash_Handle handle, uint32_t sectorNum)
Erase a sector from flash.
Flash_Attrs::deviceId
uint32_t deviceId
Definition: flash.h:348
Flash_Fxns::readFxn
Flash_ReadFxn readFxn
Definition: flash.h:330
Flash_DevConfig::enable4BAddr
uint8_t enable4BAddr
Definition: flash.h:116
Flash_Attrs::phyTuningOffset
uint32_t phyTuningOffset
Definition: flash.h:359
Flash_reset
int32_t Flash_reset(Flash_Handle handle)
Do a soft reset of the flash.
Flash_EraseSectorFxn
int32_t(* Flash_EraseSectorFxn)(Flash_Config *config, uint32_t sectorNum)
Driver implementation to erase a sector using a specific flash driver.
Definition: flash.h:241
Flash_Fxns::writeFxn
Flash_WriteFxn writeFxn
Definition: flash.h:331
Flash_OpenFxn
int32_t(* Flash_OpenFxn)(Flash_Config *config, Flash_Params *params)
Driver implementation to open a specific flash driver.
Definition: flash.h:171
Flash_DevConfig::cmdReset
uint8_t cmdReset
Definition: flash.h:134
Flash_open
Flash_Handle Flash_open(uint32_t instanceId, Flash_Params *params)
Open flash driver.
Flash_DevConfig::cmdRandomInput
uint8_t cmdRandomInput
Definition: flash.h:128
Flash_DevConfig::cmdRandomReadCyc1
uint8_t cmdRandomReadCyc1
Definition: flash.h:126
Flash_NandConfig::xspiRdsrDummy
uint32_t xspiRdsrDummy
Definition: flash.h:99
Flash_DevConfig::byteOrder
uint8_t byteOrder
Definition: flash.h:115
Flash_Attrs::manufacturerId
uint32_t manufacturerId
Definition: flash.h:349
Flash_Fxns::phyTuneFxn
Flash_phyTuneFxn phyTuneFxn
Definition: flash.h:337
Flash_disableDacMode
int32_t Flash_disableDacMode(Flash_Handle handle)
Disable DAC mode in flash.
Flash_Fxns::resetFxn
Flash_ResetFxn resetFxn
Definition: flash.h:334
Flash_DevConfig::pageColAddrCyc
uint8_t pageColAddrCyc
Definition: flash.h:131
Flash_phyTuneFxn
int32_t(* Flash_phyTuneFxn)(Flash_Config *confifg)
Driver implementation to perform phy tune flash.
Definition: flash.h:307
Flash_eraseBlk
int32_t Flash_eraseBlk(Flash_Handle handle, uint32_t blockNum)
Erase a block from flash.
Flash_write
int32_t Flash_write(Flash_Handle handle, uint32_t offset, uint8_t *buf, uint32_t len)
Write to flash.
Flash_NandConfig::cmdPageProg
uint8_t cmdPageProg
Definition: flash.h:97
Flash_quirksFxn
int32_t(* Flash_quirksFxn)(Flash_Config *config)
User implementation of a custom function to handle vendor specific quirks.
Definition: flash.h:289
Flash_Attrs::sectorCount
uint32_t sectorCount
Definition: flash.h:356
Flash_Params
Parameters passed during Flash_open()
Definition: flash.h:315
Flash_Handle
void * Flash_Handle
Handle to the FLash driver returned by Flash_opem()
Definition: flash.h:75
Flash_enableDacMode
int32_t Flash_enableDacMode(Flash_Handle handle)
Enables DAC mode in flash.
Flash_Params::quirksFxn
Flash_quirksFxn quirksFxn
Definition: flash.h:317
Flash_Params::custProtoFxn
Flash_custProtocolFxn custProtoFxn
Definition: flash.h:319
Flash_DevConfig
Definition: flash.h:112
Flash_read
int32_t Flash_read(Flash_Handle handle, uint32_t offset, uint8_t *buf, uint32_t len)
Read data from flash.
Flash_NandConfig::xspiProgStatusReg
uint32_t xspiProgStatusReg
Definition: flash.h:101
Flash_Config::object
void * object
Definition: flash.h:370