45 typedef const struct {
101 uint32_t vddsbod : 5;
102 uint32_t bgtrimen : 1;
106 uint32_t vddrokhyst : 1;
107 uint32_t dissahyst : 1;
108 uint32_t gldocompdis: 1;
109 uint32_t gldodisana : 1;
131 uint8_t disableBodDuringTrim : 1;
133 uint8_t enableBodDelaySteps : 5;
136 uint8_t flashVerifyWaitStates : 4;
152 #define FCFG_PERMISSION_ALLOW 0xA 153 #define FCFG_PERMISSION_FORBID 0x0 155 uint32_t allowReturnToFactory : 4;
156 uint32_t allowFakeStby : 4;
157 uint32_t allowToolsClientMode : 4;
158 uint32_t allowChipErase : 4;
159 uint32_t allowFlashProgram : 4;
160 uint32_t allowFlashVerify : 4;
161 uint32_t allowEnergyTrace : 4;
162 uint32_t allowDebugPort : 4;
171 uint32_t saciTimeoutExp : 3;
172 #define XCFG_MISC_SACITOEXP_8SEC 7 173 #define XCFG_MISC_SACITOEXP_1SEC 4 174 #define XCFG_MISC_SACITOEXP_INFINITE 0 200 uint32_t variant : 8;
202 uint32_t minorRev : 4;
204 uint32_t majorRev : 3;
206 uint32_t partIdValid : 1;
228 uint32_t ccfgSector : 1;
229 uint32_t fcfgSector : 1;
230 uint32_t engrSector : 1;
248 #define CPYLST_NOP 0x10000000 249 #define CPYLST_WAIT(x) ( 0x10000000 + (((x)<<2)&0x000FFFFC) ) 250 #define CPYLST_CPY(a, n) ( ((uint32_t)(a)) + (((n)<<20)&0x0FF00000) ) 251 #define CPYLST_CPYFULLADDR(a) (((uint32_t)(a)) + 1) 252 #define CPYLST_JUMP(a) (((uint32_t)(a)) + 2) 253 #define CPYLST_CALL(a) (((uint32_t)(a)) + 3) 279 uint32_t revBranch : 4;
280 uint32_t revPatch : 8;
281 uint32_t revMinor : 8;
282 uint32_t revMajor : 6;
283 uint32_t variantCode : 6;
287 uint32_t revBranch : 4;
288 uint32_t revPatch : 8;
289 uint32_t revMinor : 8;
290 uint32_t revMajor : 6;
291 uint32_t variantCode : 6;
305 uint32_t trimState : 8;
339 uint16_t irefTrim : 5;
356 uint16_t voutTrim : 7;
362 uint16_t voutTrim : 7;
368 uint16_t firstTrim : 4;
369 uint16_t secondTrim : 6;
375 uint16_t trimout : 6;
381 uint16_t trimout : 6;
387 uint16_t tailresTrim : 4;
392 uint16_t quantThr : 3;
399 uint16_t int2Adj : 4;
401 uint16_t ditheren : 2;
402 uint16_t dithertrim : 3;
420 uint16_t quantThr : 3;
427 uint16_t int2Adj : 4;
429 uint16_t ditheren : 2;
430 uint16_t dithertrim : 3;
451 uint32_t rtrimMinOffset : 2;
455 uint32_t rtrimMaxOffset : 2;
460 uint32_t divLdoMinOffset : 2;
465 uint32_t divLdoMaxOffset : 2;
470 uint32_t tdcLdoMinOffset : 2;
475 uint32_t tdcLdoMaxOffset : 2;
485 uint32_t hfxtPdError : 8;
497 uint32_t rssiTcomp : 4;
504 uint32_t magnTcomp : 4;
508 uint32_t magnOffset : 4;
515 uint32_t agcThrTcomp : 4;
520 uint32_t agcThrOffset : 4;
525 uint32_t lowGainOffset : 4;
530 uint32_t highGainOffset : 4;
537 uint16_t trimCompleteN : 1;
565 uint16_t auxDiodeGnd;
566 uint16_t auxDiodeVoltage;
572 uint32_t adcOffsetVdds : 8;
573 uint32_t adcOffsetExtref : 8;
574 uint32_t adcOffsetIntref2P5V : 8;
575 uint32_t adcOffsetIntref1P4V : 8;
579 uint32_t adcGainVdds : 16;
580 uint32_t adcGainExtref : 16;
584 uint32_t adcGainIntref2P5V : 16;
585 uint32_t adcGainIntref1P4V : 16;
593 uint32_t i2v100k : 8;
603 #define XCFG_BC_PBLDR_FORBID ((void*)0xFFFFFFFC) 604 #define XCFG_BC_PBLDR_UNDEF ((void*)0xFFFFFFFF) 605 #define FCFG_BC_PBLDR_VALID(x) ((x) < XCFG_BC_PBLDR_FORBID) 630 #define FCFG_SET32 0x41008002 631 #define FCFG_UNSET32 0x41FFFFFF 634 #define FCFG_LC_TESTPT {FCFG_UNSET32, FCFG_UNSET32, FCFG_UNSET32, FCFG_UNSET32} 635 #define FCFG_LC_TESTFT {FCFG_SET32, FCFG_UNSET32, FCFG_UNSET32, FCFG_UNSET32} 636 #define FCFG_LC_ENGRDEV {FCFG_SET32, FCFG_SET32, FCFG_UNSET32, FCFG_UNSET32} 637 #define FCFG_LC_PRODDEV {FCFG_SET32, FCFG_SET32, FCFG_SET32, FCFG_UNSET32} 638 #define FCFG_LC_RETEST {FCFG_SET32, FCFG_SET32, FCFG_SET32, FCFG_SET32} 646 #define fcfg ((fcfg_t *)FCFG_BASE) 648 #endif // __HW_FCFG_H__ uint16_t auxDiodeVoltage
Definition: hw_fcfg.h:561
uint8_t initial
Definition: hw_fcfg.h:82
#define FCFG_GENERALTRIMS_SIZE
Size of generalTrims section in FCFG, in number of 32-bit words.
Definition: hw_device.h:58
uint32_t res
Definition: hw_fcfg.h:235
struct serialRomBldrParam_struct serialRomBldrParam_t
Definition: hw_ccfg.h:225
uint8_t numBits
Definition: hw_fcfg.h:53
uint8_t nToolsClientOffset
Definition: hw_fcfg.h:323
uint32_t crc32
Definition: hw_fcfg.h:141
Definition: hw_fcfg.h:261
uint32_t magicWord
Definition: hw_fcfg.h:51
uint32_t mainSectors0_31
Definition: hw_fcfg.h:217
uint32_t auxSectors
Definition: hw_fcfg.h:226
uint32_t val32
Definition: hw_fcfg.h:97
uint8_t revision
Definition: hw_fcfg.h:321
Definition: hw_fcfg.h:319
uint16_t auxDiodeGnd
Definition: hw_fcfg.h:560
uint32_t b0trmc0
Definition: hw_fcfg.h:92
uint32_t mainSectors256_511
Definition: hw_fcfg.h:222
uint8_t sysTickRvrTrimStep
Definition: hw_fcfg.h:129
uint16_t val16
Definition: hw_fcfg.h:60
uint32_t mainSectors32_255
Definition: hw_fcfg.h:220
uint32_t res1
Definition: hw_fcfg.h:192
uint16_t odpNmos
Definition: hw_fcfg.h:267
uint32_t ptrmc0
Definition: hw_fcfg.h:90
Definition: hw_fcfg.h:330
uint16_t odpPmos
Definition: hw_fcfg.h:269
uint32_t b0trmc1
Definition: hw_fcfg.h:91
void * pBldrVtor
Definition: hw_fcfg.h:602
serialRomBldrParam_t params
Definition: hw_fcfg.h:610
Definition: hw_fcfg.h:262