1 /******************************************************************************
2 *  Filename:       hw_flash_h
3 *  Revised:        $Date$
4 *  Revision:       $Revision$
5 *
6 * Copyright (c) 2015 - 2017, Texas Instruments Incorporated
7 * All rights reserved.
8 *
9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions are met:
11 *
12 * 1) Redistributions of source code must retain the above copyright notice,
13 *    this list of conditions and the following disclaimer.
14 *
15 * 2) Redistributions in binary form must reproduce the above copyright notice,
16 *    this list of conditions and the following disclaimer in the documentation
17 *    and/or other materials provided with the distribution.
18 *
19 * 3) Neither the name of the ORGANIZATION nor the names of its contributors may
20 *    be used to endorse or promote products derived from this software without
21 *    specific prior written permission.
22 *
23 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
27 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
28 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
29 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
30 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
31 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
32 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
33 * POSSIBILITY OF SUCH DAMAGE.
34 *
35 ******************************************************************************/
36 
37 #ifndef __HW_FLASH_H__
38 #define __HW_FLASH_H__
39 
40 //*****************************************************************************
41 //
42 // This section defines the register offsets of
43 // FLASH component
44 //
45 //*****************************************************************************
46 // FMC and Efuse Status
47 #define FLASH_O_STAT                                                0x0000001C
48 
49 // Internal
50 #define FLASH_O_CFG                                                 0x00000024
51 
52 // Internal
53 #define FLASH_O_FLASH_SIZE                                          0x0000002C
54 
55 // Internal
56 #define FLASH_O_FWLOCK                                              0x0000003C
57 
58 // Internal
59 #define FLASH_O_FWFLAG                                              0x00000040
60 
61 // Internal
62 #define FLASH_O_EFUSE                                               0x00001000
63 
64 // Internal
65 #define FLASH_O_EFUSEADDR                                           0x00001004
66 
67 // Internal
68 #define FLASH_O_DATAUPPER                                           0x00001008
69 
70 // Internal
71 #define FLASH_O_DATALOWER                                           0x0000100C
72 
73 // Internal
74 #define FLASH_O_EFUSECFG                                            0x00001010
75 
76 // Internal
77 #define FLASH_O_EFUSESTAT                                           0x00001014
78 
79 // Internal
80 #define FLASH_O_ACC                                                 0x00001018
81 
82 // Internal
83 #define FLASH_O_BOUNDARY                                            0x0000101C
84 
85 // Internal
86 #define FLASH_O_EFUSEFLAG                                           0x00001020
87 
88 // Internal
89 #define FLASH_O_EFUSEKEY                                            0x00001024
90 
91 // Internal
92 #define FLASH_O_EFUSERELEASE                                        0x00001028
93 
94 // Internal
95 #define FLASH_O_EFUSEPINS                                           0x0000102C
96 
97 // Internal
98 #define FLASH_O_EFUSECRA                                            0x00001030
99 
100 // Internal
101 #define FLASH_O_EFUSEREAD                                           0x00001034
102 
103 // Internal
104 #define FLASH_O_EFUSEPROGRAM                                        0x00001038
105 
106 // Internal
107 #define FLASH_O_EFUSEERROR                                          0x0000103C
108 
109 // Internal
110 #define FLASH_O_SINGLEBIT                                           0x00001040
111 
112 // Internal
113 #define FLASH_O_TWOBIT                                              0x00001044
114 
115 // Internal
116 #define FLASH_O_SELFTESTCYC                                         0x00001048
117 
118 // Internal
119 #define FLASH_O_SELFTESTSIGN                                        0x0000104C
120 
121 // Internal
122 #define FLASH_O_FRDCTL                                              0x00002000
123 
124 // Internal
125 #define FLASH_O_FSPRD                                               0x00002004
126 
127 // Internal
128 #define FLASH_O_FEDACCTL1                                           0x00002008
129 
130 // Internal
131 #define FLASH_O_FEDACSTAT                                           0x0000201C
132 
133 // Internal
134 #define FLASH_O_FBPROT                                              0x00002030
135 
136 // Internal
137 #define FLASH_O_FBSE                                                0x00002034
138 
139 // Internal
140 #define FLASH_O_FBBUSY                                              0x00002038
141 
142 // Internal
143 #define FLASH_O_FBAC                                                0x0000203C
144 
145 // Internal
146 #define FLASH_O_FBFALLBACK                                          0x00002040
147 
148 // Internal
149 #define FLASH_O_FBPRDY                                              0x00002044
150 
151 // Internal
152 #define FLASH_O_FPAC1                                               0x00002048
153 
154 // Internal
155 #define FLASH_O_FPAC2                                               0x0000204C
156 
157 // Internal
158 #define FLASH_O_FMAC                                                0x00002050
159 
160 // Internal
161 #define FLASH_O_FMSTAT                                              0x00002054
162 
163 // Internal
164 #define FLASH_O_FLOCK                                               0x00002064
165 
166 // Internal
167 #define FLASH_O_FVREADCT                                            0x00002080
168 
169 // Internal
170 #define FLASH_O_FVHVCT1                                             0x00002084
171 
172 // Internal
173 #define FLASH_O_FVHVCT2                                             0x00002088
174 
175 // Internal
176 #define FLASH_O_FVHVCT3                                             0x0000208C
177 
178 // Internal
179 #define FLASH_O_FVNVCT                                              0x00002090
180 
181 // Internal
182 #define FLASH_O_FVSLP                                               0x00002094
183 
184 // Internal
185 #define FLASH_O_FVWLCT                                              0x00002098
186 
187 // Internal
188 #define FLASH_O_FEFUSECTL                                           0x0000209C
189 
190 // Internal
191 #define FLASH_O_FEFUSESTAT                                          0x000020A0
192 
193 // Internal
194 #define FLASH_O_FEFUSEDATA                                          0x000020A4
195 
196 // Internal
197 #define FLASH_O_FSEQPMP                                             0x000020A8
198 
199 // Internal
200 #define FLASH_O_FBSTROBES                                           0x00002100
201 
202 // Internal
203 #define FLASH_O_FPSTROBES                                           0x00002104
204 
205 // Internal
206 #define FLASH_O_FBMODE                                              0x00002108
207 
208 // Internal
209 #define FLASH_O_FTCR                                                0x0000210C
210 
211 // Internal
212 #define FLASH_O_FADDR                                               0x00002110
213 
214 // Internal
215 #define FLASH_O_FTCTL                                               0x0000211C
216 
217 // Internal
218 #define FLASH_O_FWPWRITE0                                           0x00002120
219 
220 // Internal
221 #define FLASH_O_FWPWRITE1                                           0x00002124
222 
223 // Internal
224 #define FLASH_O_FWPWRITE2                                           0x00002128
225 
226 // Internal
227 #define FLASH_O_FWPWRITE3                                           0x0000212C
228 
229 // Internal
230 #define FLASH_O_FWPWRITE4                                           0x00002130
231 
232 // Internal
233 #define FLASH_O_FWPWRITE5                                           0x00002134
234 
235 // Internal
236 #define FLASH_O_FWPWRITE6                                           0x00002138
237 
238 // Internal
239 #define FLASH_O_FWPWRITE7                                           0x0000213C
240 
241 // Internal
242 #define FLASH_O_FWPWRITE_ECC                                        0x00002140
243 
244 // Internal
245 #define FLASH_O_FSWSTAT                                             0x00002144
246 
247 // Internal
248 #define FLASH_O_FSM_GLBCTL                                          0x00002200
249 
250 // Internal
251 #define FLASH_O_FSM_STATE                                           0x00002204
252 
253 // Internal
254 #define FLASH_O_FSM_STAT                                            0x00002208
255 
256 // Internal
257 #define FLASH_O_FSM_CMD                                             0x0000220C
258 
259 // Internal
260 #define FLASH_O_FSM_PE_OSU                                          0x00002210
261 
262 // Internal
263 #define FLASH_O_FSM_VSTAT                                           0x00002214
264 
265 // Internal
266 #define FLASH_O_FSM_PE_VSU                                          0x00002218
267 
268 // Internal
269 #define FLASH_O_FSM_CMP_VSU                                         0x0000221C
270 
271 // Internal
272 #define FLASH_O_FSM_EX_VAL                                          0x00002220
273 
274 // Internal
275 #define FLASH_O_FSM_RD_H                                            0x00002224
276 
277 // Internal
278 #define FLASH_O_FSM_P_OH                                            0x00002228
279 
280 // Internal
281 #define FLASH_O_FSM_ERA_OH                                          0x0000222C
282 
283 // Internal
284 #define FLASH_O_FSM_SAV_PPUL                                        0x00002230
285 
286 // Internal
287 #define FLASH_O_FSM_PE_VH                                           0x00002234
288 
289 // Internal
290 #define FLASH_O_FSM_PRG_PW                                          0x00002240
291 
292 // Internal
293 #define FLASH_O_FSM_ERA_PW                                          0x00002244
294 
295 // Internal
296 #define FLASH_O_FSM_SAV_ERA_PUL                                     0x00002254
297 
298 // Internal
299 #define FLASH_O_FSM_TIMER                                           0x00002258
300 
301 // Internal
302 #define FLASH_O_FSM_MODE                                            0x0000225C
303 
304 // Internal
305 #define FLASH_O_FSM_PGM                                             0x00002260
306 
307 // Internal
308 #define FLASH_O_FSM_ERA                                             0x00002264
309 
310 // Internal
311 #define FLASH_O_FSM_PRG_PUL                                         0x00002268
312 
313 // Internal
314 #define FLASH_O_FSM_ERA_PUL                                         0x0000226C
315 
316 // Internal
317 #define FLASH_O_FSM_STEP_SIZE                                       0x00002270
318 
319 // Internal
320 #define FLASH_O_FSM_PUL_CNTR                                        0x00002274
321 
322 // Internal
323 #define FLASH_O_FSM_EC_STEP_HEIGHT                                  0x00002278
324 
325 // Internal
326 #define FLASH_O_FSM_ST_MACHINE                                      0x0000227C
327 
328 // Internal
329 #define FLASH_O_FSM_FLES                                            0x00002280
330 
331 // Internal
332 #define FLASH_O_FSM_WR_ENA                                          0x00002288
333 
334 // Internal
335 #define FLASH_O_FSM_ACC_PP                                          0x0000228C
336 
337 // Internal
338 #define FLASH_O_FSM_ACC_EP                                          0x00002290
339 
340 // Internal
341 #define FLASH_O_FSM_ADDR                                            0x000022A0
342 
343 // Internal
344 #define FLASH_O_FSM_SECTOR                                          0x000022A4
345 
346 // Internal
347 #define FLASH_O_FMC_REV_ID                                          0x000022A8
348 
349 // Internal
350 #define FLASH_O_FSM_ERR_ADDR                                        0x000022AC
351 
352 // Internal
353 #define FLASH_O_FSM_PGM_MAXPUL                                      0x000022B0
354 
355 // Internal
356 #define FLASH_O_FSM_EXECUTE                                         0x000022B4
357 
358 // Internal
359 #define FLASH_O_FSM_SECTOR1                                         0x000022C0
360 
361 // Internal
362 #define FLASH_O_FSM_SECTOR2                                         0x000022C4
363 
364 // Internal
365 #define FLASH_O_FSM_BSLE0                                           0x000022E0
366 
367 // Internal
368 #define FLASH_O_FSM_BSLE1                                           0x000022E4
369 
370 // Internal
371 #define FLASH_O_FSM_BSLP0                                           0x000022F0
372 
373 // Internal
374 #define FLASH_O_FSM_BSLP1                                           0x000022F4
375 
376 // FMC FSM Enable 128-bit Wide Programming
377 #define FLASH_O_FSM_PGM128                                          0x000022F8
378 
379 // FMC FSM Enable Parallell Reads for Multibanks
380 #define FLASH_O_FSM_EN_PRL_BNK_RD                                   0x000022FC
381 
382 // Internal
383 #define FLASH_O_FCFG_BANK                                           0x00002400
384 
385 // Internal
386 #define FLASH_O_FCFG_WRAPPER                                        0x00002404
387 
388 // Internal
389 #define FLASH_O_FCFG_BNK_TYPE                                       0x00002408
390 
391 // Internal
392 #define FLASH_O_FCFG_B0_START                                       0x00002410
393 
394 // Internal
395 #define FLASH_O_FCFG_B1_START                                       0x00002414
396 
397 // Internal
398 #define FLASH_O_FCFG_B2_START                                       0x00002418
399 
400 // Internal
401 #define FLASH_O_FCFG_B3_START                                       0x0000241C
402 
403 // Internal
404 #define FLASH_O_FCFG_B4_START                                       0x00002420
405 
406 // Internal
407 #define FLASH_O_FCFG_B5_START                                       0x00002424
408 
409 // Internal
410 #define FLASH_O_FCFG_B6_START                                       0x00002428
411 
412 // Internal
413 #define FLASH_O_FCFG_B7_START                                       0x0000242C
414 
415 // Internal
416 #define FLASH_O_FCFG_B0_SSIZE0                                      0x00002430
417 
418 // Internal
419 #define FLASH_O_FCFG_B0_SSIZE1                                      0x00002434
420 
421 // Internal
422 #define FLASH_O_FCFG_B0_SSIZE2                                      0x00002438
423 
424 // Internal
425 #define FLASH_O_FCFG_B0_SSIZE3                                      0x0000243C
426 
427 // Internal
428 #define FLASH_O_FCFG_B1_SSIZE0                                      0x00002440
429 
430 // Internal
431 #define FLASH_O_FCFG_B1_SSIZE1                                      0x00002444
432 
433 // Internal
434 #define FLASH_O_FCFG_B1_SSIZE2                                      0x00002448
435 
436 // Internal
437 #define FLASH_O_FCFG_B1_SSIZE3                                      0x0000244C
438 
439 // Internal
440 #define FLASH_O_FCFG_B2_SSIZE0                                      0x00002450
441 
442 // Internal
443 #define FLASH_O_FCFG_B2_SSIZE1                                      0x00002454
444 
445 // Internal
446 #define FLASH_O_FCFG_B2_SSIZE2                                      0x00002458
447 
448 // Internal
449 #define FLASH_O_FCFG_B2_SSIZE3                                      0x0000245C
450 
451 // Internal
452 #define FLASH_O_FCFG_B3_SSIZE0                                      0x00002460
453 
454 // Internal
455 #define FLASH_O_FCFG_B3_SSIZE1                                      0x00002464
456 
457 // Internal
458 #define FLASH_O_FCFG_B3_SSIZE2                                      0x00002468
459 
460 // Internal
461 #define FLASH_O_FCFG_B3_SSIZE3                                      0x0000246C
462 
463 // Internal
464 #define FLASH_O_FCFG_B4_SSIZE0                                      0x00002470
465 
466 // Internal
467 #define FLASH_O_FCFG_B4_SSIZE1                                      0x00002474
468 
469 // Internal
470 #define FLASH_O_FCFG_B4_SSIZE2                                      0x00002478
471 
472 // Internal
473 #define FLASH_O_FCFG_B4_SSIZE3                                      0x0000247C
474 
475 // Internal
476 #define FLASH_O_FCFG_B5_SSIZE0                                      0x00002480
477 
478 // Internal
479 #define FLASH_O_FCFG_B5_SSIZE1                                      0x00002484
480 
481 // Internal
482 #define FLASH_O_FCFG_B5_SSIZE2                                      0x00002488
483 
484 // Internal
485 #define FLASH_O_FCFG_B5_SSIZE3                                      0x0000248C
486 
487 // Internal
488 #define FLASH_O_FCFG_B6_SSIZE0                                      0x00002490
489 
490 // Internal
491 #define FLASH_O_FCFG_B6_SSIZE1                                      0x00002494
492 
493 // Internal
494 #define FLASH_O_FCFG_B6_SSIZE2                                      0x00002498
495 
496 // Internal
497 #define FLASH_O_FCFG_B6_SSIZE3                                      0x0000249C
498 
499 // Internal
500 #define FLASH_O_FCFG_B7_SSIZE0                                      0x000024A0
501 
502 // Internal
503 #define FLASH_O_FCFG_B7_SSIZE1                                      0x000024A4
504 
505 // Internal
506 #define FLASH_O_FCFG_B7_SSIZE2                                      0x000024A8
507 
508 // Internal
509 #define FLASH_O_FCFG_B7_SSIZE3                                      0x000024AC
510 
511 //*****************************************************************************
512 //
513 // Register: FLASH_O_STAT
514 //
515 //*****************************************************************************
516 // Field:    [15] EFUSE_BLANK
517 //
518 // Efuse scanning detected if fuse ROM is blank:
519 // 0 : Not blank
520 // 1 : Blank
521 #define FLASH_STAT_EFUSE_BLANK                                      0x00008000
522 #define FLASH_STAT_EFUSE_BLANK_BITN                                         15
523 #define FLASH_STAT_EFUSE_BLANK_M                                    0x00008000
524 #define FLASH_STAT_EFUSE_BLANK_S                                            15
525 
526 // Field:    [14] EFUSE_TIMEOUT
527 //
528 // Efuse scanning resulted in timeout error.
529 // 0 : No Timeout error
530 // 1 : Timeout Error
531 #define FLASH_STAT_EFUSE_TIMEOUT                                    0x00004000
532 #define FLASH_STAT_EFUSE_TIMEOUT_BITN                                       14
533 #define FLASH_STAT_EFUSE_TIMEOUT_M                                  0x00004000
534 #define FLASH_STAT_EFUSE_TIMEOUT_S                                          14
535 
536 // Field:    [13] SPRS_BYTE_NOT_OK
537 //
538 // Efuse scanning resulted in scan chain Sparse byte error.
539 // 0 : No Sparse error
540 // 1 : Sparse Error
541 #define FLASH_STAT_SPRS_BYTE_NOT_OK                                 0x00002000
542 #define FLASH_STAT_SPRS_BYTE_NOT_OK_BITN                                    13
543 #define FLASH_STAT_SPRS_BYTE_NOT_OK_M                               0x00002000
544 #define FLASH_STAT_SPRS_BYTE_NOT_OK_S                                       13
545 
546 // Field:  [12:8] EFUSE_ERRCODE
547 //
548 // Same as EFUSEERROR.CODE
549 #define FLASH_STAT_EFUSE_ERRCODE_W                                           5
550 #define FLASH_STAT_EFUSE_ERRCODE_M                                  0x00001F00
551 #define FLASH_STAT_EFUSE_ERRCODE_S                                           8
552 
553 // Field:   [5:4] BUSY
554 //
555 // Fast version of the FMC FMSTAT.BUSY bit.
556 // This flag is valid immediately after the operation setting it (FMSTAT.BUSY
557 // is delayed some cycles)
558 // 0 : Not busy
559 // 1 : Busy
560 //
561 // Bit 4 is for the busy state for Bank0 which is at logical address 0x0
562 // Bit 5 for Bank1.
563 #define FLASH_STAT_BUSY_W                                                    2
564 #define FLASH_STAT_BUSY_M                                           0x00000030
565 #define FLASH_STAT_BUSY_S                                                    4
566 
567 // Field:   [1:0] POWER_MODE
568 //
569 // Power state of each of the 2 flash bank instances in the flash sub-system.
570 // 0 : Active
571 // 1 : Low power
572 //
573 // Bit 0 is for the power state for Bank0 which is at logical address 0x0
574 // Bit 1 for Bank1
575 #define FLASH_STAT_POWER_MODE_W                                              2
576 #define FLASH_STAT_POWER_MODE_M                                     0x00000003
577 #define FLASH_STAT_POWER_MODE_S                                              0
578 
579 //*****************************************************************************
580 //
581 // Register: FLASH_O_CFG
582 //
583 //*****************************************************************************
584 // Field:     [9] FORCE_STANDBY
585 //
586 // Internal. Only to be used through TI provided API.
587 #define FLASH_CFG_FORCE_STANDBY                                     0x00000200
588 #define FLASH_CFG_FORCE_STANDBY_BITN                                         9
589 #define FLASH_CFG_FORCE_STANDBY_M                                   0x00000200
590 #define FLASH_CFG_FORCE_STANDBY_S                                            9
591 
592 // Field:     [8] STANDBY_MODE_SEL
593 //
594 // Internal. Only to be used through TI provided API.
595 #define FLASH_CFG_STANDBY_MODE_SEL                                  0x00000100
596 #define FLASH_CFG_STANDBY_MODE_SEL_BITN                                      8
597 #define FLASH_CFG_STANDBY_MODE_SEL_M                                0x00000100
598 #define FLASH_CFG_STANDBY_MODE_SEL_S                                         8
599 
600 // Field:   [7:6] STANDBY_PW_SEL
601 //
602 // Internal. Only to be used through TI provided API.
603 #define FLASH_CFG_STANDBY_PW_SEL_W                                           2
604 #define FLASH_CFG_STANDBY_PW_SEL_M                                  0x000000C0
605 #define FLASH_CFG_STANDBY_PW_SEL_S                                           6
606 
607 // Field:     [5] DIS_EFUSECLK
608 //
609 // Internal. Only to be used through TI provided API.
610 #define FLASH_CFG_DIS_EFUSECLK                                      0x00000020
611 #define FLASH_CFG_DIS_EFUSECLK_BITN                                          5
612 #define FLASH_CFG_DIS_EFUSECLK_M                                    0x00000020
613 #define FLASH_CFG_DIS_EFUSECLK_S                                             5
614 
615 // Field:     [4] DIS_READACCESS
616 //
617 // Internal. Only to be used through TI provided API.
618 #define FLASH_CFG_DIS_READACCESS                                    0x00000010
619 #define FLASH_CFG_DIS_READACCESS_BITN                                        4
620 #define FLASH_CFG_DIS_READACCESS_M                                  0x00000010
621 #define FLASH_CFG_DIS_READACCESS_S                                           4
622 
623 // Field:     [3] ENABLE_SWINTF
624 //
625 // Internal. Only to be used through TI provided API.
626 #define FLASH_CFG_ENABLE_SWINTF                                     0x00000008
627 #define FLASH_CFG_ENABLE_SWINTF_BITN                                         3
628 #define FLASH_CFG_ENABLE_SWINTF_M                                   0x00000008
629 #define FLASH_CFG_ENABLE_SWINTF_S                                            3
630 
631 // Field:     [1] DIS_STANDBY
632 //
633 // Internal. Only to be used through TI provided API.
634 #define FLASH_CFG_DIS_STANDBY                                       0x00000002
635 #define FLASH_CFG_DIS_STANDBY_BITN                                           1
636 #define FLASH_CFG_DIS_STANDBY_M                                     0x00000002
637 #define FLASH_CFG_DIS_STANDBY_S                                              1
638 
639 //*****************************************************************************
640 //
641 // Register: FLASH_O_FLASH_SIZE
642 //
643 //*****************************************************************************
644 // Field:   [7:0] SECTORS
645 //
646 // Internal. Only to be used through TI provided API.
647 #define FLASH_FLASH_SIZE_SECTORS_W                                           8
648 #define FLASH_FLASH_SIZE_SECTORS_M                                  0x000000FF
649 #define FLASH_FLASH_SIZE_SECTORS_S                                           0
650 
651 //*****************************************************************************
652 //
653 // Register: FLASH_O_FWLOCK
654 //
655 //*****************************************************************************
656 // Field:   [2:0] FWLOCK
657 //
658 // Internal. Only to be used through TI provided API.
659 #define FLASH_FWLOCK_FWLOCK_W                                                3
660 #define FLASH_FWLOCK_FWLOCK_M                                       0x00000007
661 #define FLASH_FWLOCK_FWLOCK_S                                                0
662 
663 //*****************************************************************************
664 //
665 // Register: FLASH_O_FWFLAG
666 //
667 //*****************************************************************************
668 // Field:   [2:0] FWFLAG
669 //
670 // Internal. Only to be used through TI provided API.
671 #define FLASH_FWFLAG_FWFLAG_W                                                3
672 #define FLASH_FWFLAG_FWFLAG_M                                       0x00000007
673 #define FLASH_FWFLAG_FWFLAG_S                                                0
674 
675 //*****************************************************************************
676 //
677 // Register: FLASH_O_EFUSE
678 //
679 //*****************************************************************************
680 // Field: [28:24] INSTRUCTION
681 //
682 // Internal. Only to be used through TI provided API.
683 #define FLASH_EFUSE_INSTRUCTION_W                                            5
684 #define FLASH_EFUSE_INSTRUCTION_M                                   0x1F000000
685 #define FLASH_EFUSE_INSTRUCTION_S                                           24
686 
687 // Field:  [15:0] DUMPWORD
688 //
689 // Internal. Only to be used through TI provided API.
690 #define FLASH_EFUSE_DUMPWORD_W                                              16
691 #define FLASH_EFUSE_DUMPWORD_M                                      0x0000FFFF
692 #define FLASH_EFUSE_DUMPWORD_S                                               0
693 
694 //*****************************************************************************
695 //
696 // Register: FLASH_O_EFUSEADDR
697 //
698 //*****************************************************************************
699 // Field: [15:11] BLOCK
700 //
701 // Internal. Only to be used through TI provided API.
702 #define FLASH_EFUSEADDR_BLOCK_W                                              5
703 #define FLASH_EFUSEADDR_BLOCK_M                                     0x0000F800
704 #define FLASH_EFUSEADDR_BLOCK_S                                             11
705 
706 // Field:  [10:0] ROW
707 //
708 // Internal. Only to be used through TI provided API.
709 #define FLASH_EFUSEADDR_ROW_W                                               11
710 #define FLASH_EFUSEADDR_ROW_M                                       0x000007FF
711 #define FLASH_EFUSEADDR_ROW_S                                                0
712 
713 //*****************************************************************************
714 //
715 // Register: FLASH_O_DATAUPPER
716 //
717 //*****************************************************************************
718 // Field:   [7:3] SPARE
719 //
720 // Internal. Only to be used through TI provided API.
721 #define FLASH_DATAUPPER_SPARE_W                                              5
722 #define FLASH_DATAUPPER_SPARE_M                                     0x000000F8
723 #define FLASH_DATAUPPER_SPARE_S                                              3
724 
725 // Field:     [2] P
726 //
727 // Internal. Only to be used through TI provided API.
728 #define FLASH_DATAUPPER_P                                           0x00000004
729 #define FLASH_DATAUPPER_P_BITN                                               2
730 #define FLASH_DATAUPPER_P_M                                         0x00000004
731 #define FLASH_DATAUPPER_P_S                                                  2
732 
733 // Field:     [1] R
734 //
735 // Internal. Only to be used through TI provided API.
736 #define FLASH_DATAUPPER_R                                           0x00000002
737 #define FLASH_DATAUPPER_R_BITN                                               1
738 #define FLASH_DATAUPPER_R_M                                         0x00000002
739 #define FLASH_DATAUPPER_R_S                                                  1
740 
741 // Field:     [0] EEN
742 //
743 // Internal. Only to be used through TI provided API.
744 #define FLASH_DATAUPPER_EEN                                         0x00000001
745 #define FLASH_DATAUPPER_EEN_BITN                                             0
746 #define FLASH_DATAUPPER_EEN_M                                       0x00000001
747 #define FLASH_DATAUPPER_EEN_S                                                0
748 
749 //*****************************************************************************
750 //
751 // Register: FLASH_O_DATALOWER
752 //
753 //*****************************************************************************
754 // Field:  [31:0] DATA
755 //
756 // Internal. Only to be used through TI provided API.
757 #define FLASH_DATALOWER_DATA_W                                              32
758 #define FLASH_DATALOWER_DATA_M                                      0xFFFFFFFF
759 #define FLASH_DATALOWER_DATA_S                                               0
760 
761 //*****************************************************************************
762 //
763 // Register: FLASH_O_EFUSECFG
764 //
765 //*****************************************************************************
766 // Field:     [8] IDLEGATING
767 //
768 // Internal. Only to be used through TI provided API.
769 #define FLASH_EFUSECFG_IDLEGATING                                   0x00000100
770 #define FLASH_EFUSECFG_IDLEGATING_BITN                                       8
771 #define FLASH_EFUSECFG_IDLEGATING_M                                 0x00000100
772 #define FLASH_EFUSECFG_IDLEGATING_S                                          8
773 
774 // Field:   [4:3] SLAVEPOWER
775 //
776 // Internal. Only to be used through TI provided API.
777 #define FLASH_EFUSECFG_SLAVEPOWER_W                                          2
778 #define FLASH_EFUSECFG_SLAVEPOWER_M                                 0x00000018
779 #define FLASH_EFUSECFG_SLAVEPOWER_S                                          3
780 
781 // Field:     [0] GATING
782 //
783 // Internal. Only to be used through TI provided API.
784 #define FLASH_EFUSECFG_GATING                                       0x00000001
785 #define FLASH_EFUSECFG_GATING_BITN                                           0
786 #define FLASH_EFUSECFG_GATING_M                                     0x00000001
787 #define FLASH_EFUSECFG_GATING_S                                              0
788 
789 //*****************************************************************************
790 //
791 // Register: FLASH_O_EFUSESTAT
792 //
793 //*****************************************************************************
794 // Field:     [0] RESETDONE
795 //
796 // Internal. Only to be used through TI provided API.
797 #define FLASH_EFUSESTAT_RESETDONE                                   0x00000001
798 #define FLASH_EFUSESTAT_RESETDONE_BITN                                       0
799 #define FLASH_EFUSESTAT_RESETDONE_M                                 0x00000001
800 #define FLASH_EFUSESTAT_RESETDONE_S                                          0
801 
802 //*****************************************************************************
803 //
804 // Register: FLASH_O_ACC
805 //
806 //*****************************************************************************
807 // Field:  [23:0] ACCUMULATOR
808 //
809 // Internal. Only to be used through TI provided API.
810 #define FLASH_ACC_ACCUMULATOR_W                                             24
811 #define FLASH_ACC_ACCUMULATOR_M                                     0x00FFFFFF
812 #define FLASH_ACC_ACCUMULATOR_S                                              0
813 
814 //*****************************************************************************
815 //
816 // Register: FLASH_O_BOUNDARY
817 //
818 //*****************************************************************************
819 // Field:    [23] DISROW0
820 //
821 // Internal. Only to be used through TI provided API.
822 #define FLASH_BOUNDARY_DISROW0                                      0x00800000
823 #define FLASH_BOUNDARY_DISROW0_BITN                                         23
824 #define FLASH_BOUNDARY_DISROW0_M                                    0x00800000
825 #define FLASH_BOUNDARY_DISROW0_S                                            23
826 
827 // Field:    [22] SPARE
828 //
829 // Internal. Only to be used through TI provided API.
830 #define FLASH_BOUNDARY_SPARE                                        0x00400000
831 #define FLASH_BOUNDARY_SPARE_BITN                                           22
832 #define FLASH_BOUNDARY_SPARE_M                                      0x00400000
833 #define FLASH_BOUNDARY_SPARE_S                                              22
834 
835 // Field:    [21] EFC_SELF_TEST_ERROR
836 //
837 // Internal. Only to be used through TI provided API.
838 #define FLASH_BOUNDARY_EFC_SELF_TEST_ERROR                          0x00200000
839 #define FLASH_BOUNDARY_EFC_SELF_TEST_ERROR_BITN                             21
840 #define FLASH_BOUNDARY_EFC_SELF_TEST_ERROR_M                        0x00200000
841 #define FLASH_BOUNDARY_EFC_SELF_TEST_ERROR_S                                21
842 
843 // Field:    [20] EFC_INSTRUCTION_INFO
844 //
845 // Internal. Only to be used through TI provided API.
846 #define FLASH_BOUNDARY_EFC_INSTRUCTION_INFO                         0x00100000
847 #define FLASH_BOUNDARY_EFC_INSTRUCTION_INFO_BITN                            20
848 #define FLASH_BOUNDARY_EFC_INSTRUCTION_INFO_M                       0x00100000
849 #define FLASH_BOUNDARY_EFC_INSTRUCTION_INFO_S                               20
850 
851 // Field:    [19] EFC_INSTRUCTION_ERROR
852 //
853 // Internal. Only to be used through TI provided API.
854 #define FLASH_BOUNDARY_EFC_INSTRUCTION_ERROR                        0x00080000
855 #define FLASH_BOUNDARY_EFC_INSTRUCTION_ERROR_BITN                           19
856 #define FLASH_BOUNDARY_EFC_INSTRUCTION_ERROR_M                      0x00080000
857 #define FLASH_BOUNDARY_EFC_INSTRUCTION_ERROR_S                              19
858 
859 // Field:    [18] EFC_AUTOLOAD_ERROR
860 //
861 // Internal. Only to be used through TI provided API.
862 #define FLASH_BOUNDARY_EFC_AUTOLOAD_ERROR                           0x00040000
863 #define FLASH_BOUNDARY_EFC_AUTOLOAD_ERROR_BITN                              18
864 #define FLASH_BOUNDARY_EFC_AUTOLOAD_ERROR_M                         0x00040000
865 #define FLASH_BOUNDARY_EFC_AUTOLOAD_ERROR_S                                 18
866 
867 // Field: [17:14] OUTPUTENABLE
868 //
869 // Internal. Only to be used through TI provided API.
870 #define FLASH_BOUNDARY_OUTPUTENABLE_W                                        4
871 #define FLASH_BOUNDARY_OUTPUTENABLE_M                               0x0003C000
872 #define FLASH_BOUNDARY_OUTPUTENABLE_S                                       14
873 
874 // Field:    [13] SYS_ECC_SELF_TEST_EN
875 //
876 // Internal. Only to be used through TI provided API.
877 #define FLASH_BOUNDARY_SYS_ECC_SELF_TEST_EN                         0x00002000
878 #define FLASH_BOUNDARY_SYS_ECC_SELF_TEST_EN_BITN                            13
879 #define FLASH_BOUNDARY_SYS_ECC_SELF_TEST_EN_M                       0x00002000
880 #define FLASH_BOUNDARY_SYS_ECC_SELF_TEST_EN_S                               13
881 
882 // Field:    [12] SYS_ECC_OVERRIDE_EN
883 //
884 // Internal. Only to be used through TI provided API.
885 #define FLASH_BOUNDARY_SYS_ECC_OVERRIDE_EN                          0x00001000
886 #define FLASH_BOUNDARY_SYS_ECC_OVERRIDE_EN_BITN                             12
887 #define FLASH_BOUNDARY_SYS_ECC_OVERRIDE_EN_M                        0x00001000
888 #define FLASH_BOUNDARY_SYS_ECC_OVERRIDE_EN_S                                12
889 
890 // Field:    [11] EFC_FDI
891 //
892 // Internal. Only to be used through TI provided API.
893 #define FLASH_BOUNDARY_EFC_FDI                                      0x00000800
894 #define FLASH_BOUNDARY_EFC_FDI_BITN                                         11
895 #define FLASH_BOUNDARY_EFC_FDI_M                                    0x00000800
896 #define FLASH_BOUNDARY_EFC_FDI_S                                            11
897 
898 // Field:    [10] SYS_DIEID_AUTOLOAD_EN
899 //
900 // Internal. Only to be used through TI provided API.
901 #define FLASH_BOUNDARY_SYS_DIEID_AUTOLOAD_EN                        0x00000400
902 #define FLASH_BOUNDARY_SYS_DIEID_AUTOLOAD_EN_BITN                           10
903 #define FLASH_BOUNDARY_SYS_DIEID_AUTOLOAD_EN_M                      0x00000400
904 #define FLASH_BOUNDARY_SYS_DIEID_AUTOLOAD_EN_S                              10
905 
906 // Field:   [9:8] SYS_REPAIR_EN
907 //
908 // Internal. Only to be used through TI provided API.
909 #define FLASH_BOUNDARY_SYS_REPAIR_EN_W                                       2
910 #define FLASH_BOUNDARY_SYS_REPAIR_EN_M                              0x00000300
911 #define FLASH_BOUNDARY_SYS_REPAIR_EN_S                                       8
912 
913 // Field:   [7:4] SYS_WS_READ_STATES
914 //
915 // Internal. Only to be used through TI provided API.
916 #define FLASH_BOUNDARY_SYS_WS_READ_STATES_W                                  4
917 #define FLASH_BOUNDARY_SYS_WS_READ_STATES_M                         0x000000F0
918 #define FLASH_BOUNDARY_SYS_WS_READ_STATES_S                                  4
919 
920 // Field:   [3:0] INPUTENABLE
921 //
922 // Internal. Only to be used through TI provided API.
923 #define FLASH_BOUNDARY_INPUTENABLE_W                                         4
924 #define FLASH_BOUNDARY_INPUTENABLE_M                                0x0000000F
925 #define FLASH_BOUNDARY_INPUTENABLE_S                                         0
926 
927 //*****************************************************************************
928 //
929 // Register: FLASH_O_EFUSEFLAG
930 //
931 //*****************************************************************************
932 // Field:     [0] KEY
933 //
934 // Internal. Only to be used through TI provided API.
935 #define FLASH_EFUSEFLAG_KEY                                         0x00000001
936 #define FLASH_EFUSEFLAG_KEY_BITN                                             0
937 #define FLASH_EFUSEFLAG_KEY_M                                       0x00000001
938 #define FLASH_EFUSEFLAG_KEY_S                                                0
939 
940 //*****************************************************************************
941 //
942 // Register: FLASH_O_EFUSEKEY
943 //
944 //*****************************************************************************
945 // Field:  [31:0] CODE
946 //
947 // Internal. Only to be used through TI provided API.
948 #define FLASH_EFUSEKEY_CODE_W                                               32
949 #define FLASH_EFUSEKEY_CODE_M                                       0xFFFFFFFF
950 #define FLASH_EFUSEKEY_CODE_S                                                0
951 
952 //*****************************************************************************
953 //
954 // Register: FLASH_O_EFUSERELEASE
955 //
956 //*****************************************************************************
957 // Field: [31:25] ODPYEAR
958 //
959 // Internal. Only to be used through TI provided API.
960 #define FLASH_EFUSERELEASE_ODPYEAR_W                                         7
961 #define FLASH_EFUSERELEASE_ODPYEAR_M                                0xFE000000
962 #define FLASH_EFUSERELEASE_ODPYEAR_S                                        25
963 
964 // Field: [24:21] ODPMONTH
965 //
966 // Internal. Only to be used through TI provided API.
967 #define FLASH_EFUSERELEASE_ODPMONTH_W                                        4
968 #define FLASH_EFUSERELEASE_ODPMONTH_M                               0x01E00000
969 #define FLASH_EFUSERELEASE_ODPMONTH_S                                       21
970 
971 // Field: [20:16] ODPDAY
972 //
973 // Internal. Only to be used through TI provided API.
974 #define FLASH_EFUSERELEASE_ODPDAY_W                                          5
975 #define FLASH_EFUSERELEASE_ODPDAY_M                                 0x001F0000
976 #define FLASH_EFUSERELEASE_ODPDAY_S                                         16
977 
978 // Field:  [15:9] EFUSEYEAR
979 //
980 // Internal. Only to be used through TI provided API.
981 #define FLASH_EFUSERELEASE_EFUSEYEAR_W                                       7
982 #define FLASH_EFUSERELEASE_EFUSEYEAR_M                              0x0000FE00
983 #define FLASH_EFUSERELEASE_EFUSEYEAR_S                                       9
984 
985 // Field:   [8:5] EFUSEMONTH
986 //
987 // Internal. Only to be used through TI provided API.
988 #define FLASH_EFUSERELEASE_EFUSEMONTH_W                                      4
989 #define FLASH_EFUSERELEASE_EFUSEMONTH_M                             0x000001E0
990 #define FLASH_EFUSERELEASE_EFUSEMONTH_S                                      5
991 
992 // Field:   [4:0] EFUSEDAY
993 //
994 // Internal. Only to be used through TI provided API.
995 #define FLASH_EFUSERELEASE_EFUSEDAY_W                                        5
996 #define FLASH_EFUSERELEASE_EFUSEDAY_M                               0x0000001F
997 #define FLASH_EFUSERELEASE_EFUSEDAY_S                                        0
998 
999 //*****************************************************************************
1000 //
1001 // Register: FLASH_O_EFUSEPINS
1002 //
1003 //*****************************************************************************
1004 // Field:    [15] EFC_SELF_TEST_DONE
1005 //
1006 // Internal. Only to be used through TI provided API.
1007 #define FLASH_EFUSEPINS_EFC_SELF_TEST_DONE                          0x00008000
1008 #define FLASH_EFUSEPINS_EFC_SELF_TEST_DONE_BITN                             15
1009 #define FLASH_EFUSEPINS_EFC_SELF_TEST_DONE_M                        0x00008000
1010 #define FLASH_EFUSEPINS_EFC_SELF_TEST_DONE_S                                15
1011 
1012 // Field:    [14] EFC_SELF_TEST_ERROR
1013 //
1014 // Internal. Only to be used through TI provided API.
1015 #define FLASH_EFUSEPINS_EFC_SELF_TEST_ERROR                         0x00004000
1016 #define FLASH_EFUSEPINS_EFC_SELF_TEST_ERROR_BITN                            14
1017 #define FLASH_EFUSEPINS_EFC_SELF_TEST_ERROR_M                       0x00004000
1018 #define FLASH_EFUSEPINS_EFC_SELF_TEST_ERROR_S                               14
1019 
1020 // Field:    [13] SYS_ECC_SELF_TEST_EN
1021 //
1022 // Internal. Only to be used through TI provided API.
1023 #define FLASH_EFUSEPINS_SYS_ECC_SELF_TEST_EN                        0x00002000
1024 #define FLASH_EFUSEPINS_SYS_ECC_SELF_TEST_EN_BITN                           13
1025 #define FLASH_EFUSEPINS_SYS_ECC_SELF_TEST_EN_M                      0x00002000
1026 #define FLASH_EFUSEPINS_SYS_ECC_SELF_TEST_EN_S                              13
1027 
1028 // Field:    [12] EFC_INSTRUCTION_INFO
1029 //
1030 // Internal. Only to be used through TI provided API.
1031 #define FLASH_EFUSEPINS_EFC_INSTRUCTION_INFO                        0x00001000
1032 #define FLASH_EFUSEPINS_EFC_INSTRUCTION_INFO_BITN                           12
1033 #define FLASH_EFUSEPINS_EFC_INSTRUCTION_INFO_M                      0x00001000
1034 #define FLASH_EFUSEPINS_EFC_INSTRUCTION_INFO_S                              12
1035 
1036 // Field:    [11] EFC_INSTRUCTION_ERROR
1037 //
1038 // Internal. Only to be used through TI provided API.
1039 #define FLASH_EFUSEPINS_EFC_INSTRUCTION_ERROR                       0x00000800
1040 #define FLASH_EFUSEPINS_EFC_INSTRUCTION_ERROR_BITN                          11
1041 #define FLASH_EFUSEPINS_EFC_INSTRUCTION_ERROR_M                     0x00000800
1042 #define FLASH_EFUSEPINS_EFC_INSTRUCTION_ERROR_S                             11
1043 
1044 // Field:    [10] EFC_AUTOLOAD_ERROR
1045 //
1046 // Internal. Only to be used through TI provided API.
1047 #define FLASH_EFUSEPINS_EFC_AUTOLOAD_ERROR                          0x00000400
1048 #define FLASH_EFUSEPINS_EFC_AUTOLOAD_ERROR_BITN                             10
1049 #define FLASH_EFUSEPINS_EFC_AUTOLOAD_ERROR_M                        0x00000400
1050 #define FLASH_EFUSEPINS_EFC_AUTOLOAD_ERROR_S                                10
1051 
1052 // Field:     [9] SYS_ECC_OVERRIDE_EN
1053 //
1054 // Internal. Only to be used through TI provided API.
1055 #define FLASH_EFUSEPINS_SYS_ECC_OVERRIDE_EN                         0x00000200
1056 #define FLASH_EFUSEPINS_SYS_ECC_OVERRIDE_EN_BITN                             9
1057 #define FLASH_EFUSEPINS_SYS_ECC_OVERRIDE_EN_M                       0x00000200
1058 #define FLASH_EFUSEPINS_SYS_ECC_OVERRIDE_EN_S                                9
1059 
1060 // Field:     [8] EFC_READY
1061 //
1062 // Internal. Only to be used through TI provided API.
1063 #define FLASH_EFUSEPINS_EFC_READY                                   0x00000100
1064 #define FLASH_EFUSEPINS_EFC_READY_BITN                                       8
1065 #define FLASH_EFUSEPINS_EFC_READY_M                                 0x00000100
1066 #define FLASH_EFUSEPINS_EFC_READY_S                                          8
1067 
1068 // Field:     [7] EFC_FCLRZ
1069 //
1070 // Internal. Only to be used through TI provided API.
1071 #define FLASH_EFUSEPINS_EFC_FCLRZ                                   0x00000080
1072 #define FLASH_EFUSEPINS_EFC_FCLRZ_BITN                                       7
1073 #define FLASH_EFUSEPINS_EFC_FCLRZ_M                                 0x00000080
1074 #define FLASH_EFUSEPINS_EFC_FCLRZ_S                                          7
1075 
1076 // Field:     [6] SYS_DIEID_AUTOLOAD_EN
1077 //
1078 // Internal. Only to be used through TI provided API.
1079 #define FLASH_EFUSEPINS_SYS_DIEID_AUTOLOAD_EN                       0x00000040
1080 #define FLASH_EFUSEPINS_SYS_DIEID_AUTOLOAD_EN_BITN                           6
1081 #define FLASH_EFUSEPINS_SYS_DIEID_AUTOLOAD_EN_M                     0x00000040
1082 #define FLASH_EFUSEPINS_SYS_DIEID_AUTOLOAD_EN_S                              6
1083 
1084 // Field:   [5:4] SYS_REPAIR_EN
1085 //
1086 // Internal. Only to be used through TI provided API.
1087 #define FLASH_EFUSEPINS_SYS_REPAIR_EN_W                                      2
1088 #define FLASH_EFUSEPINS_SYS_REPAIR_EN_M                             0x00000030
1089 #define FLASH_EFUSEPINS_SYS_REPAIR_EN_S                                      4
1090 
1091 // Field:   [3:0] SYS_WS_READ_STATES
1092 //
1093 // Internal. Only to be used through TI provided API.
1094 #define FLASH_EFUSEPINS_SYS_WS_READ_STATES_W                                 4
1095 #define FLASH_EFUSEPINS_SYS_WS_READ_STATES_M                        0x0000000F
1096 #define FLASH_EFUSEPINS_SYS_WS_READ_STATES_S                                 0
1097 
1098 //*****************************************************************************
1099 //
1100 // Register: FLASH_O_EFUSECRA
1101 //
1102 //*****************************************************************************
1103 // Field:   [5:0] DATA
1104 //
1105 // Internal. Only to be used through TI provided API.
1106 #define FLASH_EFUSECRA_DATA_W                                                6
1107 #define FLASH_EFUSECRA_DATA_M                                       0x0000003F
1108 #define FLASH_EFUSECRA_DATA_S                                                0
1109 
1110 //*****************************************************************************
1111 //
1112 // Register: FLASH_O_EFUSEREAD
1113 //
1114 //*****************************************************************************
1115 // Field:   [9:8] DATABIT
1116 //
1117 // Internal. Only to be used through TI provided API.
1118 #define FLASH_EFUSEREAD_DATABIT_W                                            2
1119 #define FLASH_EFUSEREAD_DATABIT_M                                   0x00000300
1120 #define FLASH_EFUSEREAD_DATABIT_S                                            8
1121 
1122 // Field:   [7:4] READCLOCK
1123 //
1124 // Internal. Only to be used through TI provided API.
1125 #define FLASH_EFUSEREAD_READCLOCK_W                                          4
1126 #define FLASH_EFUSEREAD_READCLOCK_M                                 0x000000F0
1127 #define FLASH_EFUSEREAD_READCLOCK_S                                          4
1128 
1129 // Field:     [3] DEBUG
1130 //
1131 // Internal. Only to be used through TI provided API.
1132 #define FLASH_EFUSEREAD_DEBUG                                       0x00000008
1133 #define FLASH_EFUSEREAD_DEBUG_BITN                                           3
1134 #define FLASH_EFUSEREAD_DEBUG_M                                     0x00000008
1135 #define FLASH_EFUSEREAD_DEBUG_S                                              3
1136 
1137 // Field:     [2] SPARE
1138 //
1139 // Internal. Only to be used through TI provided API.
1140 #define FLASH_EFUSEREAD_SPARE                                       0x00000004
1141 #define FLASH_EFUSEREAD_SPARE_BITN                                           2
1142 #define FLASH_EFUSEREAD_SPARE_M                                     0x00000004
1143 #define FLASH_EFUSEREAD_SPARE_S                                              2
1144 
1145 // Field:   [1:0] MARGIN
1146 //
1147 // Internal. Only to be used through TI provided API.
1148 #define FLASH_EFUSEREAD_MARGIN_W                                             2
1149 #define FLASH_EFUSEREAD_MARGIN_M                                    0x00000003
1150 #define FLASH_EFUSEREAD_MARGIN_S                                             0
1151 
1152 //*****************************************************************************
1153 //
1154 // Register: FLASH_O_EFUSEPROGRAM
1155 //
1156 //*****************************************************************************
1157 // Field:    [30] COMPAREDISABLE
1158 //
1159 // Internal. Only to be used through TI provided API.
1160 #define FLASH_EFUSEPROGRAM_COMPAREDISABLE                           0x40000000
1161 #define FLASH_EFUSEPROGRAM_COMPAREDISABLE_BITN                              30
1162 #define FLASH_EFUSEPROGRAM_COMPAREDISABLE_M                         0x40000000
1163 #define FLASH_EFUSEPROGRAM_COMPAREDISABLE_S                                 30
1164 
1165 // Field: [29:14] CLOCKSTALL
1166 //
1167 // Internal. Only to be used through TI provided API.
1168 #define FLASH_EFUSEPROGRAM_CLOCKSTALL_W                                     16
1169 #define FLASH_EFUSEPROGRAM_CLOCKSTALL_M                             0x3FFFC000
1170 #define FLASH_EFUSEPROGRAM_CLOCKSTALL_S                                     14
1171 
1172 // Field:    [13] VPPTOVDD
1173 //
1174 // Internal. Only to be used through TI provided API.
1175 #define FLASH_EFUSEPROGRAM_VPPTOVDD                                 0x00002000
1176 #define FLASH_EFUSEPROGRAM_VPPTOVDD_BITN                                    13
1177 #define FLASH_EFUSEPROGRAM_VPPTOVDD_M                               0x00002000
1178 #define FLASH_EFUSEPROGRAM_VPPTOVDD_S                                       13
1179 
1180 // Field:  [12:9] ITERATIONS
1181 //
1182 // Internal. Only to be used through TI provided API.
1183 #define FLASH_EFUSEPROGRAM_ITERATIONS_W                                      4
1184 #define FLASH_EFUSEPROGRAM_ITERATIONS_M                             0x00001E00
1185 #define FLASH_EFUSEPROGRAM_ITERATIONS_S                                      9
1186 
1187 // Field:   [8:0] WRITECLOCK
1188 //
1189 // Internal. Only to be used through TI provided API.
1190 #define FLASH_EFUSEPROGRAM_WRITECLOCK_W                                      9
1191 #define FLASH_EFUSEPROGRAM_WRITECLOCK_M                             0x000001FF
1192 #define FLASH_EFUSEPROGRAM_WRITECLOCK_S                                      0
1193 
1194 //*****************************************************************************
1195 //
1196 // Register: FLASH_O_EFUSEERROR
1197 //
1198 //*****************************************************************************
1199 // Field:     [5] DONE
1200 //
1201 // Internal. Only to be used through TI provided API.
1202 #define FLASH_EFUSEERROR_DONE                                       0x00000020
1203 #define FLASH_EFUSEERROR_DONE_BITN                                           5
1204 #define FLASH_EFUSEERROR_DONE_M                                     0x00000020
1205 #define FLASH_EFUSEERROR_DONE_S                                              5
1206 
1207 // Field:   [4:0] CODE
1208 //
1209 // Internal. Only to be used through TI provided API.
1210 #define FLASH_EFUSEERROR_CODE_W                                              5
1211 #define FLASH_EFUSEERROR_CODE_M                                     0x0000001F
1212 #define FLASH_EFUSEERROR_CODE_S                                              0
1213 
1214 //*****************************************************************************
1215 //
1216 // Register: FLASH_O_SINGLEBIT
1217 //
1218 //*****************************************************************************
1219 // Field:  [31:1] FROMN
1220 //
1221 // Internal. Only to be used through TI provided API.
1222 #define FLASH_SINGLEBIT_FROMN_W                                             31
1223 #define FLASH_SINGLEBIT_FROMN_M                                     0xFFFFFFFE
1224 #define FLASH_SINGLEBIT_FROMN_S                                              1
1225 
1226 // Field:     [0] FROM0
1227 //
1228 // Internal. Only to be used through TI provided API.
1229 #define FLASH_SINGLEBIT_FROM0                                       0x00000001
1230 #define FLASH_SINGLEBIT_FROM0_BITN                                           0
1231 #define FLASH_SINGLEBIT_FROM0_M                                     0x00000001
1232 #define FLASH_SINGLEBIT_FROM0_S                                              0
1233 
1234 //*****************************************************************************
1235 //
1236 // Register: FLASH_O_TWOBIT
1237 //
1238 //*****************************************************************************
1239 // Field:  [31:1] FROMN
1240 //
1241 // Internal. Only to be used through TI provided API.
1242 #define FLASH_TWOBIT_FROMN_W                                                31
1243 #define FLASH_TWOBIT_FROMN_M                                        0xFFFFFFFE
1244 #define FLASH_TWOBIT_FROMN_S                                                 1
1245 
1246 // Field:     [0] FROM0
1247 //
1248 // Internal. Only to be used through TI provided API.
1249 #define FLASH_TWOBIT_FROM0                                          0x00000001
1250 #define FLASH_TWOBIT_FROM0_BITN                                              0
1251 #define FLASH_TWOBIT_FROM0_M                                        0x00000001
1252 #define FLASH_TWOBIT_FROM0_S                                                 0
1253 
1254 //*****************************************************************************
1255 //
1256 // Register: FLASH_O_SELFTESTCYC
1257 //
1258 //*****************************************************************************
1259 // Field:  [31:0] CYCLES
1260 //
1261 // Internal. Only to be used through TI provided API.
1262 #define FLASH_SELFTESTCYC_CYCLES_W                                          32
1263 #define FLASH_SELFTESTCYC_CYCLES_M                                  0xFFFFFFFF
1264 #define FLASH_SELFTESTCYC_CYCLES_S                                           0
1265 
1266 //*****************************************************************************
1267 //
1268 // Register: FLASH_O_SELFTESTSIGN
1269 //
1270 //*****************************************************************************
1271 // Field:  [31:0] SIGNATURE
1272 //
1273 // Internal. Only to be used through TI provided API.
1274 #define FLASH_SELFTESTSIGN_SIGNATURE_W                                      32
1275 #define FLASH_SELFTESTSIGN_SIGNATURE_M                              0xFFFFFFFF
1276 #define FLASH_SELFTESTSIGN_SIGNATURE_S                                       0
1277 
1278 //*****************************************************************************
1279 //
1280 // Register: FLASH_O_FRDCTL
1281 //
1282 //*****************************************************************************
1283 // Field:  [11:8] RWAIT
1284 //
1285 // Internal. Only to be used through TI provided API.
1286 #define FLASH_FRDCTL_RWAIT_W                                                 4
1287 #define FLASH_FRDCTL_RWAIT_M                                        0x00000F00
1288 #define FLASH_FRDCTL_RWAIT_S                                                 8
1289 
1290 //*****************************************************************************
1291 //
1292 // Register: FLASH_O_FSPRD
1293 //
1294 //*****************************************************************************
1295 // Field:  [15:8] RMBSEM
1296 //
1297 // Internal. Only to be used through TI provided API.
1298 #define FLASH_FSPRD_RMBSEM_W                                                 8
1299 #define FLASH_FSPRD_RMBSEM_M                                        0x0000FF00
1300 #define FLASH_FSPRD_RMBSEM_S                                                 8
1301 
1302 // Field:     [1] RM1
1303 //
1304 // Internal. Only to be used through TI provided API.
1305 #define FLASH_FSPRD_RM1                                             0x00000002
1306 #define FLASH_FSPRD_RM1_BITN                                                 1
1307 #define FLASH_FSPRD_RM1_M                                           0x00000002
1308 #define FLASH_FSPRD_RM1_S                                                    1
1309 
1310 // Field:     [0] RM0
1311 //
1312 // Internal. Only to be used through TI provided API.
1313 #define FLASH_FSPRD_RM0                                             0x00000001
1314 #define FLASH_FSPRD_RM0_BITN                                                 0
1315 #define FLASH_FSPRD_RM0_M                                           0x00000001
1316 #define FLASH_FSPRD_RM0_S                                                    0
1317 
1318 //*****************************************************************************
1319 //
1320 // Register: FLASH_O_FEDACCTL1
1321 //
1322 //*****************************************************************************
1323 // Field:    [24] SUSP_IGNR
1324 //
1325 // Internal. Only to be used through TI provided API.
1326 #define FLASH_FEDACCTL1_SUSP_IGNR                                   0x01000000
1327 #define FLASH_FEDACCTL1_SUSP_IGNR_BITN                                      24
1328 #define FLASH_FEDACCTL1_SUSP_IGNR_M                                 0x01000000
1329 #define FLASH_FEDACCTL1_SUSP_IGNR_S                                         24
1330 
1331 //*****************************************************************************
1332 //
1333 // Register: FLASH_O_FEDACSTAT
1334 //
1335 //*****************************************************************************
1336 // Field:    [25] RVF_INT
1337 //
1338 // Internal. Only to be used through TI provided API.
1339 #define FLASH_FEDACSTAT_RVF_INT                                     0x02000000
1340 #define FLASH_FEDACSTAT_RVF_INT_BITN                                        25
1341 #define FLASH_FEDACSTAT_RVF_INT_M                                   0x02000000
1342 #define FLASH_FEDACSTAT_RVF_INT_S                                           25
1343 
1344 // Field:    [24] FSM_DONE
1345 //
1346 // Internal. Only to be used through TI provided API.
1347 #define FLASH_FEDACSTAT_FSM_DONE                                    0x01000000
1348 #define FLASH_FEDACSTAT_FSM_DONE_BITN                                       24
1349 #define FLASH_FEDACSTAT_FSM_DONE_M                                  0x01000000
1350 #define FLASH_FEDACSTAT_FSM_DONE_S                                          24
1351 
1352 //*****************************************************************************
1353 //
1354 // Register: FLASH_O_FBPROT
1355 //
1356 //*****************************************************************************
1357 // Field:     [0] PROTL1DIS
1358 //
1359 // Internal. Only to be used through TI provided API.
1360 #define FLASH_FBPROT_PROTL1DIS                                      0x00000001
1361 #define FLASH_FBPROT_PROTL1DIS_BITN                                          0
1362 #define FLASH_FBPROT_PROTL1DIS_M                                    0x00000001
1363 #define FLASH_FBPROT_PROTL1DIS_S                                             0
1364 
1365 //*****************************************************************************
1366 //
1367 // Register: FLASH_O_FBSE
1368 //
1369 //*****************************************************************************
1370 // Field:  [15:0] BSE
1371 //
1372 // Internal. Only to be used through TI provided API.
1373 #define FLASH_FBSE_BSE_W                                                    16
1374 #define FLASH_FBSE_BSE_M                                            0x0000FFFF
1375 #define FLASH_FBSE_BSE_S                                                     0
1376 
1377 //*****************************************************************************
1378 //
1379 // Register: FLASH_O_FBBUSY
1380 //
1381 //*****************************************************************************
1382 // Field:   [7:0] BUSY
1383 //
1384 // Internal. Only to be used through TI provided API.
1385 #define FLASH_FBBUSY_BUSY_W                                                  8
1386 #define FLASH_FBBUSY_BUSY_M                                         0x000000FF
1387 #define FLASH_FBBUSY_BUSY_S                                                  0
1388 
1389 //*****************************************************************************
1390 //
1391 // Register: FLASH_O_FBAC
1392 //
1393 //*****************************************************************************
1394 // Field: [17:16] OTPPROTDIS
1395 //
1396 // Internal. Only to be used through TI provided API.
1397 #define FLASH_FBAC_OTPPROTDIS_W                                              2
1398 #define FLASH_FBAC_OTPPROTDIS_M                                     0x00030000
1399 #define FLASH_FBAC_OTPPROTDIS_S                                             16
1400 
1401 // Field:  [15:8] BAGP
1402 //
1403 // Internal. Only to be used through TI provided API.
1404 #define FLASH_FBAC_BAGP_W                                                    8
1405 #define FLASH_FBAC_BAGP_M                                           0x0000FF00
1406 #define FLASH_FBAC_BAGP_S                                                    8
1407 
1408 // Field:   [7:0] VREADS
1409 //
1410 // Internal. Only to be used through TI provided API.
1411 #define FLASH_FBAC_VREADS_W                                                  8
1412 #define FLASH_FBAC_VREADS_M                                         0x000000FF
1413 #define FLASH_FBAC_VREADS_S                                                  0
1414 
1415 //*****************************************************************************
1416 //
1417 // Register: FLASH_O_FBFALLBACK
1418 //
1419 //*****************************************************************************
1420 // Field: [27:24] FSM_PWRSAV
1421 //
1422 // Internal. Only to be used through TI provided API.
1423 #define FLASH_FBFALLBACK_FSM_PWRSAV_W                                        4
1424 #define FLASH_FBFALLBACK_FSM_PWRSAV_M                               0x0F000000
1425 #define FLASH_FBFALLBACK_FSM_PWRSAV_S                                       24
1426 
1427 // Field: [19:16] REG_PWRSAV
1428 //
1429 // Internal. Only to be used through TI provided API.
1430 #define FLASH_FBFALLBACK_REG_PWRSAV_W                                        4
1431 #define FLASH_FBFALLBACK_REG_PWRSAV_M                               0x000F0000
1432 #define FLASH_FBFALLBACK_REG_PWRSAV_S                                       16
1433 
1434 // Field: [15:14] BANKPWR7
1435 //
1436 // Internal. Only to be used through TI provided API.
1437 #define FLASH_FBFALLBACK_BANKPWR7_W                                          2
1438 #define FLASH_FBFALLBACK_BANKPWR7_M                                 0x0000C000
1439 #define FLASH_FBFALLBACK_BANKPWR7_S                                         14
1440 
1441 // Field: [13:12] BANKPWR6
1442 //
1443 // Internal. Only to be used through TI provided API.
1444 #define FLASH_FBFALLBACK_BANKPWR6_W                                          2
1445 #define FLASH_FBFALLBACK_BANKPWR6_M                                 0x00003000
1446 #define FLASH_FBFALLBACK_BANKPWR6_S                                         12
1447 
1448 // Field: [11:10] BANKPWR5
1449 //
1450 // Internal. Only to be used through TI provided API.
1451 #define FLASH_FBFALLBACK_BANKPWR5_W                                          2
1452 #define FLASH_FBFALLBACK_BANKPWR5_M                                 0x00000C00
1453 #define FLASH_FBFALLBACK_BANKPWR5_S                                         10
1454 
1455 // Field:   [9:8] BANKPWR4
1456 //
1457 // Internal. Only to be used through TI provided API.
1458 #define FLASH_FBFALLBACK_BANKPWR4_W                                          2
1459 #define FLASH_FBFALLBACK_BANKPWR4_M                                 0x00000300
1460 #define FLASH_FBFALLBACK_BANKPWR4_S                                          8
1461 
1462 // Field:   [7:6] BANKPWR3
1463 //
1464 // Internal. Only to be used through TI provided API.
1465 #define FLASH_FBFALLBACK_BANKPWR3_W                                          2
1466 #define FLASH_FBFALLBACK_BANKPWR3_M                                 0x000000C0
1467 #define FLASH_FBFALLBACK_BANKPWR3_S                                          6
1468 
1469 // Field:   [5:4] BANKPWR2
1470 //
1471 // Internal. Only to be used through TI provided API.
1472 #define FLASH_FBFALLBACK_BANKPWR2_W                                          2
1473 #define FLASH_FBFALLBACK_BANKPWR2_M                                 0x00000030
1474 #define FLASH_FBFALLBACK_BANKPWR2_S                                          4
1475 
1476 // Field:   [3:2] BANKPWR1
1477 //
1478 // Internal. Only to be used through TI provided API.
1479 #define FLASH_FBFALLBACK_BANKPWR1_W                                          2
1480 #define FLASH_FBFALLBACK_BANKPWR1_M                                 0x0000000C
1481 #define FLASH_FBFALLBACK_BANKPWR1_S                                          2
1482 
1483 // Field:   [1:0] BANKPWR0
1484 //
1485 // Internal. Only to be used through TI provided API.
1486 #define FLASH_FBFALLBACK_BANKPWR0_W                                          2
1487 #define FLASH_FBFALLBACK_BANKPWR0_M                                 0x00000003
1488 #define FLASH_FBFALLBACK_BANKPWR0_S                                          0
1489 
1490 //*****************************************************************************
1491 //
1492 // Register: FLASH_O_FBPRDY
1493 //
1494 //*****************************************************************************
1495 // Field: [17:16] BANKBUSY
1496 //
1497 // Internal. Only to be used through TI provided API.
1498 #define FLASH_FBPRDY_BANKBUSY_W                                              2
1499 #define FLASH_FBPRDY_BANKBUSY_M                                     0x00030000
1500 #define FLASH_FBPRDY_BANKBUSY_S                                             16
1501 
1502 // Field:    [15] PUMPRDY
1503 //
1504 // Internal. Only to be used through TI provided API.
1505 #define FLASH_FBPRDY_PUMPRDY                                        0x00008000
1506 #define FLASH_FBPRDY_PUMPRDY_BITN                                           15
1507 #define FLASH_FBPRDY_PUMPRDY_M                                      0x00008000
1508 #define FLASH_FBPRDY_PUMPRDY_S                                              15
1509 
1510 // Field:   [1:0] BANKRDY
1511 //
1512 // Internal. Only to be used through TI provided API.
1513 #define FLASH_FBPRDY_BANKRDY_W                                               2
1514 #define FLASH_FBPRDY_BANKRDY_M                                      0x00000003
1515 #define FLASH_FBPRDY_BANKRDY_S                                               0
1516 
1517 //*****************************************************************************
1518 //
1519 // Register: FLASH_O_FPAC1
1520 //
1521 //*****************************************************************************
1522 // Field: [27:16] PSLEEPTDIS
1523 //
1524 // Internal. Only to be used through TI provided API.
1525 #define FLASH_FPAC1_PSLEEPTDIS_W                                            12
1526 #define FLASH_FPAC1_PSLEEPTDIS_M                                    0x0FFF0000
1527 #define FLASH_FPAC1_PSLEEPTDIS_S                                            16
1528 
1529 // Field:  [15:4] PUMPRESET_PW
1530 //
1531 // Internal. Only to be used through TI provided API.
1532 #define FLASH_FPAC1_PUMPRESET_PW_W                                          12
1533 #define FLASH_FPAC1_PUMPRESET_PW_M                                  0x0000FFF0
1534 #define FLASH_FPAC1_PUMPRESET_PW_S                                           4
1535 
1536 // Field:   [1:0] PUMPPWR
1537 //
1538 // Internal. Only to be used through TI provided API.
1539 #define FLASH_FPAC1_PUMPPWR_W                                                2
1540 #define FLASH_FPAC1_PUMPPWR_M                                       0x00000003
1541 #define FLASH_FPAC1_PUMPPWR_S                                                0
1542 
1543 //*****************************************************************************
1544 //
1545 // Register: FLASH_O_FPAC2
1546 //
1547 //*****************************************************************************
1548 // Field:  [15:0] PAGP
1549 //
1550 // Internal. Only to be used through TI provided API.
1551 #define FLASH_FPAC2_PAGP_W                                                  16
1552 #define FLASH_FPAC2_PAGP_M                                          0x0000FFFF
1553 #define FLASH_FPAC2_PAGP_S                                                   0
1554 
1555 //*****************************************************************************
1556 //
1557 // Register: FLASH_O_FMAC
1558 //
1559 //*****************************************************************************
1560 // Field:   [2:0] BANK
1561 //
1562 // Internal. Only to be used through TI provided API.
1563 #define FLASH_FMAC_BANK_W                                                    3
1564 #define FLASH_FMAC_BANK_M                                           0x00000007
1565 #define FLASH_FMAC_BANK_S                                                    0
1566 
1567 //*****************************************************************************
1568 //
1569 // Register: FLASH_O_FMSTAT
1570 //
1571 //*****************************************************************************
1572 // Field:    [17] RVSUSP
1573 //
1574 // Internal. Only to be used through TI provided API.
1575 #define FLASH_FMSTAT_RVSUSP                                         0x00020000
1576 #define FLASH_FMSTAT_RVSUSP_BITN                                            17
1577 #define FLASH_FMSTAT_RVSUSP_M                                       0x00020000
1578 #define FLASH_FMSTAT_RVSUSP_S                                               17
1579 
1580 // Field:    [16] RDVER
1581 //
1582 // Internal. Only to be used through TI provided API.
1583 #define FLASH_FMSTAT_RDVER                                          0x00010000
1584 #define FLASH_FMSTAT_RDVER_BITN                                             16
1585 #define FLASH_FMSTAT_RDVER_M                                        0x00010000
1586 #define FLASH_FMSTAT_RDVER_S                                                16
1587 
1588 // Field:    [15] RVF
1589 //
1590 // Internal. Only to be used through TI provided API.
1591 #define FLASH_FMSTAT_RVF                                            0x00008000
1592 #define FLASH_FMSTAT_RVF_BITN                                               15
1593 #define FLASH_FMSTAT_RVF_M                                          0x00008000
1594 #define FLASH_FMSTAT_RVF_S                                                  15
1595 
1596 // Field:    [14] ILA
1597 //
1598 // Internal. Only to be used through TI provided API.
1599 #define FLASH_FMSTAT_ILA                                            0x00004000
1600 #define FLASH_FMSTAT_ILA_BITN                                               14
1601 #define FLASH_FMSTAT_ILA_M                                          0x00004000
1602 #define FLASH_FMSTAT_ILA_S                                                  14
1603 
1604 // Field:    [13] DBF
1605 //
1606 // Internal. Only to be used through TI provided API.
1607 #define FLASH_FMSTAT_DBF                                            0x00002000
1608 #define FLASH_FMSTAT_DBF_BITN                                               13
1609 #define FLASH_FMSTAT_DBF_M                                          0x00002000
1610 #define FLASH_FMSTAT_DBF_S                                                  13
1611 
1612 // Field:    [12] PGV
1613 //
1614 // Internal. Only to be used through TI provided API.
1615 #define FLASH_FMSTAT_PGV                                            0x00001000
1616 #define FLASH_FMSTAT_PGV_BITN                                               12
1617 #define FLASH_FMSTAT_PGV_M                                          0x00001000
1618 #define FLASH_FMSTAT_PGV_S                                                  12
1619 
1620 // Field:    [11] PCV
1621 //
1622 // Internal. Only to be used through TI provided API.
1623 #define FLASH_FMSTAT_PCV                                            0x00000800
1624 #define FLASH_FMSTAT_PCV_BITN                                               11
1625 #define FLASH_FMSTAT_PCV_M                                          0x00000800
1626 #define FLASH_FMSTAT_PCV_S                                                  11
1627 
1628 // Field:    [10] EV
1629 //
1630 // Internal. Only to be used through TI provided API.
1631 #define FLASH_FMSTAT_EV                                             0x00000400
1632 #define FLASH_FMSTAT_EV_BITN                                                10
1633 #define FLASH_FMSTAT_EV_M                                           0x00000400
1634 #define FLASH_FMSTAT_EV_S                                                   10
1635 
1636 // Field:     [9] CV
1637 //
1638 // Internal. Only to be used through TI provided API.
1639 #define FLASH_FMSTAT_CV                                             0x00000200
1640 #define FLASH_FMSTAT_CV_BITN                                                 9
1641 #define FLASH_FMSTAT_CV_M                                           0x00000200
1642 #define FLASH_FMSTAT_CV_S                                                    9
1643 
1644 // Field:     [8] BUSY
1645 //
1646 // Internal. Only to be used through TI provided API.
1647 #define FLASH_FMSTAT_BUSY                                           0x00000100
1648 #define FLASH_FMSTAT_BUSY_BITN                                               8
1649 #define FLASH_FMSTAT_BUSY_M                                         0x00000100
1650 #define FLASH_FMSTAT_BUSY_S                                                  8
1651 
1652 // Field:     [7] ERS
1653 //
1654 // Internal. Only to be used through TI provided API.
1655 #define FLASH_FMSTAT_ERS                                            0x00000080
1656 #define FLASH_FMSTAT_ERS_BITN                                                7
1657 #define FLASH_FMSTAT_ERS_M                                          0x00000080
1658 #define FLASH_FMSTAT_ERS_S                                                   7
1659 
1660 // Field:     [6] PGM
1661 //
1662 // Internal. Only to be used through TI provided API.
1663 #define FLASH_FMSTAT_PGM                                            0x00000040
1664 #define FLASH_FMSTAT_PGM_BITN                                                6
1665 #define FLASH_FMSTAT_PGM_M                                          0x00000040
1666 #define FLASH_FMSTAT_PGM_S                                                   6
1667 
1668 // Field:     [5] INVDAT
1669 //
1670 // Internal. Only to be used through TI provided API.
1671 #define FLASH_FMSTAT_INVDAT                                         0x00000020
1672 #define FLASH_FMSTAT_INVDAT_BITN                                             5
1673 #define FLASH_FMSTAT_INVDAT_M                                       0x00000020
1674 #define FLASH_FMSTAT_INVDAT_S                                                5
1675 
1676 // Field:     [4] CSTAT
1677 //
1678 // Internal. Only to be used through TI provided API.
1679 #define FLASH_FMSTAT_CSTAT                                          0x00000010
1680 #define FLASH_FMSTAT_CSTAT_BITN                                              4
1681 #define FLASH_FMSTAT_CSTAT_M                                        0x00000010
1682 #define FLASH_FMSTAT_CSTAT_S                                                 4
1683 
1684 // Field:     [3] VOLSTAT
1685 //
1686 // Internal. Only to be used through TI provided API.
1687 #define FLASH_FMSTAT_VOLSTAT                                        0x00000008
1688 #define FLASH_FMSTAT_VOLSTAT_BITN                                            3
1689 #define FLASH_FMSTAT_VOLSTAT_M                                      0x00000008
1690 #define FLASH_FMSTAT_VOLSTAT_S                                               3
1691 
1692 // Field:     [2] ESUSP
1693 //
1694 // Internal. Only to be used through TI provided API.
1695 #define FLASH_FMSTAT_ESUSP                                          0x00000004
1696 #define FLASH_FMSTAT_ESUSP_BITN                                              2
1697 #define FLASH_FMSTAT_ESUSP_M                                        0x00000004
1698 #define FLASH_FMSTAT_ESUSP_S                                                 2
1699 
1700 // Field:     [1] PSUSP
1701 //
1702 // Internal. Only to be used through TI provided API.
1703 #define FLASH_FMSTAT_PSUSP                                          0x00000002
1704 #define FLASH_FMSTAT_PSUSP_BITN                                              1
1705 #define FLASH_FMSTAT_PSUSP_M                                        0x00000002
1706 #define FLASH_FMSTAT_PSUSP_S                                                 1
1707 
1708 // Field:     [0] SLOCK
1709 //
1710 // Internal. Only to be used through TI provided API.
1711 #define FLASH_FMSTAT_SLOCK                                          0x00000001
1712 #define FLASH_FMSTAT_SLOCK_BITN                                              0
1713 #define FLASH_FMSTAT_SLOCK_M                                        0x00000001
1714 #define FLASH_FMSTAT_SLOCK_S                                                 0
1715 
1716 //*****************************************************************************
1717 //
1718 // Register: FLASH_O_FLOCK
1719 //
1720 //*****************************************************************************
1721 // Field:  [15:0] ENCOM
1722 //
1723 // Internal. Only to be used through TI provided API.
1724 #define FLASH_FLOCK_ENCOM_W                                                 16
1725 #define FLASH_FLOCK_ENCOM_M                                         0x0000FFFF
1726 #define FLASH_FLOCK_ENCOM_S                                                  0
1727 
1728 //*****************************************************************************
1729 //
1730 // Register: FLASH_O_FVREADCT
1731 //
1732 //*****************************************************************************
1733 // Field:   [3:0] VREADCT
1734 //
1735 // Internal. Only to be used through TI provided API.
1736 #define FLASH_FVREADCT_VREADCT_W                                             4
1737 #define FLASH_FVREADCT_VREADCT_M                                    0x0000000F
1738 #define FLASH_FVREADCT_VREADCT_S                                             0
1739 
1740 //*****************************************************************************
1741 //
1742 // Register: FLASH_O_FVHVCT1
1743 //
1744 //*****************************************************************************
1745 // Field: [23:20] TRIM13_E
1746 //
1747 // Internal. Only to be used through TI provided API.
1748 #define FLASH_FVHVCT1_TRIM13_E_W                                             4
1749 #define FLASH_FVHVCT1_TRIM13_E_M                                    0x00F00000
1750 #define FLASH_FVHVCT1_TRIM13_E_S                                            20
1751 
1752 // Field: [19:16] VHVCT_E
1753 //
1754 // Internal. Only to be used through TI provided API.
1755 #define FLASH_FVHVCT1_VHVCT_E_W                                              4
1756 #define FLASH_FVHVCT1_VHVCT_E_M                                     0x000F0000
1757 #define FLASH_FVHVCT1_VHVCT_E_S                                             16
1758 
1759 // Field:   [7:4] TRIM13_PV
1760 //
1761 // Internal. Only to be used through TI provided API.
1762 #define FLASH_FVHVCT1_TRIM13_PV_W                                            4
1763 #define FLASH_FVHVCT1_TRIM13_PV_M                                   0x000000F0
1764 #define FLASH_FVHVCT1_TRIM13_PV_S                                            4
1765 
1766 // Field:   [3:0] VHVCT_PV
1767 //
1768 // Internal. Only to be used through TI provided API.
1769 #define FLASH_FVHVCT1_VHVCT_PV_W                                             4
1770 #define FLASH_FVHVCT1_VHVCT_PV_M                                    0x0000000F
1771 #define FLASH_FVHVCT1_VHVCT_PV_S                                             0
1772 
1773 //*****************************************************************************
1774 //
1775 // Register: FLASH_O_FVHVCT2
1776 //
1777 //*****************************************************************************
1778 // Field: [23:20] TRIM13_P
1779 //
1780 // Internal. Only to be used through TI provided API.
1781 #define FLASH_FVHVCT2_TRIM13_P_W                                             4
1782 #define FLASH_FVHVCT2_TRIM13_P_M                                    0x00F00000
1783 #define FLASH_FVHVCT2_TRIM13_P_S                                            20
1784 
1785 // Field: [19:16] VHVCT_P
1786 //
1787 // Internal. Only to be used through TI provided API.
1788 #define FLASH_FVHVCT2_VHVCT_P_W                                              4
1789 #define FLASH_FVHVCT2_VHVCT_P_M                                     0x000F0000
1790 #define FLASH_FVHVCT2_VHVCT_P_S                                             16
1791 
1792 //*****************************************************************************
1793 //
1794 // Register: FLASH_O_FVHVCT3
1795 //
1796 //*****************************************************************************
1797 // Field: [19:16] WCT
1798 //
1799 // Internal. Only to be used through TI provided API.
1800 #define FLASH_FVHVCT3_WCT_W                                                  4
1801 #define FLASH_FVHVCT3_WCT_M                                         0x000F0000
1802 #define FLASH_FVHVCT3_WCT_S                                                 16
1803 
1804 // Field:   [3:0] VHVCT_READ
1805 //
1806 // Internal. Only to be used through TI provided API.
1807 #define FLASH_FVHVCT3_VHVCT_READ_W                                           4
1808 #define FLASH_FVHVCT3_VHVCT_READ_M                                  0x0000000F
1809 #define FLASH_FVHVCT3_VHVCT_READ_S                                           0
1810 
1811 //*****************************************************************************
1812 //
1813 // Register: FLASH_O_FVNVCT
1814 //
1815 //*****************************************************************************
1816 // Field:  [12:8] VCG2P5CT
1817 //
1818 // Internal. Only to be used through TI provided API.
1819 #define FLASH_FVNVCT_VCG2P5CT_W                                              5
1820 #define FLASH_FVNVCT_VCG2P5CT_M                                     0x00001F00
1821 #define FLASH_FVNVCT_VCG2P5CT_S                                              8
1822 
1823 // Field:   [4:0] VIN_CT
1824 //
1825 // Internal. Only to be used through TI provided API.
1826 #define FLASH_FVNVCT_VIN_CT_W                                                5
1827 #define FLASH_FVNVCT_VIN_CT_M                                       0x0000001F
1828 #define FLASH_FVNVCT_VIN_CT_S                                                0
1829 
1830 //*****************************************************************************
1831 //
1832 // Register: FLASH_O_FVSLP
1833 //
1834 //*****************************************************************************
1835 // Field: [15:12] VSL_P
1836 //
1837 // Internal. Only to be used through TI provided API.
1838 #define FLASH_FVSLP_VSL_P_W                                                  4
1839 #define FLASH_FVSLP_VSL_P_M                                         0x0000F000
1840 #define FLASH_FVSLP_VSL_P_S                                                 12
1841 
1842 //*****************************************************************************
1843 //
1844 // Register: FLASH_O_FVWLCT
1845 //
1846 //*****************************************************************************
1847 // Field:   [4:0] VWLCT_P
1848 //
1849 // Internal. Only to be used through TI provided API.
1850 #define FLASH_FVWLCT_VWLCT_P_W                                               5
1851 #define FLASH_FVWLCT_VWLCT_P_M                                      0x0000001F
1852 #define FLASH_FVWLCT_VWLCT_P_S                                               0
1853 
1854 //*****************************************************************************
1855 //
1856 // Register: FLASH_O_FEFUSECTL
1857 //
1858 //*****************************************************************************
1859 // Field: [26:24] CHAIN_SEL
1860 //
1861 // Internal. Only to be used through TI provided API.
1862 #define FLASH_FEFUSECTL_CHAIN_SEL_W                                          3
1863 #define FLASH_FEFUSECTL_CHAIN_SEL_M                                 0x07000000
1864 #define FLASH_FEFUSECTL_CHAIN_SEL_S                                         24
1865 
1866 // Field:    [17] WRITE_EN
1867 //
1868 // Internal. Only to be used through TI provided API.
1869 #define FLASH_FEFUSECTL_WRITE_EN                                    0x00020000
1870 #define FLASH_FEFUSECTL_WRITE_EN_BITN                                       17
1871 #define FLASH_FEFUSECTL_WRITE_EN_M                                  0x00020000
1872 #define FLASH_FEFUSECTL_WRITE_EN_S                                          17
1873 
1874 // Field:    [16] BP_SEL
1875 //
1876 // Internal. Only to be used through TI provided API.
1877 #define FLASH_FEFUSECTL_BP_SEL                                      0x00010000
1878 #define FLASH_FEFUSECTL_BP_SEL_BITN                                         16
1879 #define FLASH_FEFUSECTL_BP_SEL_M                                    0x00010000
1880 #define FLASH_FEFUSECTL_BP_SEL_S                                            16
1881 
1882 // Field:     [8] EF_CLRZ
1883 //
1884 // Internal. Only to be used through TI provided API.
1885 #define FLASH_FEFUSECTL_EF_CLRZ                                     0x00000100
1886 #define FLASH_FEFUSECTL_EF_CLRZ_BITN                                         8
1887 #define FLASH_FEFUSECTL_EF_CLRZ_M                                   0x00000100
1888 #define FLASH_FEFUSECTL_EF_CLRZ_S                                            8
1889 
1890 // Field:     [4] EF_TEST
1891 //
1892 // Internal. Only to be used through TI provided API.
1893 #define FLASH_FEFUSECTL_EF_TEST                                     0x00000010
1894 #define FLASH_FEFUSECTL_EF_TEST_BITN                                         4
1895 #define FLASH_FEFUSECTL_EF_TEST_M                                   0x00000010
1896 #define FLASH_FEFUSECTL_EF_TEST_S                                            4
1897 
1898 // Field:   [3:0] EFUSE_EN
1899 //
1900 // Internal. Only to be used through TI provided API.
1901 #define FLASH_FEFUSECTL_EFUSE_EN_W                                           4
1902 #define FLASH_FEFUSECTL_EFUSE_EN_M                                  0x0000000F
1903 #define FLASH_FEFUSECTL_EFUSE_EN_S                                           0
1904 
1905 //*****************************************************************************
1906 //
1907 // Register: FLASH_O_FEFUSESTAT
1908 //
1909 //*****************************************************************************
1910 // Field:     [0] SHIFT_DONE
1911 //
1912 // Internal. Only to be used through TI provided API.
1913 #define FLASH_FEFUSESTAT_SHIFT_DONE                                 0x00000001
1914 #define FLASH_FEFUSESTAT_SHIFT_DONE_BITN                                     0
1915 #define FLASH_FEFUSESTAT_SHIFT_DONE_M                               0x00000001
1916 #define FLASH_FEFUSESTAT_SHIFT_DONE_S                                        0
1917 
1918 //*****************************************************************************
1919 //
1920 // Register: FLASH_O_FEFUSEDATA
1921 //
1922 //*****************************************************************************
1923 // Field:  [31:0] FEFUSEDATA
1924 //
1925 // Internal. Only to be used through TI provided API.
1926 #define FLASH_FEFUSEDATA_FEFUSEDATA_W                                       32
1927 #define FLASH_FEFUSEDATA_FEFUSEDATA_M                               0xFFFFFFFF
1928 #define FLASH_FEFUSEDATA_FEFUSEDATA_S                                        0
1929 
1930 //*****************************************************************************
1931 //
1932 // Register: FLASH_O_FSEQPMP
1933 //
1934 //*****************************************************************************
1935 // Field: [27:24] TRIM_3P4
1936 //
1937 // Internal. Only to be used through TI provided API.
1938 #define FLASH_FSEQPMP_TRIM_3P4_W                                             4
1939 #define FLASH_FSEQPMP_TRIM_3P4_M                                    0x0F000000
1940 #define FLASH_FSEQPMP_TRIM_3P4_S                                            24
1941 
1942 // Field: [21:20] TRIM_1P7
1943 //
1944 // Internal. Only to be used through TI provided API.
1945 #define FLASH_FSEQPMP_TRIM_1P7_W                                             2
1946 #define FLASH_FSEQPMP_TRIM_1P7_M                                    0x00300000
1947 #define FLASH_FSEQPMP_TRIM_1P7_S                                            20
1948 
1949 // Field: [19:16] TRIM_0P8
1950 //
1951 // Internal. Only to be used through TI provided API.
1952 #define FLASH_FSEQPMP_TRIM_0P8_W                                             4
1953 #define FLASH_FSEQPMP_TRIM_0P8_M                                    0x000F0000
1954 #define FLASH_FSEQPMP_TRIM_0P8_S                                            16
1955 
1956 // Field: [14:12] VIN_AT_X
1957 //
1958 // Internal. Only to be used through TI provided API.
1959 #define FLASH_FSEQPMP_VIN_AT_X_W                                             3
1960 #define FLASH_FSEQPMP_VIN_AT_X_M                                    0x00007000
1961 #define FLASH_FSEQPMP_VIN_AT_X_S                                            12
1962 
1963 // Field:     [8] VIN_BY_PASS
1964 //
1965 // Internal. Only to be used through TI provided API.
1966 #define FLASH_FSEQPMP_VIN_BY_PASS                                   0x00000100
1967 #define FLASH_FSEQPMP_VIN_BY_PASS_BITN                                       8
1968 #define FLASH_FSEQPMP_VIN_BY_PASS_M                                 0x00000100
1969 #define FLASH_FSEQPMP_VIN_BY_PASS_S                                          8
1970 
1971 //*****************************************************************************
1972 //
1973 // Register: FLASH_O_FBSTROBES
1974 //
1975 //*****************************************************************************
1976 // Field:    [24] ECBIT
1977 //
1978 // Internal. Only to be used through TI provided API.
1979 #define FLASH_FBSTROBES_ECBIT                                       0x01000000
1980 #define FLASH_FBSTROBES_ECBIT_BITN                                          24
1981 #define FLASH_FBSTROBES_ECBIT_M                                     0x01000000
1982 #define FLASH_FBSTROBES_ECBIT_S                                             24
1983 
1984 // Field:    [18] RWAIT2_FLCLK
1985 //
1986 // Internal. Only to be used through TI provided API.
1987 #define FLASH_FBSTROBES_RWAIT2_FLCLK                                0x00040000
1988 #define FLASH_FBSTROBES_RWAIT2_FLCLK_BITN                                   18
1989 #define FLASH_FBSTROBES_RWAIT2_FLCLK_M                              0x00040000
1990 #define FLASH_FBSTROBES_RWAIT2_FLCLK_S                                      18
1991 
1992 // Field:    [17] RWAIT_FLCLK
1993 //
1994 // Internal. Only to be used through TI provided API.
1995 #define FLASH_FBSTROBES_RWAIT_FLCLK                                 0x00020000
1996 #define FLASH_FBSTROBES_RWAIT_FLCLK_BITN                                    17
1997 #define FLASH_FBSTROBES_RWAIT_FLCLK_M                               0x00020000
1998 #define FLASH_FBSTROBES_RWAIT_FLCLK_S                                       17
1999 
2000 // Field:    [16] FLCLKEN
2001 //
2002 // Internal. Only to be used through TI provided API.
2003 #define FLASH_FBSTROBES_FLCLKEN                                     0x00010000
2004 #define FLASH_FBSTROBES_FLCLKEN_BITN                                        16
2005 #define FLASH_FBSTROBES_FLCLKEN_M                                   0x00010000
2006 #define FLASH_FBSTROBES_FLCLKEN_S                                           16
2007 
2008 // Field:     [8] CTRLENZ
2009 //
2010 // Internal. Only to be used through TI provided API.
2011 #define FLASH_FBSTROBES_CTRLENZ                                     0x00000100
2012 #define FLASH_FBSTROBES_CTRLENZ_BITN                                         8
2013 #define FLASH_FBSTROBES_CTRLENZ_M                                   0x00000100
2014 #define FLASH_FBSTROBES_CTRLENZ_S                                            8
2015 
2016 // Field:     [6] NOCOLRED
2017 //
2018 // Internal. Only to be used through TI provided API.
2019 #define FLASH_FBSTROBES_NOCOLRED                                    0x00000040
2020 #define FLASH_FBSTROBES_NOCOLRED_BITN                                        6
2021 #define FLASH_FBSTROBES_NOCOLRED_M                                  0x00000040
2022 #define FLASH_FBSTROBES_NOCOLRED_S                                           6
2023 
2024 // Field:     [5] PRECOL
2025 //
2026 // Internal. Only to be used through TI provided API.
2027 #define FLASH_FBSTROBES_PRECOL                                      0x00000020
2028 #define FLASH_FBSTROBES_PRECOL_BITN                                          5
2029 #define FLASH_FBSTROBES_PRECOL_M                                    0x00000020
2030 #define FLASH_FBSTROBES_PRECOL_S                                             5
2031 
2032 // Field:     [4] TI_OTP
2033 //
2034 // Internal. Only to be used through TI provided API.
2035 #define FLASH_FBSTROBES_TI_OTP                                      0x00000010
2036 #define FLASH_FBSTROBES_TI_OTP_BITN                                          4
2037 #define FLASH_FBSTROBES_TI_OTP_M                                    0x00000010
2038 #define FLASH_FBSTROBES_TI_OTP_S                                             4
2039 
2040 // Field:     [3] OTP
2041 //
2042 // Internal. Only to be used through TI provided API.
2043 #define FLASH_FBSTROBES_OTP                                         0x00000008
2044 #define FLASH_FBSTROBES_OTP_BITN                                             3
2045 #define FLASH_FBSTROBES_OTP_M                                       0x00000008
2046 #define FLASH_FBSTROBES_OTP_S                                                3
2047 
2048 // Field:     [2] TEZ
2049 //
2050 // Internal. Only to be used through TI provided API.
2051 #define FLASH_FBSTROBES_TEZ                                         0x00000004
2052 #define FLASH_FBSTROBES_TEZ_BITN                                             2
2053 #define FLASH_FBSTROBES_TEZ_M                                       0x00000004
2054 #define FLASH_FBSTROBES_TEZ_S                                                2
2055 
2056 //*****************************************************************************
2057 //
2058 // Register: FLASH_O_FPSTROBES
2059 //
2060 //*****************************************************************************
2061 // Field:     [8] EXECUTEZ
2062 //
2063 // Internal. Only to be used through TI provided API.
2064 #define FLASH_FPSTROBES_EXECUTEZ                                    0x00000100
2065 #define FLASH_FPSTROBES_EXECUTEZ_BITN                                        8
2066 #define FLASH_FPSTROBES_EXECUTEZ_M                                  0x00000100
2067 #define FLASH_FPSTROBES_EXECUTEZ_S                                           8
2068 
2069 // Field:     [1] V3PWRDNZ
2070 //
2071 // Internal. Only to be used through TI provided API.
2072 #define FLASH_FPSTROBES_V3PWRDNZ                                    0x00000002
2073 #define FLASH_FPSTROBES_V3PWRDNZ_BITN                                        1
2074 #define FLASH_FPSTROBES_V3PWRDNZ_M                                  0x00000002
2075 #define FLASH_FPSTROBES_V3PWRDNZ_S                                           1
2076 
2077 // Field:     [0] V5PWRDNZ
2078 //
2079 // Internal. Only to be used through TI provided API.
2080 #define FLASH_FPSTROBES_V5PWRDNZ                                    0x00000001
2081 #define FLASH_FPSTROBES_V5PWRDNZ_BITN                                        0
2082 #define FLASH_FPSTROBES_V5PWRDNZ_M                                  0x00000001
2083 #define FLASH_FPSTROBES_V5PWRDNZ_S                                           0
2084 
2085 //*****************************************************************************
2086 //
2087 // Register: FLASH_O_FBMODE
2088 //
2089 //*****************************************************************************
2090 // Field:   [2:0] MODE
2091 //
2092 // Internal. Only to be used through TI provided API.
2093 #define FLASH_FBMODE_MODE_W                                                  3
2094 #define FLASH_FBMODE_MODE_M                                         0x00000007
2095 #define FLASH_FBMODE_MODE_S                                                  0
2096 
2097 //*****************************************************************************
2098 //
2099 // Register: FLASH_O_FTCR
2100 //
2101 //*****************************************************************************
2102 // Field:   [6:0] TCR
2103 //
2104 // Internal. Only to be used through TI provided API.
2105 #define FLASH_FTCR_TCR_W                                                     7
2106 #define FLASH_FTCR_TCR_M                                            0x0000007F
2107 #define FLASH_FTCR_TCR_S                                                     0
2108 
2109 //*****************************************************************************
2110 //
2111 // Register: FLASH_O_FADDR
2112 //
2113 //*****************************************************************************
2114 // Field:  [31:0] FADDR
2115 //
2116 // Internal. Only to be used through TI provided API.
2117 #define FLASH_FADDR_FADDR_W                                                 32
2118 #define FLASH_FADDR_FADDR_M                                         0xFFFFFFFF
2119 #define FLASH_FADDR_FADDR_S                                                  0
2120 
2121 //*****************************************************************************
2122 //
2123 // Register: FLASH_O_FTCTL
2124 //
2125 //*****************************************************************************
2126 // Field:    [16] WDATA_BLK_CLR
2127 //
2128 // Internal. Only to be used through TI provided API.
2129 #define FLASH_FTCTL_WDATA_BLK_CLR                                   0x00010000
2130 #define FLASH_FTCTL_WDATA_BLK_CLR_BITN                                      16
2131 #define FLASH_FTCTL_WDATA_BLK_CLR_M                                 0x00010000
2132 #define FLASH_FTCTL_WDATA_BLK_CLR_S                                         16
2133 
2134 // Field:     [1] TEST_EN
2135 //
2136 // Internal. Only to be used through TI provided API.
2137 #define FLASH_FTCTL_TEST_EN                                         0x00000002
2138 #define FLASH_FTCTL_TEST_EN_BITN                                             1
2139 #define FLASH_FTCTL_TEST_EN_M                                       0x00000002
2140 #define FLASH_FTCTL_TEST_EN_S                                                1
2141 
2142 //*****************************************************************************
2143 //
2144 // Register: FLASH_O_FWPWRITE0
2145 //
2146 //*****************************************************************************
2147 // Field:  [31:0] FWPWRITE0
2148 //
2149 // Internal. Only to be used through TI provided API.
2150 #define FLASH_FWPWRITE0_FWPWRITE0_W                                         32
2151 #define FLASH_FWPWRITE0_FWPWRITE0_M                                 0xFFFFFFFF
2152 #define FLASH_FWPWRITE0_FWPWRITE0_S                                          0
2153 
2154 //*****************************************************************************
2155 //
2156 // Register: FLASH_O_FWPWRITE1
2157 //
2158 //*****************************************************************************
2159 // Field:  [31:0] FWPWRITE1
2160 //
2161 // Internal. Only to be used through TI provided API.
2162 #define FLASH_FWPWRITE1_FWPWRITE1_W                                         32
2163 #define FLASH_FWPWRITE1_FWPWRITE1_M                                 0xFFFFFFFF
2164 #define FLASH_FWPWRITE1_FWPWRITE1_S                                          0
2165 
2166 //*****************************************************************************
2167 //
2168 // Register: FLASH_O_FWPWRITE2
2169 //
2170 //*****************************************************************************
2171 // Field:  [31:0] FWPWRITE2
2172 //
2173 // Internal. Only to be used through TI provided API.
2174 #define FLASH_FWPWRITE2_FWPWRITE2_W                                         32
2175 #define FLASH_FWPWRITE2_FWPWRITE2_M                                 0xFFFFFFFF
2176 #define FLASH_FWPWRITE2_FWPWRITE2_S                                          0
2177 
2178 //*****************************************************************************
2179 //
2180 // Register: FLASH_O_FWPWRITE3
2181 //
2182 //*****************************************************************************
2183 // Field:  [31:0] FWPWRITE3
2184 //
2185 // Internal. Only to be used through TI provided API.
2186 #define FLASH_FWPWRITE3_FWPWRITE3_W                                         32
2187 #define FLASH_FWPWRITE3_FWPWRITE3_M                                 0xFFFFFFFF
2188 #define FLASH_FWPWRITE3_FWPWRITE3_S                                          0
2189 
2190 //*****************************************************************************
2191 //
2192 // Register: FLASH_O_FWPWRITE4
2193 //
2194 //*****************************************************************************
2195 // Field:  [31:0] FWPWRITE4
2196 //
2197 // Internal. Only to be used through TI provided API.
2198 #define FLASH_FWPWRITE4_FWPWRITE4_W                                         32
2199 #define FLASH_FWPWRITE4_FWPWRITE4_M                                 0xFFFFFFFF
2200 #define FLASH_FWPWRITE4_FWPWRITE4_S                                          0
2201 
2202 //*****************************************************************************
2203 //
2204 // Register: FLASH_O_FWPWRITE5
2205 //
2206 //*****************************************************************************
2207 // Field:  [31:0] FWPWRITE5
2208 //
2209 // Internal. Only to be used through TI provided API.
2210 #define FLASH_FWPWRITE5_FWPWRITE5_W                                         32
2211 #define FLASH_FWPWRITE5_FWPWRITE5_M                                 0xFFFFFFFF
2212 #define FLASH_FWPWRITE5_FWPWRITE5_S                                          0
2213 
2214 //*****************************************************************************
2215 //
2216 // Register: FLASH_O_FWPWRITE6
2217 //
2218 //*****************************************************************************
2219 // Field:  [31:0] FWPWRITE6
2220 //
2221 // Internal. Only to be used through TI provided API.
2222 #define FLASH_FWPWRITE6_FWPWRITE6_W                                         32
2223 #define FLASH_FWPWRITE6_FWPWRITE6_M                                 0xFFFFFFFF
2224 #define FLASH_FWPWRITE6_FWPWRITE6_S                                          0
2225 
2226 //*****************************************************************************
2227 //
2228 // Register: FLASH_O_FWPWRITE7
2229 //
2230 //*****************************************************************************
2231 // Field:  [31:0] FWPWRITE7
2232 //
2233 // Internal. Only to be used through TI provided API.
2234 #define FLASH_FWPWRITE7_FWPWRITE7_W                                         32
2235 #define FLASH_FWPWRITE7_FWPWRITE7_M                                 0xFFFFFFFF
2236 #define FLASH_FWPWRITE7_FWPWRITE7_S                                          0
2237 
2238 //*****************************************************************************
2239 //
2240 // Register: FLASH_O_FWPWRITE_ECC
2241 //
2242 //*****************************************************************************
2243 // Field: [31:24] ECCBYTES07_00
2244 //
2245 // Internal. Only to be used through TI provided API.
2246 #define FLASH_FWPWRITE_ECC_ECCBYTES07_00_W                                   8
2247 #define FLASH_FWPWRITE_ECC_ECCBYTES07_00_M                          0xFF000000
2248 #define FLASH_FWPWRITE_ECC_ECCBYTES07_00_S                                  24
2249 
2250 // Field: [23:16] ECCBYTES15_08
2251 //
2252 // Internal. Only to be used through TI provided API.
2253 #define FLASH_FWPWRITE_ECC_ECCBYTES15_08_W                                   8
2254 #define FLASH_FWPWRITE_ECC_ECCBYTES15_08_M                          0x00FF0000
2255 #define FLASH_FWPWRITE_ECC_ECCBYTES15_08_S                                  16
2256 
2257 // Field:  [15:8] ECCBYTES23_16
2258 //
2259 // Internal. Only to be used through TI provided API.
2260 #define FLASH_FWPWRITE_ECC_ECCBYTES23_16_W                                   8
2261 #define FLASH_FWPWRITE_ECC_ECCBYTES23_16_M                          0x0000FF00
2262 #define FLASH_FWPWRITE_ECC_ECCBYTES23_16_S                                   8
2263 
2264 // Field:   [7:0] ECCBYTES31_24
2265 //
2266 // Internal. Only to be used through TI provided API.
2267 #define FLASH_FWPWRITE_ECC_ECCBYTES31_24_W                                   8
2268 #define FLASH_FWPWRITE_ECC_ECCBYTES31_24_M                          0x000000FF
2269 #define FLASH_FWPWRITE_ECC_ECCBYTES31_24_S                                   0
2270 
2271 //*****************************************************************************
2272 //
2273 // Register: FLASH_O_FSWSTAT
2274 //
2275 //*****************************************************************************
2276 // Field:     [0] SAFELV
2277 //
2278 // Internal. Only to be used through TI provided API.
2279 #define FLASH_FSWSTAT_SAFELV                                        0x00000001
2280 #define FLASH_FSWSTAT_SAFELV_BITN                                            0
2281 #define FLASH_FSWSTAT_SAFELV_M                                      0x00000001
2282 #define FLASH_FSWSTAT_SAFELV_S                                               0
2283 
2284 //*****************************************************************************
2285 //
2286 // Register: FLASH_O_FSM_GLBCTL
2287 //
2288 //*****************************************************************************
2289 // Field:     [0] CLKSEL
2290 //
2291 // Internal. Only to be used through TI provided API.
2292 #define FLASH_FSM_GLBCTL_CLKSEL                                     0x00000001
2293 #define FLASH_FSM_GLBCTL_CLKSEL_BITN                                         0
2294 #define FLASH_FSM_GLBCTL_CLKSEL_M                                   0x00000001
2295 #define FLASH_FSM_GLBCTL_CLKSEL_S                                            0
2296 
2297 //*****************************************************************************
2298 //
2299 // Register: FLASH_O_FSM_STATE
2300 //
2301 //*****************************************************************************
2302 // Field:    [11] CTRLENZ
2303 //
2304 // Internal. Only to be used through TI provided API.
2305 #define FLASH_FSM_STATE_CTRLENZ                                     0x00000800
2306 #define FLASH_FSM_STATE_CTRLENZ_BITN                                        11
2307 #define FLASH_FSM_STATE_CTRLENZ_M                                   0x00000800
2308 #define FLASH_FSM_STATE_CTRLENZ_S                                           11
2309 
2310 // Field:    [10] EXECUTEZ
2311 //
2312 // Internal. Only to be used through TI provided API.
2313 #define FLASH_FSM_STATE_EXECUTEZ                                    0x00000400
2314 #define FLASH_FSM_STATE_EXECUTEZ_BITN                                       10
2315 #define FLASH_FSM_STATE_EXECUTEZ_M                                  0x00000400
2316 #define FLASH_FSM_STATE_EXECUTEZ_S                                          10
2317 
2318 // Field:     [8] FSM_ACT
2319 //
2320 // Internal. Only to be used through TI provided API.
2321 #define FLASH_FSM_STATE_FSM_ACT                                     0x00000100
2322 #define FLASH_FSM_STATE_FSM_ACT_BITN                                         8
2323 #define FLASH_FSM_STATE_FSM_ACT_M                                   0x00000100
2324 #define FLASH_FSM_STATE_FSM_ACT_S                                            8
2325 
2326 // Field:     [7] TIOTP_ACT
2327 //
2328 // Internal. Only to be used through TI provided API.
2329 #define FLASH_FSM_STATE_TIOTP_ACT                                   0x00000080
2330 #define FLASH_FSM_STATE_TIOTP_ACT_BITN                                       7
2331 #define FLASH_FSM_STATE_TIOTP_ACT_M                                 0x00000080
2332 #define FLASH_FSM_STATE_TIOTP_ACT_S                                          7
2333 
2334 // Field:     [6] OTP_ACT
2335 //
2336 // Internal. Only to be used through TI provided API.
2337 #define FLASH_FSM_STATE_OTP_ACT                                     0x00000040
2338 #define FLASH_FSM_STATE_OTP_ACT_BITN                                         6
2339 #define FLASH_FSM_STATE_OTP_ACT_M                                   0x00000040
2340 #define FLASH_FSM_STATE_OTP_ACT_S                                            6
2341 
2342 //*****************************************************************************
2343 //
2344 // Register: FLASH_O_FSM_STAT
2345 //
2346 //*****************************************************************************
2347 // Field:     [2] NON_OP
2348 //
2349 // Internal. Only to be used through TI provided API.
2350 #define FLASH_FSM_STAT_NON_OP                                       0x00000004
2351 #define FLASH_FSM_STAT_NON_OP_BITN                                           2
2352 #define FLASH_FSM_STAT_NON_OP_M                                     0x00000004
2353 #define FLASH_FSM_STAT_NON_OP_S                                              2
2354 
2355 // Field:     [1] OVR_PUL_CNT
2356 //
2357 // Internal. Only to be used through TI provided API.
2358 #define FLASH_FSM_STAT_OVR_PUL_CNT                                  0x00000002
2359 #define FLASH_FSM_STAT_OVR_PUL_CNT_BITN                                      1
2360 #define FLASH_FSM_STAT_OVR_PUL_CNT_M                                0x00000002
2361 #define FLASH_FSM_STAT_OVR_PUL_CNT_S                                         1
2362 
2363 // Field:     [0] INV_DAT
2364 //
2365 // Internal. Only to be used through TI provided API.
2366 #define FLASH_FSM_STAT_INV_DAT                                      0x00000001
2367 #define FLASH_FSM_STAT_INV_DAT_BITN                                          0
2368 #define FLASH_FSM_STAT_INV_DAT_M                                    0x00000001
2369 #define FLASH_FSM_STAT_INV_DAT_S                                             0
2370 
2371 //*****************************************************************************
2372 //
2373 // Register: FLASH_O_FSM_CMD
2374 //
2375 //*****************************************************************************
2376 // Field:   [5:0] FSMCMD
2377 //
2378 // Internal. Only to be used through TI provided API.
2379 #define FLASH_FSM_CMD_FSMCMD_W                                               6
2380 #define FLASH_FSM_CMD_FSMCMD_M                                      0x0000003F
2381 #define FLASH_FSM_CMD_FSMCMD_S                                               0
2382 
2383 //*****************************************************************************
2384 //
2385 // Register: FLASH_O_FSM_PE_OSU
2386 //
2387 //*****************************************************************************
2388 // Field:  [15:8] PGM_OSU
2389 //
2390 // Internal. Only to be used through TI provided API.
2391 #define FLASH_FSM_PE_OSU_PGM_OSU_W                                           8
2392 #define FLASH_FSM_PE_OSU_PGM_OSU_M                                  0x0000FF00
2393 #define FLASH_FSM_PE_OSU_PGM_OSU_S                                           8
2394 
2395 // Field:   [7:0] ERA_OSU
2396 //
2397 // Internal. Only to be used through TI provided API.
2398 #define FLASH_FSM_PE_OSU_ERA_OSU_W                                           8
2399 #define FLASH_FSM_PE_OSU_ERA_OSU_M                                  0x000000FF
2400 #define FLASH_FSM_PE_OSU_ERA_OSU_S                                           0
2401 
2402 //*****************************************************************************
2403 //
2404 // Register: FLASH_O_FSM_VSTAT
2405 //
2406 //*****************************************************************************
2407 // Field: [15:12] VSTAT_CNT
2408 //
2409 // Internal. Only to be used through TI provided API.
2410 #define FLASH_FSM_VSTAT_VSTAT_CNT_W                                          4
2411 #define FLASH_FSM_VSTAT_VSTAT_CNT_M                                 0x0000F000
2412 #define FLASH_FSM_VSTAT_VSTAT_CNT_S                                         12
2413 
2414 //*****************************************************************************
2415 //
2416 // Register: FLASH_O_FSM_PE_VSU
2417 //
2418 //*****************************************************************************
2419 // Field:  [15:8] PGM_VSU
2420 //
2421 // Internal. Only to be used through TI provided API.
2422 #define FLASH_FSM_PE_VSU_PGM_VSU_W                                           8
2423 #define FLASH_FSM_PE_VSU_PGM_VSU_M                                  0x0000FF00
2424 #define FLASH_FSM_PE_VSU_PGM_VSU_S                                           8
2425 
2426 // Field:   [7:0] ERA_VSU
2427 //
2428 // Internal. Only to be used through TI provided API.
2429 #define FLASH_FSM_PE_VSU_ERA_VSU_W                                           8
2430 #define FLASH_FSM_PE_VSU_ERA_VSU_M                                  0x000000FF
2431 #define FLASH_FSM_PE_VSU_ERA_VSU_S                                           0
2432 
2433 //*****************************************************************************
2434 //
2435 // Register: FLASH_O_FSM_CMP_VSU
2436 //
2437 //*****************************************************************************
2438 // Field: [15:12] ADD_EXZ
2439 //
2440 // Internal. Only to be used through TI provided API.
2441 #define FLASH_FSM_CMP_VSU_ADD_EXZ_W                                          4
2442 #define FLASH_FSM_CMP_VSU_ADD_EXZ_M                                 0x0000F000
2443 #define FLASH_FSM_CMP_VSU_ADD_EXZ_S                                         12
2444 
2445 //*****************************************************************************
2446 //
2447 // Register: FLASH_O_FSM_EX_VAL
2448 //
2449 //*****************************************************************************
2450 // Field:  [15:8] REP_VSU
2451 //
2452 // Internal. Only to be used through TI provided API.
2453 #define FLASH_FSM_EX_VAL_REP_VSU_W                                           8
2454 #define FLASH_FSM_EX_VAL_REP_VSU_M                                  0x0000FF00
2455 #define FLASH_FSM_EX_VAL_REP_VSU_S                                           8
2456 
2457 // Field:   [7:0] EXE_VALD
2458 //
2459 // Internal. Only to be used through TI provided API.
2460 #define FLASH_FSM_EX_VAL_EXE_VALD_W                                          8
2461 #define FLASH_FSM_EX_VAL_EXE_VALD_M                                 0x000000FF
2462 #define FLASH_FSM_EX_VAL_EXE_VALD_S                                          0
2463 
2464 //*****************************************************************************
2465 //
2466 // Register: FLASH_O_FSM_RD_H
2467 //
2468 //*****************************************************************************
2469 // Field:   [7:0] RD_H
2470 //
2471 // Internal. Only to be used through TI provided API.
2472 #define FLASH_FSM_RD_H_RD_H_W                                                8
2473 #define FLASH_FSM_RD_H_RD_H_M                                       0x000000FF
2474 #define FLASH_FSM_RD_H_RD_H_S                                                0
2475 
2476 //*****************************************************************************
2477 //
2478 // Register: FLASH_O_FSM_P_OH
2479 //
2480 //*****************************************************************************
2481 // Field:  [15:8] PGM_OH
2482 //
2483 // Internal. Only to be used through TI provided API.
2484 #define FLASH_FSM_P_OH_PGM_OH_W                                              8
2485 #define FLASH_FSM_P_OH_PGM_OH_M                                     0x0000FF00
2486 #define FLASH_FSM_P_OH_PGM_OH_S                                              8
2487 
2488 //*****************************************************************************
2489 //
2490 // Register: FLASH_O_FSM_ERA_OH
2491 //
2492 //*****************************************************************************
2493 // Field:  [15:0] ERA_OH
2494 //
2495 // Internal. Only to be used through TI provided API.
2496 #define FLASH_FSM_ERA_OH_ERA_OH_W                                           16
2497 #define FLASH_FSM_ERA_OH_ERA_OH_M                                   0x0000FFFF
2498 #define FLASH_FSM_ERA_OH_ERA_OH_S                                            0
2499 
2500 //*****************************************************************************
2501 //
2502 // Register: FLASH_O_FSM_SAV_PPUL
2503 //
2504 //*****************************************************************************
2505 // Field:  [11:0] SAV_P_PUL
2506 //
2507 // Internal. Only to be used through TI provided API.
2508 #define FLASH_FSM_SAV_PPUL_SAV_P_PUL_W                                      12
2509 #define FLASH_FSM_SAV_PPUL_SAV_P_PUL_M                              0x00000FFF
2510 #define FLASH_FSM_SAV_PPUL_SAV_P_PUL_S                                       0
2511 
2512 //*****************************************************************************
2513 //
2514 // Register: FLASH_O_FSM_PE_VH
2515 //
2516 //*****************************************************************************
2517 // Field:  [15:8] PGM_VH
2518 //
2519 // Internal. Only to be used through TI provided API.
2520 #define FLASH_FSM_PE_VH_PGM_VH_W                                             8
2521 #define FLASH_FSM_PE_VH_PGM_VH_M                                    0x0000FF00
2522 #define FLASH_FSM_PE_VH_PGM_VH_S                                             8
2523 
2524 //*****************************************************************************
2525 //
2526 // Register: FLASH_O_FSM_PRG_PW
2527 //
2528 //*****************************************************************************
2529 // Field:  [15:0] PROG_PUL_WIDTH
2530 //
2531 // Internal. Only to be used through TI provided API.
2532 #define FLASH_FSM_PRG_PW_PROG_PUL_WIDTH_W                                   16
2533 #define FLASH_FSM_PRG_PW_PROG_PUL_WIDTH_M                           0x0000FFFF
2534 #define FLASH_FSM_PRG_PW_PROG_PUL_WIDTH_S                                    0
2535 
2536 //*****************************************************************************
2537 //
2538 // Register: FLASH_O_FSM_ERA_PW
2539 //
2540 //*****************************************************************************
2541 // Field:  [31:0] FSM_ERA_PW
2542 //
2543 // Internal. Only to be used through TI provided API.
2544 #define FLASH_FSM_ERA_PW_FSM_ERA_PW_W                                       32
2545 #define FLASH_FSM_ERA_PW_FSM_ERA_PW_M                               0xFFFFFFFF
2546 #define FLASH_FSM_ERA_PW_FSM_ERA_PW_S                                        0
2547 
2548 //*****************************************************************************
2549 //
2550 // Register: FLASH_O_FSM_SAV_ERA_PUL
2551 //
2552 //*****************************************************************************
2553 // Field:  [11:0] SAV_ERA_PUL
2554 //
2555 // Internal. Only to be used through TI provided API.
2556 #define FLASH_FSM_SAV_ERA_PUL_SAV_ERA_PUL_W                                 12
2557 #define FLASH_FSM_SAV_ERA_PUL_SAV_ERA_PUL_M                         0x00000FFF
2558 #define FLASH_FSM_SAV_ERA_PUL_SAV_ERA_PUL_S                                  0
2559 
2560 //*****************************************************************************
2561 //
2562 // Register: FLASH_O_FSM_TIMER
2563 //
2564 //*****************************************************************************
2565 // Field:  [31:0] FSM_TIMER
2566 //
2567 // Internal. Only to be used through TI provided API.
2568 #define FLASH_FSM_TIMER_FSM_TIMER_W                                         32
2569 #define FLASH_FSM_TIMER_FSM_TIMER_M                                 0xFFFFFFFF
2570 #define FLASH_FSM_TIMER_FSM_TIMER_S                                          0
2571 
2572 //*****************************************************************************
2573 //
2574 // Register: FLASH_O_FSM_MODE
2575 //
2576 //*****************************************************************************
2577 // Field: [19:18] RDV_SUBMODE
2578 //
2579 // Internal. Only to be used through TI provided API.
2580 #define FLASH_FSM_MODE_RDV_SUBMODE_W                                         2
2581 #define FLASH_FSM_MODE_RDV_SUBMODE_M                                0x000C0000
2582 #define FLASH_FSM_MODE_RDV_SUBMODE_S                                        18
2583 
2584 // Field: [17:16] PGM_SUBMODE
2585 //
2586 // Internal. Only to be used through TI provided API.
2587 #define FLASH_FSM_MODE_PGM_SUBMODE_W                                         2
2588 #define FLASH_FSM_MODE_PGM_SUBMODE_M                                0x00030000
2589 #define FLASH_FSM_MODE_PGM_SUBMODE_S                                        16
2590 
2591 // Field: [15:14] ERA_SUBMODE
2592 //
2593 // Internal. Only to be used through TI provided API.
2594 #define FLASH_FSM_MODE_ERA_SUBMODE_W                                         2
2595 #define FLASH_FSM_MODE_ERA_SUBMODE_M                                0x0000C000
2596 #define FLASH_FSM_MODE_ERA_SUBMODE_S                                        14
2597 
2598 // Field: [13:12] SUBMODE
2599 //
2600 // Internal. Only to be used through TI provided API.
2601 #define FLASH_FSM_MODE_SUBMODE_W                                             2
2602 #define FLASH_FSM_MODE_SUBMODE_M                                    0x00003000
2603 #define FLASH_FSM_MODE_SUBMODE_S                                            12
2604 
2605 // Field:  [11:9] SAV_PGM_CMD
2606 //
2607 // Internal. Only to be used through TI provided API.
2608 #define FLASH_FSM_MODE_SAV_PGM_CMD_W                                         3
2609 #define FLASH_FSM_MODE_SAV_PGM_CMD_M                                0x00000E00
2610 #define FLASH_FSM_MODE_SAV_PGM_CMD_S                                         9
2611 
2612 // Field:   [8:6] SAV_ERA_MODE
2613 //
2614 // Internal. Only to be used through TI provided API.
2615 #define FLASH_FSM_MODE_SAV_ERA_MODE_W                                        3
2616 #define FLASH_FSM_MODE_SAV_ERA_MODE_M                               0x000001C0
2617 #define FLASH_FSM_MODE_SAV_ERA_MODE_S                                        6
2618 
2619 // Field:   [5:3] MODE
2620 //
2621 // Internal. Only to be used through TI provided API.
2622 #define FLASH_FSM_MODE_MODE_W                                                3
2623 #define FLASH_FSM_MODE_MODE_M                                       0x00000038
2624 #define FLASH_FSM_MODE_MODE_S                                                3
2625 
2626 // Field:   [2:0] CMD
2627 //
2628 // Internal. Only to be used through TI provided API.
2629 #define FLASH_FSM_MODE_CMD_W                                                 3
2630 #define FLASH_FSM_MODE_CMD_M                                        0x00000007
2631 #define FLASH_FSM_MODE_CMD_S                                                 0
2632 
2633 //*****************************************************************************
2634 //
2635 // Register: FLASH_O_FSM_PGM
2636 //
2637 //*****************************************************************************
2638 // Field: [25:23] PGM_BANK
2639 //
2640 // Internal. Only to be used through TI provided API.
2641 #define FLASH_FSM_PGM_PGM_BANK_W                                             3
2642 #define FLASH_FSM_PGM_PGM_BANK_M                                    0x03800000
2643 #define FLASH_FSM_PGM_PGM_BANK_S                                            23
2644 
2645 // Field:  [22:0] PGM_ADDR
2646 //
2647 // Internal. Only to be used through TI provided API.
2648 #define FLASH_FSM_PGM_PGM_ADDR_W                                            23
2649 #define FLASH_FSM_PGM_PGM_ADDR_M                                    0x007FFFFF
2650 #define FLASH_FSM_PGM_PGM_ADDR_S                                             0
2651 
2652 //*****************************************************************************
2653 //
2654 // Register: FLASH_O_FSM_ERA
2655 //
2656 //*****************************************************************************
2657 // Field: [25:23] ERA_BANK
2658 //
2659 // Internal. Only to be used through TI provided API.
2660 #define FLASH_FSM_ERA_ERA_BANK_W                                             3
2661 #define FLASH_FSM_ERA_ERA_BANK_M                                    0x03800000
2662 #define FLASH_FSM_ERA_ERA_BANK_S                                            23
2663 
2664 // Field:  [22:0] ERA_ADDR
2665 //
2666 // Internal. Only to be used through TI provided API.
2667 #define FLASH_FSM_ERA_ERA_ADDR_W                                            23
2668 #define FLASH_FSM_ERA_ERA_ADDR_M                                    0x007FFFFF
2669 #define FLASH_FSM_ERA_ERA_ADDR_S                                             0
2670 
2671 //*****************************************************************************
2672 //
2673 // Register: FLASH_O_FSM_PRG_PUL
2674 //
2675 //*****************************************************************************
2676 // Field: [19:16] BEG_EC_LEVEL
2677 //
2678 // Internal. Only to be used through TI provided API.
2679 #define FLASH_FSM_PRG_PUL_BEG_EC_LEVEL_W                                     4
2680 #define FLASH_FSM_PRG_PUL_BEG_EC_LEVEL_M                            0x000F0000
2681 #define FLASH_FSM_PRG_PUL_BEG_EC_LEVEL_S                                    16
2682 
2683 // Field:  [11:0] MAX_PRG_PUL
2684 //
2685 // Internal. Only to be used through TI provided API.
2686 #define FLASH_FSM_PRG_PUL_MAX_PRG_PUL_W                                     12
2687 #define FLASH_FSM_PRG_PUL_MAX_PRG_PUL_M                             0x00000FFF
2688 #define FLASH_FSM_PRG_PUL_MAX_PRG_PUL_S                                      0
2689 
2690 //*****************************************************************************
2691 //
2692 // Register: FLASH_O_FSM_ERA_PUL
2693 //
2694 //*****************************************************************************
2695 // Field: [19:16] MAX_EC_LEVEL
2696 //
2697 // Internal. Only to be used through TI provided API.
2698 #define FLASH_FSM_ERA_PUL_MAX_EC_LEVEL_W                                     4
2699 #define FLASH_FSM_ERA_PUL_MAX_EC_LEVEL_M                            0x000F0000
2700 #define FLASH_FSM_ERA_PUL_MAX_EC_LEVEL_S                                    16
2701 
2702 // Field:  [11:0] MAX_ERA_PUL
2703 //
2704 // Internal. Only to be used through TI provided API.
2705 #define FLASH_FSM_ERA_PUL_MAX_ERA_PUL_W                                     12
2706 #define FLASH_FSM_ERA_PUL_MAX_ERA_PUL_M                             0x00000FFF
2707 #define FLASH_FSM_ERA_PUL_MAX_ERA_PUL_S                                      0
2708 
2709 //*****************************************************************************
2710 //
2711 // Register: FLASH_O_FSM_STEP_SIZE
2712 //
2713 //*****************************************************************************
2714 // Field: [24:16] EC_STEP_SIZE
2715 //
2716 // Internal. Only to be used through TI provided API.
2717 #define FLASH_FSM_STEP_SIZE_EC_STEP_SIZE_W                                   9
2718 #define FLASH_FSM_STEP_SIZE_EC_STEP_SIZE_M                          0x01FF0000
2719 #define FLASH_FSM_STEP_SIZE_EC_STEP_SIZE_S                                  16
2720 
2721 //*****************************************************************************
2722 //
2723 // Register: FLASH_O_FSM_PUL_CNTR
2724 //
2725 //*****************************************************************************
2726 // Field: [24:16] CUR_EC_LEVEL
2727 //
2728 // Internal. Only to be used through TI provided API.
2729 #define FLASH_FSM_PUL_CNTR_CUR_EC_LEVEL_W                                    9
2730 #define FLASH_FSM_PUL_CNTR_CUR_EC_LEVEL_M                           0x01FF0000
2731 #define FLASH_FSM_PUL_CNTR_CUR_EC_LEVEL_S                                   16
2732 
2733 // Field:  [11:0] PUL_CNTR
2734 //
2735 // Internal. Only to be used through TI provided API.
2736 #define FLASH_FSM_PUL_CNTR_PUL_CNTR_W                                       12
2737 #define FLASH_FSM_PUL_CNTR_PUL_CNTR_M                               0x00000FFF
2738 #define FLASH_FSM_PUL_CNTR_PUL_CNTR_S                                        0
2739 
2740 //*****************************************************************************
2741 //
2742 // Register: FLASH_O_FSM_EC_STEP_HEIGHT
2743 //
2744 //*****************************************************************************
2745 // Field:   [3:0] EC_STEP_HEIGHT
2746 //
2747 // Internal. Only to be used through TI provided API.
2748 #define FLASH_FSM_EC_STEP_HEIGHT_EC_STEP_HEIGHT_W                            4
2749 #define FLASH_FSM_EC_STEP_HEIGHT_EC_STEP_HEIGHT_M                   0x0000000F
2750 #define FLASH_FSM_EC_STEP_HEIGHT_EC_STEP_HEIGHT_S                            0
2751 
2752 //*****************************************************************************
2753 //
2754 // Register: FLASH_O_FSM_ST_MACHINE
2755 //
2756 //*****************************************************************************
2757 // Field:    [23] DO_PRECOND
2758 //
2759 // Internal. Only to be used through TI provided API.
2760 #define FLASH_FSM_ST_MACHINE_DO_PRECOND                             0x00800000
2761 #define FLASH_FSM_ST_MACHINE_DO_PRECOND_BITN                                23
2762 #define FLASH_FSM_ST_MACHINE_DO_PRECOND_M                           0x00800000
2763 #define FLASH_FSM_ST_MACHINE_DO_PRECOND_S                                   23
2764 
2765 // Field:    [22] FSM_INT_EN
2766 //
2767 // Internal. Only to be used through TI provided API.
2768 #define FLASH_FSM_ST_MACHINE_FSM_INT_EN                             0x00400000
2769 #define FLASH_FSM_ST_MACHINE_FSM_INT_EN_BITN                                22
2770 #define FLASH_FSM_ST_MACHINE_FSM_INT_EN_M                           0x00400000
2771 #define FLASH_FSM_ST_MACHINE_FSM_INT_EN_S                                   22
2772 
2773 // Field:    [21] ALL_BANKS
2774 //
2775 // Internal. Only to be used through TI provided API.
2776 #define FLASH_FSM_ST_MACHINE_ALL_BANKS                              0x00200000
2777 #define FLASH_FSM_ST_MACHINE_ALL_BANKS_BITN                                 21
2778 #define FLASH_FSM_ST_MACHINE_ALL_BANKS_M                            0x00200000
2779 #define FLASH_FSM_ST_MACHINE_ALL_BANKS_S                                    21
2780 
2781 // Field:    [20] CMPV_ALLOWED
2782 //
2783 // Internal. Only to be used through TI provided API.
2784 #define FLASH_FSM_ST_MACHINE_CMPV_ALLOWED                           0x00100000
2785 #define FLASH_FSM_ST_MACHINE_CMPV_ALLOWED_BITN                              20
2786 #define FLASH_FSM_ST_MACHINE_CMPV_ALLOWED_M                         0x00100000
2787 #define FLASH_FSM_ST_MACHINE_CMPV_ALLOWED_S                                 20
2788 
2789 // Field:    [19] RANDOM
2790 //
2791 // Internal. Only to be used through TI provided API.
2792 #define FLASH_FSM_ST_MACHINE_RANDOM                                 0x00080000
2793 #define FLASH_FSM_ST_MACHINE_RANDOM_BITN                                    19
2794 #define FLASH_FSM_ST_MACHINE_RANDOM_M                               0x00080000
2795 #define FLASH_FSM_ST_MACHINE_RANDOM_S                                       19
2796 
2797 // Field:    [18] RV_SEC_EN
2798 //
2799 // Internal. Only to be used through TI provided API.
2800 #define FLASH_FSM_ST_MACHINE_RV_SEC_EN                              0x00040000
2801 #define FLASH_FSM_ST_MACHINE_RV_SEC_EN_BITN                                 18
2802 #define FLASH_FSM_ST_MACHINE_RV_SEC_EN_M                            0x00040000
2803 #define FLASH_FSM_ST_MACHINE_RV_SEC_EN_S                                    18
2804 
2805 // Field:    [17] RV_RES
2806 //
2807 // Internal. Only to be used through TI provided API.
2808 #define FLASH_FSM_ST_MACHINE_RV_RES                                 0x00020000
2809 #define FLASH_FSM_ST_MACHINE_RV_RES_BITN                                    17
2810 #define FLASH_FSM_ST_MACHINE_RV_RES_M                               0x00020000
2811 #define FLASH_FSM_ST_MACHINE_RV_RES_S                                       17
2812 
2813 // Field:    [16] RV_INT_EN
2814 //
2815 // Internal. Only to be used through TI provided API.
2816 #define FLASH_FSM_ST_MACHINE_RV_INT_EN                              0x00010000
2817 #define FLASH_FSM_ST_MACHINE_RV_INT_EN_BITN                                 16
2818 #define FLASH_FSM_ST_MACHINE_RV_INT_EN_M                            0x00010000
2819 #define FLASH_FSM_ST_MACHINE_RV_INT_EN_S                                    16
2820 
2821 // Field:    [14] ONE_TIME_GOOD
2822 //
2823 // Internal. Only to be used through TI provided API.
2824 #define FLASH_FSM_ST_MACHINE_ONE_TIME_GOOD                          0x00004000
2825 #define FLASH_FSM_ST_MACHINE_ONE_TIME_GOOD_BITN                             14
2826 #define FLASH_FSM_ST_MACHINE_ONE_TIME_GOOD_M                        0x00004000
2827 #define FLASH_FSM_ST_MACHINE_ONE_TIME_GOOD_S                                14
2828 
2829 // Field:    [11] DO_REDU_COL
2830 //
2831 // Internal. Only to be used through TI provided API.
2832 #define FLASH_FSM_ST_MACHINE_DO_REDU_COL                            0x00000800
2833 #define FLASH_FSM_ST_MACHINE_DO_REDU_COL_BITN                               11
2834 #define FLASH_FSM_ST_MACHINE_DO_REDU_COL_M                          0x00000800
2835 #define FLASH_FSM_ST_MACHINE_DO_REDU_COL_S                                  11
2836 
2837 // Field:  [10:7] DBG_SHORT_ROW
2838 //
2839 // Internal. Only to be used through TI provided API.
2840 #define FLASH_FSM_ST_MACHINE_DBG_SHORT_ROW_W                                 4
2841 #define FLASH_FSM_ST_MACHINE_DBG_SHORT_ROW_M                        0x00000780
2842 #define FLASH_FSM_ST_MACHINE_DBG_SHORT_ROW_S                                 7
2843 
2844 // Field:     [5] PGM_SEC_COF_EN
2845 //
2846 // Internal. Only to be used through TI provided API.
2847 #define FLASH_FSM_ST_MACHINE_PGM_SEC_COF_EN                         0x00000020
2848 #define FLASH_FSM_ST_MACHINE_PGM_SEC_COF_EN_BITN                             5
2849 #define FLASH_FSM_ST_MACHINE_PGM_SEC_COF_EN_M                       0x00000020
2850 #define FLASH_FSM_ST_MACHINE_PGM_SEC_COF_EN_S                                5
2851 
2852 // Field:     [4] PREC_STOP_EN
2853 //
2854 // Internal. Only to be used through TI provided API.
2855 #define FLASH_FSM_ST_MACHINE_PREC_STOP_EN                           0x00000010
2856 #define FLASH_FSM_ST_MACHINE_PREC_STOP_EN_BITN                               4
2857 #define FLASH_FSM_ST_MACHINE_PREC_STOP_EN_M                         0x00000010
2858 #define FLASH_FSM_ST_MACHINE_PREC_STOP_EN_S                                  4
2859 
2860 // Field:     [3] DIS_TST_EN
2861 //
2862 // Internal. Only to be used through TI provided API.
2863 #define FLASH_FSM_ST_MACHINE_DIS_TST_EN                             0x00000008
2864 #define FLASH_FSM_ST_MACHINE_DIS_TST_EN_BITN                                 3
2865 #define FLASH_FSM_ST_MACHINE_DIS_TST_EN_M                           0x00000008
2866 #define FLASH_FSM_ST_MACHINE_DIS_TST_EN_S                                    3
2867 
2868 // Field:     [2] CMD_EN
2869 //
2870 // Internal. Only to be used through TI provided API.
2871 #define FLASH_FSM_ST_MACHINE_CMD_EN                                 0x00000004
2872 #define FLASH_FSM_ST_MACHINE_CMD_EN_BITN                                     2
2873 #define FLASH_FSM_ST_MACHINE_CMD_EN_M                               0x00000004
2874 #define FLASH_FSM_ST_MACHINE_CMD_EN_S                                        2
2875 
2876 // Field:     [1] INV_DATA
2877 //
2878 // Internal. Only to be used through TI provided API.
2879 #define FLASH_FSM_ST_MACHINE_INV_DATA                               0x00000002
2880 #define FLASH_FSM_ST_MACHINE_INV_DATA_BITN                                   1
2881 #define FLASH_FSM_ST_MACHINE_INV_DATA_M                             0x00000002
2882 #define FLASH_FSM_ST_MACHINE_INV_DATA_S                                      1
2883 
2884 // Field:     [0] OVERRIDE
2885 //
2886 // Internal. Only to be used through TI provided API.
2887 #define FLASH_FSM_ST_MACHINE_OVERRIDE                               0x00000001
2888 #define FLASH_FSM_ST_MACHINE_OVERRIDE_BITN                                   0
2889 #define FLASH_FSM_ST_MACHINE_OVERRIDE_M                             0x00000001
2890 #define FLASH_FSM_ST_MACHINE_OVERRIDE_S                                      0
2891 
2892 //*****************************************************************************
2893 //
2894 // Register: FLASH_O_FSM_FLES
2895 //
2896 //*****************************************************************************
2897 // Field:  [11:8] BLK_TIOTP
2898 //
2899 // Internal. Only to be used through TI provided API.
2900 #define FLASH_FSM_FLES_BLK_TIOTP_W                                           4
2901 #define FLASH_FSM_FLES_BLK_TIOTP_M                                  0x00000F00
2902 #define FLASH_FSM_FLES_BLK_TIOTP_S                                           8
2903 
2904 // Field:   [7:0] BLK_OTP
2905 //
2906 // Internal. Only to be used through TI provided API.
2907 #define FLASH_FSM_FLES_BLK_OTP_W                                             8
2908 #define FLASH_FSM_FLES_BLK_OTP_M                                    0x000000FF
2909 #define FLASH_FSM_FLES_BLK_OTP_S                                             0
2910 
2911 //*****************************************************************************
2912 //
2913 // Register: FLASH_O_FSM_WR_ENA
2914 //
2915 //*****************************************************************************
2916 // Field:   [2:0] WR_ENA
2917 //
2918 // Internal. Only to be used through TI provided API.
2919 #define FLASH_FSM_WR_ENA_WR_ENA_W                                            3
2920 #define FLASH_FSM_WR_ENA_WR_ENA_M                                   0x00000007
2921 #define FLASH_FSM_WR_ENA_WR_ENA_S                                            0
2922 
2923 //*****************************************************************************
2924 //
2925 // Register: FLASH_O_FSM_ACC_PP
2926 //
2927 //*****************************************************************************
2928 // Field:  [31:0] FSM_ACC_PP
2929 //
2930 // Internal. Only to be used through TI provided API.
2931 #define FLASH_FSM_ACC_PP_FSM_ACC_PP_W                                       32
2932 #define FLASH_FSM_ACC_PP_FSM_ACC_PP_M                               0xFFFFFFFF
2933 #define FLASH_FSM_ACC_PP_FSM_ACC_PP_S                                        0
2934 
2935 //*****************************************************************************
2936 //
2937 // Register: FLASH_O_FSM_ACC_EP
2938 //
2939 //*****************************************************************************
2940 // Field:  [15:0] ACC_EP
2941 //
2942 // Internal. Only to be used through TI provided API.
2943 #define FLASH_FSM_ACC_EP_ACC_EP_W                                           16
2944 #define FLASH_FSM_ACC_EP_ACC_EP_M                                   0x0000FFFF
2945 #define FLASH_FSM_ACC_EP_ACC_EP_S                                            0
2946 
2947 //*****************************************************************************
2948 //
2949 // Register: FLASH_O_FSM_ADDR
2950 //
2951 //*****************************************************************************
2952 // Field: [30:28] BANK
2953 //
2954 // Internal. Only to be used through TI provided API.
2955 #define FLASH_FSM_ADDR_BANK_W                                                3
2956 #define FLASH_FSM_ADDR_BANK_M                                       0x70000000
2957 #define FLASH_FSM_ADDR_BANK_S                                               28
2958 
2959 // Field:  [27:0] CUR_ADDR
2960 //
2961 // Internal. Only to be used through TI provided API.
2962 #define FLASH_FSM_ADDR_CUR_ADDR_W                                           28
2963 #define FLASH_FSM_ADDR_CUR_ADDR_M                                   0x0FFFFFFF
2964 #define FLASH_FSM_ADDR_CUR_ADDR_S                                            0
2965 
2966 //*****************************************************************************
2967 //
2968 // Register: FLASH_O_FSM_SECTOR
2969 //
2970 //*****************************************************************************
2971 // Field: [31:16] SECT_ERASED
2972 //
2973 // Internal. Only to be used through TI provided API.
2974 #define FLASH_FSM_SECTOR_SECT_ERASED_W                                      16
2975 #define FLASH_FSM_SECTOR_SECT_ERASED_M                              0xFFFF0000
2976 #define FLASH_FSM_SECTOR_SECT_ERASED_S                                      16
2977 
2978 // Field:  [15:8] FSM_SECTOR_EXTENSION
2979 //
2980 // Internal. Only to be used through TI provided API.
2981 #define FLASH_FSM_SECTOR_FSM_SECTOR_EXTENSION_W                              8
2982 #define FLASH_FSM_SECTOR_FSM_SECTOR_EXTENSION_M                     0x0000FF00
2983 #define FLASH_FSM_SECTOR_FSM_SECTOR_EXTENSION_S                              8
2984 
2985 // Field:   [7:4] SECTOR
2986 //
2987 // Internal. Only to be used through TI provided API.
2988 #define FLASH_FSM_SECTOR_SECTOR_W                                            4
2989 #define FLASH_FSM_SECTOR_SECTOR_M                                   0x000000F0
2990 #define FLASH_FSM_SECTOR_SECTOR_S                                            4
2991 
2992 // Field:   [3:0] SEC_OUT
2993 //
2994 // Internal. Only to be used through TI provided API.
2995 #define FLASH_FSM_SECTOR_SEC_OUT_W                                           4
2996 #define FLASH_FSM_SECTOR_SEC_OUT_M                                  0x0000000F
2997 #define FLASH_FSM_SECTOR_SEC_OUT_S                                           0
2998 
2999 //*****************************************************************************
3000 //
3001 // Register: FLASH_O_FMC_REV_ID
3002 //
3003 //*****************************************************************************
3004 // Field: [31:12] MOD_VERSION
3005 //
3006 // Internal. Only to be used through TI provided API.
3007 #define FLASH_FMC_REV_ID_MOD_VERSION_W                                      20
3008 #define FLASH_FMC_REV_ID_MOD_VERSION_M                              0xFFFFF000
3009 #define FLASH_FMC_REV_ID_MOD_VERSION_S                                      12
3010 
3011 // Field:  [11:0] CONFIG_CRC
3012 //
3013 // Internal. Only to be used through TI provided API.
3014 #define FLASH_FMC_REV_ID_CONFIG_CRC_W                                       12
3015 #define FLASH_FMC_REV_ID_CONFIG_CRC_M                               0x00000FFF
3016 #define FLASH_FMC_REV_ID_CONFIG_CRC_S                                        0
3017 
3018 //*****************************************************************************
3019 //
3020 // Register: FLASH_O_FSM_ERR_ADDR
3021 //
3022 //*****************************************************************************
3023 // Field: [30:28] FSM_ERR_BANK
3024 //
3025 // Internal. Only to be used through TI provided API.
3026 #define FLASH_FSM_ERR_ADDR_FSM_ERR_BANK_W                                    3
3027 #define FLASH_FSM_ERR_ADDR_FSM_ERR_BANK_M                           0x70000000
3028 #define FLASH_FSM_ERR_ADDR_FSM_ERR_BANK_S                                   28
3029 
3030 // Field:  [23:0] FSM_ERR_ADDR
3031 //
3032 // Internal. Only to be used through TI provided API.
3033 #define FLASH_FSM_ERR_ADDR_FSM_ERR_ADDR_W                                   24
3034 #define FLASH_FSM_ERR_ADDR_FSM_ERR_ADDR_M                           0x00FFFFFF
3035 #define FLASH_FSM_ERR_ADDR_FSM_ERR_ADDR_S                                    0
3036 
3037 //*****************************************************************************
3038 //
3039 // Register: FLASH_O_FSM_PGM_MAXPUL
3040 //
3041 //*****************************************************************************
3042 // Field:  [11:0] FSM_PGM_MAXPUL
3043 //
3044 // Internal. Only to be used through TI provided API.
3045 #define FLASH_FSM_PGM_MAXPUL_FSM_PGM_MAXPUL_W                               12
3046 #define FLASH_FSM_PGM_MAXPUL_FSM_PGM_MAXPUL_M                       0x00000FFF
3047 #define FLASH_FSM_PGM_MAXPUL_FSM_PGM_MAXPUL_S                                0
3048 
3049 //*****************************************************************************
3050 //
3051 // Register: FLASH_O_FSM_EXECUTE
3052 //
3053 //*****************************************************************************
3054 // Field: [19:16] SUSPEND_NOW
3055 //
3056 // Internal. Only to be used through TI provided API.
3057 #define FLASH_FSM_EXECUTE_SUSPEND_NOW_W                                      4
3058 #define FLASH_FSM_EXECUTE_SUSPEND_NOW_M                             0x000F0000
3059 #define FLASH_FSM_EXECUTE_SUSPEND_NOW_S                                     16
3060 
3061 // Field:   [4:0] FSMEXECUTE
3062 //
3063 // Internal. Only to be used through TI provided API.
3064 #define FLASH_FSM_EXECUTE_FSMEXECUTE_W                                       5
3065 #define FLASH_FSM_EXECUTE_FSMEXECUTE_M                              0x0000001F
3066 #define FLASH_FSM_EXECUTE_FSMEXECUTE_S                                       0
3067 
3068 //*****************************************************************************
3069 //
3070 // Register: FLASH_O_FSM_SECTOR1
3071 //
3072 //*****************************************************************************
3073 // Field:  [31:0] FSM_SECTOR1
3074 //
3075 // Internal. Only to be used through TI provided API.
3076 #define FLASH_FSM_SECTOR1_FSM_SECTOR1_W                                     32
3077 #define FLASH_FSM_SECTOR1_FSM_SECTOR1_M                             0xFFFFFFFF
3078 #define FLASH_FSM_SECTOR1_FSM_SECTOR1_S                                      0
3079 
3080 //*****************************************************************************
3081 //
3082 // Register: FLASH_O_FSM_SECTOR2
3083 //
3084 //*****************************************************************************
3085 // Field:  [31:0] FSM_SECTOR2
3086 //
3087 // Internal. Only to be used through TI provided API.
3088 #define FLASH_FSM_SECTOR2_FSM_SECTOR2_W                                     32
3089 #define FLASH_FSM_SECTOR2_FSM_SECTOR2_M                             0xFFFFFFFF
3090 #define FLASH_FSM_SECTOR2_FSM_SECTOR2_S                                      0
3091 
3092 //*****************************************************************************
3093 //
3094 // Register: FLASH_O_FSM_BSLE0
3095 //
3096 //*****************************************************************************
3097 // Field:  [31:0] FSM_BSLE0
3098 //
3099 // Internal. Only to be used through TI provided API.
3100 #define FLASH_FSM_BSLE0_FSM_BSLE0_W                                         32
3101 #define FLASH_FSM_BSLE0_FSM_BSLE0_M                                 0xFFFFFFFF
3102 #define FLASH_FSM_BSLE0_FSM_BSLE0_S                                          0
3103 
3104 //*****************************************************************************
3105 //
3106 // Register: FLASH_O_FSM_BSLE1
3107 //
3108 //*****************************************************************************
3109 // Field:  [31:0] FSM_BSLE1
3110 //
3111 // Internal. Only to be used through TI provided API.
3112 #define FLASH_FSM_BSLE1_FSM_BSLE1_W                                         32
3113 #define FLASH_FSM_BSLE1_FSM_BSLE1_M                                 0xFFFFFFFF
3114 #define FLASH_FSM_BSLE1_FSM_BSLE1_S                                          0
3115 
3116 //*****************************************************************************
3117 //
3118 // Register: FLASH_O_FSM_BSLP0
3119 //
3120 //*****************************************************************************
3121 // Field:  [31:0] FSM_BSLP0
3122 //
3123 // Internal. Only to be used through TI provided API.
3124 #define FLASH_FSM_BSLP0_FSM_BSLP0_W                                         32
3125 #define FLASH_FSM_BSLP0_FSM_BSLP0_M                                 0xFFFFFFFF
3126 #define FLASH_FSM_BSLP0_FSM_BSLP0_S                                          0
3127 
3128 //*****************************************************************************
3129 //
3130 // Register: FLASH_O_FSM_BSLP1
3131 //
3132 //*****************************************************************************
3133 // Field:  [31:0] FSM_BSLP1
3134 //
3135 // Internal. Only to be used through TI provided API.
3136 #define FLASH_FSM_BSLP1_FSM_BSLP1_W                                         32
3137 #define FLASH_FSM_BSLP1_FSM_BSLP1_M                                 0xFFFFFFFF
3138 #define FLASH_FSM_BSLP1_FSM_BSLP1_S                                          0
3139 
3140 //*****************************************************************************
3141 //
3142 // Register: FLASH_O_FSM_PGM128
3143 //
3144 //*****************************************************************************
3145 // Field:     [0] EN_PGM128
3146 //
3147 // 1: Enables 128-bit wide programming.  This mode requires programming supply
3148 // voltage to be greater than 2.5v at the Flash Pump.  The primary use case for
3149 // this mode is manufacturing test for test time reduction.
3150 //
3151 // 0: 64-bit wide programming.  Valid at any programming voltage.  A 128-bit
3152 // word is divided into two 64-bit words for programming. [default]
3153 //
3154 // This register is write protected with the FSM_WR_ENA register.
3155 #define FLASH_FSM_PGM128_EN_PGM128                                  0x00000001
3156 #define FLASH_FSM_PGM128_EN_PGM128_BITN                                      0
3157 #define FLASH_FSM_PGM128_EN_PGM128_M                                0x00000001
3158 #define FLASH_FSM_PGM128_EN_PGM128_S                                         0
3159 
3160 //*****************************************************************************
3161 //
3162 // Register: FLASH_O_FSM_EN_PRL_BNK_RD
3163 //
3164 //*****************************************************************************
3165 // Field:     [0] EN_PRL_BNK_RD
3166 //
3167 // 1: Enables parallel reads of multiple banks  The primary use case for this
3168 // mode is manufacturing test for test time reduction.
3169 //
3170 // 0: Read of one bank only. [default]
3171 //
3172 // This register is write protected with the FSM_WR_ENA register.
3173 #define FLASH_FSM_EN_PRL_BNK_RD_EN_PRL_BNK_RD                       0x00000001
3174 #define FLASH_FSM_EN_PRL_BNK_RD_EN_PRL_BNK_RD_BITN                           0
3175 #define FLASH_FSM_EN_PRL_BNK_RD_EN_PRL_BNK_RD_M                     0x00000001
3176 #define FLASH_FSM_EN_PRL_BNK_RD_EN_PRL_BNK_RD_S                              0
3177 
3178 //*****************************************************************************
3179 //
3180 // Register: FLASH_O_FCFG_BANK
3181 //
3182 //*****************************************************************************
3183 // Field: [31:20] EE_BANK_WIDTH
3184 //
3185 // Internal. Only to be used through TI provided API.
3186 #define FLASH_FCFG_BANK_EE_BANK_WIDTH_W                                     12
3187 #define FLASH_FCFG_BANK_EE_BANK_WIDTH_M                             0xFFF00000
3188 #define FLASH_FCFG_BANK_EE_BANK_WIDTH_S                                     20
3189 
3190 // Field: [19:16] EE_NUM_BANK
3191 //
3192 // Internal. Only to be used through TI provided API.
3193 #define FLASH_FCFG_BANK_EE_NUM_BANK_W                                        4
3194 #define FLASH_FCFG_BANK_EE_NUM_BANK_M                               0x000F0000
3195 #define FLASH_FCFG_BANK_EE_NUM_BANK_S                                       16
3196 
3197 // Field:  [15:4] MAIN_BANK_WIDTH
3198 //
3199 // Internal. Only to be used through TI provided API.
3200 #define FLASH_FCFG_BANK_MAIN_BANK_WIDTH_W                                   12
3201 #define FLASH_FCFG_BANK_MAIN_BANK_WIDTH_M                           0x0000FFF0
3202 #define FLASH_FCFG_BANK_MAIN_BANK_WIDTH_S                                    4
3203 
3204 // Field:   [3:0] MAIN_NUM_BANK
3205 //
3206 // Internal. Only to be used through TI provided API.
3207 #define FLASH_FCFG_BANK_MAIN_NUM_BANK_W                                      4
3208 #define FLASH_FCFG_BANK_MAIN_NUM_BANK_M                             0x0000000F
3209 #define FLASH_FCFG_BANK_MAIN_NUM_BANK_S                                      0
3210 
3211 //*****************************************************************************
3212 //
3213 // Register: FLASH_O_FCFG_WRAPPER
3214 //
3215 //*****************************************************************************
3216 // Field: [31:24] FAMILY_TYPE
3217 //
3218 // Internal. Only to be used through TI provided API.
3219 #define FLASH_FCFG_WRAPPER_FAMILY_TYPE_W                                     8
3220 #define FLASH_FCFG_WRAPPER_FAMILY_TYPE_M                            0xFF000000
3221 #define FLASH_FCFG_WRAPPER_FAMILY_TYPE_S                                    24
3222 
3223 // Field:    [20] MEM_MAP
3224 //
3225 // Internal. Only to be used through TI provided API.
3226 #define FLASH_FCFG_WRAPPER_MEM_MAP                                  0x00100000
3227 #define FLASH_FCFG_WRAPPER_MEM_MAP_BITN                                     20
3228 #define FLASH_FCFG_WRAPPER_MEM_MAP_M                                0x00100000
3229 #define FLASH_FCFG_WRAPPER_MEM_MAP_S                                        20
3230 
3231 // Field: [19:16] CPU2
3232 //
3233 // Internal. Only to be used through TI provided API.
3234 #define FLASH_FCFG_WRAPPER_CPU2_W                                            4
3235 #define FLASH_FCFG_WRAPPER_CPU2_M                                   0x000F0000
3236 #define FLASH_FCFG_WRAPPER_CPU2_S                                           16
3237 
3238 // Field: [15:12] EE_IN_MAIN
3239 //
3240 // Internal. Only to be used through TI provided API.
3241 #define FLASH_FCFG_WRAPPER_EE_IN_MAIN_W                                      4
3242 #define FLASH_FCFG_WRAPPER_EE_IN_MAIN_M                             0x0000F000
3243 #define FLASH_FCFG_WRAPPER_EE_IN_MAIN_S                                     12
3244 
3245 // Field:    [11] ROM
3246 //
3247 // Internal. Only to be used through TI provided API.
3248 #define FLASH_FCFG_WRAPPER_ROM                                      0x00000800
3249 #define FLASH_FCFG_WRAPPER_ROM_BITN                                         11
3250 #define FLASH_FCFG_WRAPPER_ROM_M                                    0x00000800
3251 #define FLASH_FCFG_WRAPPER_ROM_S                                            11
3252 
3253 // Field:    [10] IFLUSH
3254 //
3255 // Internal. Only to be used through TI provided API.
3256 #define FLASH_FCFG_WRAPPER_IFLUSH                                   0x00000400
3257 #define FLASH_FCFG_WRAPPER_IFLUSH_BITN                                      10
3258 #define FLASH_FCFG_WRAPPER_IFLUSH_M                                 0x00000400
3259 #define FLASH_FCFG_WRAPPER_IFLUSH_S                                         10
3260 
3261 // Field:     [9] SIL3
3262 //
3263 // Internal. Only to be used through TI provided API.
3264 #define FLASH_FCFG_WRAPPER_SIL3                                     0x00000200
3265 #define FLASH_FCFG_WRAPPER_SIL3_BITN                                         9
3266 #define FLASH_FCFG_WRAPPER_SIL3_M                                   0x00000200
3267 #define FLASH_FCFG_WRAPPER_SIL3_S                                            9
3268 
3269 // Field:     [8] ECCA
3270 //
3271 // Internal. Only to be used through TI provided API.
3272 #define FLASH_FCFG_WRAPPER_ECCA                                     0x00000100
3273 #define FLASH_FCFG_WRAPPER_ECCA_BITN                                         8
3274 #define FLASH_FCFG_WRAPPER_ECCA_M                                   0x00000100
3275 #define FLASH_FCFG_WRAPPER_ECCA_S                                            8
3276 
3277 // Field:   [7:6] AUTO_SUSP
3278 //
3279 // Internal. Only to be used through TI provided API.
3280 #define FLASH_FCFG_WRAPPER_AUTO_SUSP_W                                       2
3281 #define FLASH_FCFG_WRAPPER_AUTO_SUSP_M                              0x000000C0
3282 #define FLASH_FCFG_WRAPPER_AUTO_SUSP_S                                       6
3283 
3284 // Field:   [5:4] UERR
3285 //
3286 // Internal. Only to be used through TI provided API.
3287 #define FLASH_FCFG_WRAPPER_UERR_W                                            2
3288 #define FLASH_FCFG_WRAPPER_UERR_M                                   0x00000030
3289 #define FLASH_FCFG_WRAPPER_UERR_S                                            4
3290 
3291 // Field:   [3:0] CPU_TYPE1
3292 //
3293 // Internal. Only to be used through TI provided API.
3294 #define FLASH_FCFG_WRAPPER_CPU_TYPE1_W                                       4
3295 #define FLASH_FCFG_WRAPPER_CPU_TYPE1_M                              0x0000000F
3296 #define FLASH_FCFG_WRAPPER_CPU_TYPE1_S                                       0
3297 
3298 //*****************************************************************************
3299 //
3300 // Register: FLASH_O_FCFG_BNK_TYPE
3301 //
3302 //*****************************************************************************
3303 // Field: [31:28] B7_TYPE
3304 //
3305 // Internal. Only to be used through TI provided API.
3306 #define FLASH_FCFG_BNK_TYPE_B7_TYPE_W                                        4
3307 #define FLASH_FCFG_BNK_TYPE_B7_TYPE_M                               0xF0000000
3308 #define FLASH_FCFG_BNK_TYPE_B7_TYPE_S                                       28
3309 
3310 // Field: [27:24] B6_TYPE
3311 //
3312 // Internal. Only to be used through TI provided API.
3313 #define FLASH_FCFG_BNK_TYPE_B6_TYPE_W                                        4
3314 #define FLASH_FCFG_BNK_TYPE_B6_TYPE_M                               0x0F000000
3315 #define FLASH_FCFG_BNK_TYPE_B6_TYPE_S                                       24
3316 
3317 // Field: [23:20] B5_TYPE
3318 //
3319 // Internal. Only to be used through TI provided API.
3320 #define FLASH_FCFG_BNK_TYPE_B5_TYPE_W                                        4
3321 #define FLASH_FCFG_BNK_TYPE_B5_TYPE_M                               0x00F00000
3322 #define FLASH_FCFG_BNK_TYPE_B5_TYPE_S                                       20
3323 
3324 // Field: [19:16] B4_TYPE
3325 //
3326 // Internal. Only to be used through TI provided API.
3327 #define FLASH_FCFG_BNK_TYPE_B4_TYPE_W                                        4
3328 #define FLASH_FCFG_BNK_TYPE_B4_TYPE_M                               0x000F0000
3329 #define FLASH_FCFG_BNK_TYPE_B4_TYPE_S                                       16
3330 
3331 // Field: [15:12] B3_TYPE
3332 //
3333 // Internal. Only to be used through TI provided API.
3334 #define FLASH_FCFG_BNK_TYPE_B3_TYPE_W                                        4
3335 #define FLASH_FCFG_BNK_TYPE_B3_TYPE_M                               0x0000F000
3336 #define FLASH_FCFG_BNK_TYPE_B3_TYPE_S                                       12
3337 
3338 // Field:  [11:8] B2_TYPE
3339 //
3340 // Internal. Only to be used through TI provided API.
3341 #define FLASH_FCFG_BNK_TYPE_B2_TYPE_W                                        4
3342 #define FLASH_FCFG_BNK_TYPE_B2_TYPE_M                               0x00000F00
3343 #define FLASH_FCFG_BNK_TYPE_B2_TYPE_S                                        8
3344 
3345 // Field:   [7:4] B1_TYPE
3346 //
3347 // Internal. Only to be used through TI provided API.
3348 #define FLASH_FCFG_BNK_TYPE_B1_TYPE_W                                        4
3349 #define FLASH_FCFG_BNK_TYPE_B1_TYPE_M                               0x000000F0
3350 #define FLASH_FCFG_BNK_TYPE_B1_TYPE_S                                        4
3351 
3352 // Field:   [3:0] B0_TYPE
3353 //
3354 // Internal. Only to be used through TI provided API.
3355 #define FLASH_FCFG_BNK_TYPE_B0_TYPE_W                                        4
3356 #define FLASH_FCFG_BNK_TYPE_B0_TYPE_M                               0x0000000F
3357 #define FLASH_FCFG_BNK_TYPE_B0_TYPE_S                                        0
3358 
3359 //*****************************************************************************
3360 //
3361 // Register: FLASH_O_FCFG_B0_START
3362 //
3363 //*****************************************************************************
3364 // Field: [31:28] B0_MAX_SECTOR
3365 //
3366 // Internal. Only to be used through TI provided API.
3367 #define FLASH_FCFG_B0_START_B0_MAX_SECTOR_W                                  4
3368 #define FLASH_FCFG_B0_START_B0_MAX_SECTOR_M                         0xF0000000
3369 #define FLASH_FCFG_B0_START_B0_MAX_SECTOR_S                                 28
3370 
3371 // Field: [27:24] B0_MUX_FACTOR
3372 //
3373 // Internal. Only to be used through TI provided API.
3374 #define FLASH_FCFG_B0_START_B0_MUX_FACTOR_W                                  4
3375 #define FLASH_FCFG_B0_START_B0_MUX_FACTOR_M                         0x0F000000
3376 #define FLASH_FCFG_B0_START_B0_MUX_FACTOR_S                                 24
3377 
3378 // Field:  [23:0] B0_START_ADDR
3379 //
3380 // Internal. Only to be used through TI provided API.
3381 #define FLASH_FCFG_B0_START_B0_START_ADDR_W                                 24
3382 #define FLASH_FCFG_B0_START_B0_START_ADDR_M                         0x00FFFFFF
3383 #define FLASH_FCFG_B0_START_B0_START_ADDR_S                                  0
3384 
3385 //*****************************************************************************
3386 //
3387 // Register: FLASH_O_FCFG_B1_START
3388 //
3389 //*****************************************************************************
3390 // Field: [31:28] B1_MAX_SECTOR
3391 //
3392 // Internal. Only to be used through TI provided API.
3393 #define FLASH_FCFG_B1_START_B1_MAX_SECTOR_W                                  4
3394 #define FLASH_FCFG_B1_START_B1_MAX_SECTOR_M                         0xF0000000
3395 #define FLASH_FCFG_B1_START_B1_MAX_SECTOR_S                                 28
3396 
3397 // Field: [27:24] B1_MUX_FACTOR
3398 //
3399 // Internal. Only to be used through TI provided API.
3400 #define FLASH_FCFG_B1_START_B1_MUX_FACTOR_W                                  4
3401 #define FLASH_FCFG_B1_START_B1_MUX_FACTOR_M                         0x0F000000
3402 #define FLASH_FCFG_B1_START_B1_MUX_FACTOR_S                                 24
3403 
3404 // Field:  [23:0] B1_START_ADDR
3405 //
3406 // Internal. Only to be used through TI provided API.
3407 #define FLASH_FCFG_B1_START_B1_START_ADDR_W                                 24
3408 #define FLASH_FCFG_B1_START_B1_START_ADDR_M                         0x00FFFFFF
3409 #define FLASH_FCFG_B1_START_B1_START_ADDR_S                                  0
3410 
3411 //*****************************************************************************
3412 //
3413 // Register: FLASH_O_FCFG_B2_START
3414 //
3415 //*****************************************************************************
3416 // Field: [31:28] B2_MAX_SECTOR
3417 //
3418 // Internal. Only to be used through TI provided API.
3419 #define FLASH_FCFG_B2_START_B2_MAX_SECTOR_W                                  4
3420 #define FLASH_FCFG_B2_START_B2_MAX_SECTOR_M                         0xF0000000
3421 #define FLASH_FCFG_B2_START_B2_MAX_SECTOR_S                                 28
3422 
3423 // Field: [27:24] B2_MUX_FACTOR
3424 //
3425 // Internal. Only to be used through TI provided API.
3426 #define FLASH_FCFG_B2_START_B2_MUX_FACTOR_W                                  4
3427 #define FLASH_FCFG_B2_START_B2_MUX_FACTOR_M                         0x0F000000
3428 #define FLASH_FCFG_B2_START_B2_MUX_FACTOR_S                                 24
3429 
3430 // Field:  [23:0] B2_START_ADDR
3431 //
3432 // Internal. Only to be used through TI provided API.
3433 #define FLASH_FCFG_B2_START_B2_START_ADDR_W                                 24
3434 #define FLASH_FCFG_B2_START_B2_START_ADDR_M                         0x00FFFFFF
3435 #define FLASH_FCFG_B2_START_B2_START_ADDR_S                                  0
3436 
3437 //*****************************************************************************
3438 //
3439 // Register: FLASH_O_FCFG_B3_START
3440 //
3441 //*****************************************************************************
3442 // Field: [31:28] B3_MAX_SECTOR
3443 //
3444 // Internal. Only to be used through TI provided API.
3445 #define FLASH_FCFG_B3_START_B3_MAX_SECTOR_W                                  4
3446 #define FLASH_FCFG_B3_START_B3_MAX_SECTOR_M                         0xF0000000
3447 #define FLASH_FCFG_B3_START_B3_MAX_SECTOR_S                                 28
3448 
3449 // Field: [27:24] B3_MUX_FACTOR
3450 //
3451 // Internal. Only to be used through TI provided API.
3452 #define FLASH_FCFG_B3_START_B3_MUX_FACTOR_W                                  4
3453 #define FLASH_FCFG_B3_START_B3_MUX_FACTOR_M                         0x0F000000
3454 #define FLASH_FCFG_B3_START_B3_MUX_FACTOR_S                                 24
3455 
3456 // Field:  [23:0] B3_START_ADDR
3457 //
3458 // Internal. Only to be used through TI provided API.
3459 #define FLASH_FCFG_B3_START_B3_START_ADDR_W                                 24
3460 #define FLASH_FCFG_B3_START_B3_START_ADDR_M                         0x00FFFFFF
3461 #define FLASH_FCFG_B3_START_B3_START_ADDR_S                                  0
3462 
3463 //*****************************************************************************
3464 //
3465 // Register: FLASH_O_FCFG_B4_START
3466 //
3467 //*****************************************************************************
3468 // Field: [31:28] B4_MAX_SECTOR
3469 //
3470 // Internal. Only to be used through TI provided API.
3471 #define FLASH_FCFG_B4_START_B4_MAX_SECTOR_W                                  4
3472 #define FLASH_FCFG_B4_START_B4_MAX_SECTOR_M                         0xF0000000
3473 #define FLASH_FCFG_B4_START_B4_MAX_SECTOR_S                                 28
3474 
3475 // Field: [27:24] B4_MUX_FACTOR
3476 //
3477 // Internal. Only to be used through TI provided API.
3478 #define FLASH_FCFG_B4_START_B4_MUX_FACTOR_W                                  4
3479 #define FLASH_FCFG_B4_START_B4_MUX_FACTOR_M                         0x0F000000
3480 #define FLASH_FCFG_B4_START_B4_MUX_FACTOR_S                                 24
3481 
3482 // Field:  [23:0] B4_START_ADDR
3483 //
3484 // Internal. Only to be used through TI provided API.
3485 #define FLASH_FCFG_B4_START_B4_START_ADDR_W                                 24
3486 #define FLASH_FCFG_B4_START_B4_START_ADDR_M                         0x00FFFFFF
3487 #define FLASH_FCFG_B4_START_B4_START_ADDR_S                                  0
3488 
3489 //*****************************************************************************
3490 //
3491 // Register: FLASH_O_FCFG_B5_START
3492 //
3493 //*****************************************************************************
3494 // Field: [31:28] B5_MAX_SECTOR
3495 //
3496 // Internal. Only to be used through TI provided API.
3497 #define FLASH_FCFG_B5_START_B5_MAX_SECTOR_W                                  4
3498 #define FLASH_FCFG_B5_START_B5_MAX_SECTOR_M                         0xF0000000
3499 #define FLASH_FCFG_B5_START_B5_MAX_SECTOR_S                                 28
3500 
3501 // Field: [27:24] B5_MUX_FACTOR
3502 //
3503 // Internal. Only to be used through TI provided API.
3504 #define FLASH_FCFG_B5_START_B5_MUX_FACTOR_W                                  4
3505 #define FLASH_FCFG_B5_START_B5_MUX_FACTOR_M                         0x0F000000
3506 #define FLASH_FCFG_B5_START_B5_MUX_FACTOR_S                                 24
3507 
3508 // Field:  [23:0] B5_START_ADDR
3509 //
3510 // Internal. Only to be used through TI provided API.
3511 #define FLASH_FCFG_B5_START_B5_START_ADDR_W                                 24
3512 #define FLASH_FCFG_B5_START_B5_START_ADDR_M                         0x00FFFFFF
3513 #define FLASH_FCFG_B5_START_B5_START_ADDR_S                                  0
3514 
3515 //*****************************************************************************
3516 //
3517 // Register: FLASH_O_FCFG_B6_START
3518 //
3519 //*****************************************************************************
3520 // Field: [31:28] B6_MAX_SECTOR
3521 //
3522 // Internal. Only to be used through TI provided API.
3523 #define FLASH_FCFG_B6_START_B6_MAX_SECTOR_W                                  4
3524 #define FLASH_FCFG_B6_START_B6_MAX_SECTOR_M                         0xF0000000
3525 #define FLASH_FCFG_B6_START_B6_MAX_SECTOR_S                                 28
3526 
3527 // Field: [27:24] B6_MUX_FACTOR
3528 //
3529 // Internal. Only to be used through TI provided API.
3530 #define FLASH_FCFG_B6_START_B6_MUX_FACTOR_W                                  4
3531 #define FLASH_FCFG_B6_START_B6_MUX_FACTOR_M                         0x0F000000
3532 #define FLASH_FCFG_B6_START_B6_MUX_FACTOR_S                                 24
3533 
3534 // Field:  [23:0] B6_START_ADDR
3535 //
3536 // Internal. Only to be used through TI provided API.
3537 #define FLASH_FCFG_B6_START_B6_START_ADDR_W                                 24
3538 #define FLASH_FCFG_B6_START_B6_START_ADDR_M                         0x00FFFFFF
3539 #define FLASH_FCFG_B6_START_B6_START_ADDR_S                                  0
3540 
3541 //*****************************************************************************
3542 //
3543 // Register: FLASH_O_FCFG_B7_START
3544 //
3545 //*****************************************************************************
3546 // Field: [31:28] B7_MAX_SECTOR
3547 //
3548 // Internal. Only to be used through TI provided API.
3549 #define FLASH_FCFG_B7_START_B7_MAX_SECTOR_W                                  4
3550 #define FLASH_FCFG_B7_START_B7_MAX_SECTOR_M                         0xF0000000
3551 #define FLASH_FCFG_B7_START_B7_MAX_SECTOR_S                                 28
3552 
3553 // Field: [27:24] B7_MUX_FACTOR
3554 //
3555 // Internal. Only to be used through TI provided API.
3556 #define FLASH_FCFG_B7_START_B7_MUX_FACTOR_W                                  4
3557 #define FLASH_FCFG_B7_START_B7_MUX_FACTOR_M                         0x0F000000
3558 #define FLASH_FCFG_B7_START_B7_MUX_FACTOR_S                                 24
3559 
3560 // Field:  [23:0] B7_START_ADDR
3561 //
3562 // Internal. Only to be used through TI provided API.
3563 #define FLASH_FCFG_B7_START_B7_START_ADDR_W                                 24
3564 #define FLASH_FCFG_B7_START_B7_START_ADDR_M                         0x00FFFFFF
3565 #define FLASH_FCFG_B7_START_B7_START_ADDR_S                                  0
3566 
3567 //*****************************************************************************
3568 //
3569 // Register: FLASH_O_FCFG_B0_SSIZE0
3570 //
3571 //*****************************************************************************
3572 // Field: [27:16] B0_NUM_SECTORS
3573 //
3574 // Internal. Only to be used through TI provided API.
3575 #define FLASH_FCFG_B0_SSIZE0_B0_NUM_SECTORS_W                               12
3576 #define FLASH_FCFG_B0_SSIZE0_B0_NUM_SECTORS_M                       0x0FFF0000
3577 #define FLASH_FCFG_B0_SSIZE0_B0_NUM_SECTORS_S                               16
3578 
3579 // Field:   [3:0] B0_SECT_SIZE
3580 //
3581 // Internal. Only to be used through TI provided API.
3582 #define FLASH_FCFG_B0_SSIZE0_B0_SECT_SIZE_W                                  4
3583 #define FLASH_FCFG_B0_SSIZE0_B0_SECT_SIZE_M                         0x0000000F
3584 #define FLASH_FCFG_B0_SSIZE0_B0_SECT_SIZE_S                                  0
3585 
3586 //*****************************************************************************
3587 //
3588 // Register: FLASH_O_FCFG_B0_SSIZE1
3589 //
3590 //*****************************************************************************
3591 //*****************************************************************************
3592 //
3593 // Register: FLASH_O_FCFG_B0_SSIZE2
3594 //
3595 //*****************************************************************************
3596 //*****************************************************************************
3597 //
3598 // Register: FLASH_O_FCFG_B0_SSIZE3
3599 //
3600 //*****************************************************************************
3601 //*****************************************************************************
3602 //
3603 // Register: FLASH_O_FCFG_B1_SSIZE0
3604 //
3605 //*****************************************************************************
3606 // Field: [27:16] B0_NUM_SECTORS
3607 //
3608 // Internal. Only to be used through TI provided API.
3609 #define FLASH_FCFG_B1_SSIZE0_B0_NUM_SECTORS_W                               12
3610 #define FLASH_FCFG_B1_SSIZE0_B0_NUM_SECTORS_M                       0x0FFF0000
3611 #define FLASH_FCFG_B1_SSIZE0_B0_NUM_SECTORS_S                               16
3612 
3613 // Field:   [3:0] B0_SECT_SIZE
3614 //
3615 // Internal. Only to be used through TI provided API.
3616 #define FLASH_FCFG_B1_SSIZE0_B0_SECT_SIZE_W                                  4
3617 #define FLASH_FCFG_B1_SSIZE0_B0_SECT_SIZE_M                         0x0000000F
3618 #define FLASH_FCFG_B1_SSIZE0_B0_SECT_SIZE_S                                  0
3619 
3620 //*****************************************************************************
3621 //
3622 // Register: FLASH_O_FCFG_B1_SSIZE1
3623 //
3624 //*****************************************************************************
3625 //*****************************************************************************
3626 //
3627 // Register: FLASH_O_FCFG_B1_SSIZE2
3628 //
3629 //*****************************************************************************
3630 //*****************************************************************************
3631 //
3632 // Register: FLASH_O_FCFG_B1_SSIZE3
3633 //
3634 //*****************************************************************************
3635 //*****************************************************************************
3636 //
3637 // Register: FLASH_O_FCFG_B2_SSIZE0
3638 //
3639 //*****************************************************************************
3640 // Field: [27:16] B0_NUM_SECTORS
3641 //
3642 // Internal. Only to be used through TI provided API.
3643 #define FLASH_FCFG_B2_SSIZE0_B0_NUM_SECTORS_W                               12
3644 #define FLASH_FCFG_B2_SSIZE0_B0_NUM_SECTORS_M                       0x0FFF0000
3645 #define FLASH_FCFG_B2_SSIZE0_B0_NUM_SECTORS_S                               16
3646 
3647 // Field:   [3:0] B0_SECT_SIZE
3648 //
3649 // Internal. Only to be used through TI provided API.
3650 #define FLASH_FCFG_B2_SSIZE0_B0_SECT_SIZE_W                                  4
3651 #define FLASH_FCFG_B2_SSIZE0_B0_SECT_SIZE_M                         0x0000000F
3652 #define FLASH_FCFG_B2_SSIZE0_B0_SECT_SIZE_S                                  0
3653 
3654 //*****************************************************************************
3655 //
3656 // Register: FLASH_O_FCFG_B2_SSIZE1
3657 //
3658 //*****************************************************************************
3659 //*****************************************************************************
3660 //
3661 // Register: FLASH_O_FCFG_B2_SSIZE2
3662 //
3663 //*****************************************************************************
3664 //*****************************************************************************
3665 //
3666 // Register: FLASH_O_FCFG_B2_SSIZE3
3667 //
3668 //*****************************************************************************
3669 //*****************************************************************************
3670 //
3671 // Register: FLASH_O_FCFG_B3_SSIZE0
3672 //
3673 //*****************************************************************************
3674 //*****************************************************************************
3675 //
3676 // Register: FLASH_O_FCFG_B3_SSIZE1
3677 //
3678 //*****************************************************************************
3679 //*****************************************************************************
3680 //
3681 // Register: FLASH_O_FCFG_B3_SSIZE2
3682 //
3683 //*****************************************************************************
3684 //*****************************************************************************
3685 //
3686 // Register: FLASH_O_FCFG_B3_SSIZE3
3687 //
3688 //*****************************************************************************
3689 //*****************************************************************************
3690 //
3691 // Register: FLASH_O_FCFG_B4_SSIZE0
3692 //
3693 //*****************************************************************************
3694 //*****************************************************************************
3695 //
3696 // Register: FLASH_O_FCFG_B4_SSIZE1
3697 //
3698 //*****************************************************************************
3699 //*****************************************************************************
3700 //
3701 // Register: FLASH_O_FCFG_B4_SSIZE2
3702 //
3703 //*****************************************************************************
3704 //*****************************************************************************
3705 //
3706 // Register: FLASH_O_FCFG_B4_SSIZE3
3707 //
3708 //*****************************************************************************
3709 //*****************************************************************************
3710 //
3711 // Register: FLASH_O_FCFG_B5_SSIZE0
3712 //
3713 //*****************************************************************************
3714 //*****************************************************************************
3715 //
3716 // Register: FLASH_O_FCFG_B5_SSIZE1
3717 //
3718 //*****************************************************************************
3719 //*****************************************************************************
3720 //
3721 // Register: FLASH_O_FCFG_B5_SSIZE2
3722 //
3723 //*****************************************************************************
3724 //*****************************************************************************
3725 //
3726 // Register: FLASH_O_FCFG_B5_SSIZE3
3727 //
3728 //*****************************************************************************
3729 //*****************************************************************************
3730 //
3731 // Register: FLASH_O_FCFG_B6_SSIZE0
3732 //
3733 //*****************************************************************************
3734 //*****************************************************************************
3735 //
3736 // Register: FLASH_O_FCFG_B6_SSIZE1
3737 //
3738 //*****************************************************************************
3739 //*****************************************************************************
3740 //
3741 // Register: FLASH_O_FCFG_B6_SSIZE2
3742 //
3743 //*****************************************************************************
3744 //*****************************************************************************
3745 //
3746 // Register: FLASH_O_FCFG_B6_SSIZE3
3747 //
3748 //*****************************************************************************
3749 //*****************************************************************************
3750 //
3751 // Register: FLASH_O_FCFG_B7_SSIZE0
3752 //
3753 //*****************************************************************************
3754 //*****************************************************************************
3755 //
3756 // Register: FLASH_O_FCFG_B7_SSIZE1
3757 //
3758 //*****************************************************************************
3759 //*****************************************************************************
3760 //
3761 // Register: FLASH_O_FCFG_B7_SSIZE2
3762 //
3763 //*****************************************************************************
3764 //*****************************************************************************
3765 //
3766 // Register: FLASH_O_FCFG_B7_SSIZE3
3767 //
3768 //*****************************************************************************
3769 
3770 #endif // __FLASH__
3771