-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathhw_ccfg.h
1919 lines (1707 loc) · 87.2 KB
/
hw_ccfg.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/******************************************************************************
* Filename: hw_ccfg_h
* Revised: 2017-02-16 09:17:04 +0100 (Thu, 16 Feb 2017)
* Revision: 48471
*
* Copyright (c) 2015 - 2017, Texas Instruments Incorporated
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1) Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
*
* 2) Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* 3) Neither the name of the ORGANIZATION nor the names of its contributors may
* be used to endorse or promote products derived from this software without
* specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
******************************************************************************/
#ifndef __HW_CCFG_H__
#define __HW_CCFG_H__
//*****************************************************************************
//
// This section defines the register offsets of
// CCFG component
//
//*****************************************************************************
// Extern LF clock configuration
#define CCFG_O_EXT_LF_CLK 0x00000FA8
// Mode Configuration 1
#define CCFG_O_MODE_CONF_1 0x00000FAC
// CCFG Size and Disable Flags
#define CCFG_O_SIZE_AND_DIS_FLAGS 0x00000FB0
// Mode Configuration 0
#define CCFG_O_MODE_CONF 0x00000FB4
// Voltage Load 0
#define CCFG_O_VOLT_LOAD_0 0x00000FB8
// Voltage Load 1
#define CCFG_O_VOLT_LOAD_1 0x00000FBC
// Real Time Clock Offset
#define CCFG_O_RTC_OFFSET 0x00000FC0
// Frequency Offset
#define CCFG_O_FREQ_OFFSET 0x00000FC4
// IEEE MAC Address 0
#define CCFG_O_IEEE_MAC_0 0x00000FC8
// IEEE MAC Address 1
#define CCFG_O_IEEE_MAC_1 0x00000FCC
// IEEE BLE Address 0
#define CCFG_O_IEEE_BLE_0 0x00000FD0
// IEEE BLE Address 1
#define CCFG_O_IEEE_BLE_1 0x00000FD4
// Bootloader Configuration
#define CCFG_O_BL_CONFIG 0x00000FD8
// Erase Configuration
#define CCFG_O_ERASE_CONF 0x00000FDC
// TI Options
#define CCFG_O_CCFG_TI_OPTIONS 0x00000FE0
// Test Access Points Enable 0
#define CCFG_O_CCFG_TAP_DAP_0 0x00000FE4
// Test Access Points Enable 1
#define CCFG_O_CCFG_TAP_DAP_1 0x00000FE8
// Image Valid
#define CCFG_O_IMAGE_VALID_CONF 0x00000FEC
// Protect Sectors 0-31
#define CCFG_O_CCFG_PROT_31_0 0x00000FF0
// Protect Sectors 32-63
#define CCFG_O_CCFG_PROT_63_32 0x00000FF4
// Protect Sectors 64-95
#define CCFG_O_CCFG_PROT_95_64 0x00000FF8
// Protect Sectors 96-127
#define CCFG_O_CCFG_PROT_127_96 0x00000FFC
//*****************************************************************************
//
// Register: CCFG_O_EXT_LF_CLK
//
//*****************************************************************************
// Field: [31:24] DIO
//
// Unsigned integer, selecting the DIO to supply external 32kHz clock as
// SCLK_LF when MODE_CONF.SCLK_LF_OPTION is set to EXTERNAL. The selected DIO
// will be marked as reserved by the pin driver (TI-RTOS environment) and hence
// not selectable for other usage.
#define CCFG_EXT_LF_CLK_DIO_W 8
#define CCFG_EXT_LF_CLK_DIO_M 0xFF000000
#define CCFG_EXT_LF_CLK_DIO_S 24
// Field: [23:0] RTC_INCREMENT
//
// Unsigned integer, defining the input frequency of the external clock and is
// written to AON_RTC:SUBSECINC.VALUEINC. Defined as follows:
// EXT_LF_CLK.RTC_INCREMENT = 2^38/InputClockFrequency in Hertz (e.g.:
// RTC_INCREMENT=0x800000 for InputClockFrequency=32768 Hz)
#define CCFG_EXT_LF_CLK_RTC_INCREMENT_W 24
#define CCFG_EXT_LF_CLK_RTC_INCREMENT_M 0x00FFFFFF
#define CCFG_EXT_LF_CLK_RTC_INCREMENT_S 0
//*****************************************************************************
//
// Register: CCFG_O_MODE_CONF_1
//
//*****************************************************************************
// Field: [23:20] ALT_DCDC_VMIN
//
// Minimum voltage for when DC/DC should be used if alternate DC/DC setting is
// enabled (SIZE_AND_DIS_FLAGS.DIS_ALT_DCDC_SETTING=0).
// Voltage = (28 + ALT_DCDC_VMIN) / 16.
// 0: 1.75V
// 1: 1.8125V
// ...
// 14: 2.625V
// 15: 2.6875V
//
// NOTE! The DriverLib function SysCtrl_DCDC_VoltageConditionalControl() must
// be called regularly to apply this field (handled automatically if using TI
// RTOS!).
#define CCFG_MODE_CONF_1_ALT_DCDC_VMIN_W 4
#define CCFG_MODE_CONF_1_ALT_DCDC_VMIN_M 0x00F00000
#define CCFG_MODE_CONF_1_ALT_DCDC_VMIN_S 20
// Field: [19] ALT_DCDC_DITHER_EN
//
// Enable DC/DC dithering if alternate DC/DC setting is enabled
// (SIZE_AND_DIS_FLAGS.DIS_ALT_DCDC_SETTING=0).
// 0: Dither disable
// 1: Dither enable
#define CCFG_MODE_CONF_1_ALT_DCDC_DITHER_EN 0x00080000
#define CCFG_MODE_CONF_1_ALT_DCDC_DITHER_EN_BITN 19
#define CCFG_MODE_CONF_1_ALT_DCDC_DITHER_EN_M 0x00080000
#define CCFG_MODE_CONF_1_ALT_DCDC_DITHER_EN_S 19
// Field: [18:16] ALT_DCDC_IPEAK
//
// Inductor peak current if alternate DC/DC setting is enabled
// (SIZE_AND_DIS_FLAGS.DIS_ALT_DCDC_SETTING=0). Assuming 10uH external
// inductor!
// Peak current = 31 + ( 4 * ALT_DCDC_IPEAK ) :
// 0: 31mA (min)
// ...
// 4: 47mA
// ...
// 7: 59mA (max)
#define CCFG_MODE_CONF_1_ALT_DCDC_IPEAK_W 3
#define CCFG_MODE_CONF_1_ALT_DCDC_IPEAK_M 0x00070000
#define CCFG_MODE_CONF_1_ALT_DCDC_IPEAK_S 16
// Field: [15:12] DELTA_IBIAS_INIT
//
// Signed delta value for IBIAS_INIT. Delta value only applies if
// SIZE_AND_DIS_FLAGS.DIS_XOSC_OVR=0.
// See FCFG1:AMPCOMP_CTRL1.IBIAS_INIT
#define CCFG_MODE_CONF_1_DELTA_IBIAS_INIT_W 4
#define CCFG_MODE_CONF_1_DELTA_IBIAS_INIT_M 0x0000F000
#define CCFG_MODE_CONF_1_DELTA_IBIAS_INIT_S 12
// Field: [11:8] DELTA_IBIAS_OFFSET
//
// Signed delta value for IBIAS_OFFSET. Delta value only applies if
// SIZE_AND_DIS_FLAGS.DIS_XOSC_OVR=0.
// See FCFG1:AMPCOMP_CTRL1.IBIAS_OFFSET
#define CCFG_MODE_CONF_1_DELTA_IBIAS_OFFSET_W 4
#define CCFG_MODE_CONF_1_DELTA_IBIAS_OFFSET_M 0x00000F00
#define CCFG_MODE_CONF_1_DELTA_IBIAS_OFFSET_S 8
// Field: [7:0] XOSC_MAX_START
//
// Unsigned value of maximum XOSC startup time (worst case) in units of 100us.
// Value only applies if SIZE_AND_DIS_FLAGS.DIS_XOSC_OVR=0.
#define CCFG_MODE_CONF_1_XOSC_MAX_START_W 8
#define CCFG_MODE_CONF_1_XOSC_MAX_START_M 0x000000FF
#define CCFG_MODE_CONF_1_XOSC_MAX_START_S 0
//*****************************************************************************
//
// Register: CCFG_O_SIZE_AND_DIS_FLAGS
//
//*****************************************************************************
// Field: [31:16] SIZE_OF_CCFG
//
// Total size of CCFG in bytes.
#define CCFG_SIZE_AND_DIS_FLAGS_SIZE_OF_CCFG_W 16
#define CCFG_SIZE_AND_DIS_FLAGS_SIZE_OF_CCFG_M 0xFFFF0000
#define CCFG_SIZE_AND_DIS_FLAGS_SIZE_OF_CCFG_S 16
// Field: [15:4] DISABLE_FLAGS
//
// Reserved for future use. Software should not rely on the value of a
// reserved. Writing any other value than the reset/default value may result in
// undefined behavior.
#define CCFG_SIZE_AND_DIS_FLAGS_DISABLE_FLAGS_W 12
#define CCFG_SIZE_AND_DIS_FLAGS_DISABLE_FLAGS_M 0x0000FFF0
#define CCFG_SIZE_AND_DIS_FLAGS_DISABLE_FLAGS_S 4
// Field: [3] DIS_TCXO
//
// Disable TCXO.
// 0: TCXO functionality enabled.
// 1: TCXO functionality disabled.
// Note:
// An external TCXO is required if DIS_TCXO = 0.
#define CCFG_SIZE_AND_DIS_FLAGS_DIS_TCXO 0x00000008
#define CCFG_SIZE_AND_DIS_FLAGS_DIS_TCXO_BITN 3
#define CCFG_SIZE_AND_DIS_FLAGS_DIS_TCXO_M 0x00000008
#define CCFG_SIZE_AND_DIS_FLAGS_DIS_TCXO_S 3
// Field: [2] DIS_GPRAM
//
// Disable GPRAM (or use the 8K VIMS RAM as CACHE RAM).
// 0: GPRAM is enabled and hence CACHE disabled.
// 1: GPRAM is disabled and instead CACHE is enabled (default).
// Notes:
// - Disabling CACHE will reduce CPU execution speed (up to 60%).
// - GPRAM is 8 K-bytes in size and located at 0x11000000-0x11001FFF if
// enabled.
// See:
// VIMS:CTL.MODE
#define CCFG_SIZE_AND_DIS_FLAGS_DIS_GPRAM 0x00000004
#define CCFG_SIZE_AND_DIS_FLAGS_DIS_GPRAM_BITN 2
#define CCFG_SIZE_AND_DIS_FLAGS_DIS_GPRAM_M 0x00000004
#define CCFG_SIZE_AND_DIS_FLAGS_DIS_GPRAM_S 2
// Field: [1] DIS_ALT_DCDC_SETTING
//
// Disable alternate DC/DC settings.
// 0: Enable alternate DC/DC settings.
// 1: Disable alternate DC/DC settings.
// See:
// MODE_CONF_1.ALT_DCDC_VMIN
// MODE_CONF_1.ALT_DCDC_DITHER_EN
// MODE_CONF_1.ALT_DCDC_IPEAK
//
// NOTE! The DriverLib function SysCtrl_DCDC_VoltageConditionalControl() must
// be called regularly to apply this field (handled automatically if using TI
// RTOS!).
#define CCFG_SIZE_AND_DIS_FLAGS_DIS_ALT_DCDC_SETTING 0x00000002
#define CCFG_SIZE_AND_DIS_FLAGS_DIS_ALT_DCDC_SETTING_BITN 1
#define CCFG_SIZE_AND_DIS_FLAGS_DIS_ALT_DCDC_SETTING_M 0x00000002
#define CCFG_SIZE_AND_DIS_FLAGS_DIS_ALT_DCDC_SETTING_S 1
// Field: [0] DIS_XOSC_OVR
//
// Disable XOSC override functionality.
// 0: Enable XOSC override functionality.
// 1: Disable XOSC override functionality.
// See:
// MODE_CONF_1.DELTA_IBIAS_INIT
// MODE_CONF_1.DELTA_IBIAS_OFFSET
// MODE_CONF_1.XOSC_MAX_START
#define CCFG_SIZE_AND_DIS_FLAGS_DIS_XOSC_OVR 0x00000001
#define CCFG_SIZE_AND_DIS_FLAGS_DIS_XOSC_OVR_BITN 0
#define CCFG_SIZE_AND_DIS_FLAGS_DIS_XOSC_OVR_M 0x00000001
#define CCFG_SIZE_AND_DIS_FLAGS_DIS_XOSC_OVR_S 0
//*****************************************************************************
//
// Register: CCFG_O_MODE_CONF
//
//*****************************************************************************
// Field: [31:28] VDDR_TRIM_SLEEP_DELTA
//
// Signed delta value to apply to the
// VDDR_TRIM_SLEEP target, minus one. See FCFG1:VOLT_TRIM.VDDR_TRIM_SLEEP_H.
// 0x8 (-8) : Delta = -7
// ...
// 0xF (-1) : Delta = 0
// 0x0 (0) : Delta = +1
// ...
// 0x7 (7) : Delta = +8
#define CCFG_MODE_CONF_VDDR_TRIM_SLEEP_DELTA_W 4
#define CCFG_MODE_CONF_VDDR_TRIM_SLEEP_DELTA_M 0xF0000000
#define CCFG_MODE_CONF_VDDR_TRIM_SLEEP_DELTA_S 28
// Field: [27] DCDC_RECHARGE
//
// DC/DC during recharge in powerdown.
// 0: Use the DC/DC during recharge in powerdown.
// 1: Do not use the DC/DC during recharge in powerdown (default).
//
// NOTE! The DriverLib function SysCtrl_DCDC_VoltageConditionalControl() must
// be called regularly to apply this field (handled automatically if using TI
// RTOS!).
#define CCFG_MODE_CONF_DCDC_RECHARGE 0x08000000
#define CCFG_MODE_CONF_DCDC_RECHARGE_BITN 27
#define CCFG_MODE_CONF_DCDC_RECHARGE_M 0x08000000
#define CCFG_MODE_CONF_DCDC_RECHARGE_S 27
// Field: [26] DCDC_ACTIVE
//
// DC/DC in active mode.
// 0: Use the DC/DC during active mode.
// 1: Do not use the DC/DC during active mode (default).
//
// NOTE! The DriverLib function SysCtrl_DCDC_VoltageConditionalControl() must
// be called regularly to apply this field (handled automatically if using TI
// RTOS!).
#define CCFG_MODE_CONF_DCDC_ACTIVE 0x04000000
#define CCFG_MODE_CONF_DCDC_ACTIVE_BITN 26
#define CCFG_MODE_CONF_DCDC_ACTIVE_M 0x04000000
#define CCFG_MODE_CONF_DCDC_ACTIVE_S 26
// Field: [25] VDDR_EXT_LOAD
//
// Reserved for future use. Software should not rely on the value of a
// reserved. Writing any other value than the reset/default value may result in
// undefined behavior.
#define CCFG_MODE_CONF_VDDR_EXT_LOAD 0x02000000
#define CCFG_MODE_CONF_VDDR_EXT_LOAD_BITN 25
#define CCFG_MODE_CONF_VDDR_EXT_LOAD_M 0x02000000
#define CCFG_MODE_CONF_VDDR_EXT_LOAD_S 25
// Field: [24] VDDS_BOD_LEVEL
//
// VDDS BOD level.
// 0: VDDS BOD level is 2.0 V (necessary for maximum PA output power on
// CC13x0).
// 1: VDDS BOD level is 1.8 V (or 1.7 V for external regulator mode) (default).
#define CCFG_MODE_CONF_VDDS_BOD_LEVEL 0x01000000
#define CCFG_MODE_CONF_VDDS_BOD_LEVEL_BITN 24
#define CCFG_MODE_CONF_VDDS_BOD_LEVEL_M 0x01000000
#define CCFG_MODE_CONF_VDDS_BOD_LEVEL_S 24
// Field: [23:22] SCLK_LF_OPTION
//
// Select source for SCLK_LF.
// ENUMs:
// RCOSC_LF Low frequency RCOSC (default)
// XOSC_LF 32.768kHz low frequency XOSC
// EXTERNAL_LF External low frequency clock on DIO defined by
// EXT_LF_CLK.DIO. The RTC tick speed
// AON_RTC:SUBSECINC is updated to
// EXT_LF_CLK.RTC_INCREMENT (done in the
// trimDevice() xxWare boot function). External
// clock must always be running when the chip is
// in standby for VDDR recharge timing.
// XOSC_HF_DLF 31.25kHz clock derived from 24MHz XOSC (dividing
// by 768 in HW). The RTC tick speed
// [AON_RTC.SUBSECINC.*] is updated to 0x8637BD,
// corresponding to a 31.25kHz clock (done in the
// trimDevice() xxWare boot function). Standby
// power mode is not supported when using this
// clock source.
#define CCFG_MODE_CONF_SCLK_LF_OPTION_W 2
#define CCFG_MODE_CONF_SCLK_LF_OPTION_M 0x00C00000
#define CCFG_MODE_CONF_SCLK_LF_OPTION_S 22
#define CCFG_MODE_CONF_SCLK_LF_OPTION_RCOSC_LF 0x00C00000
#define CCFG_MODE_CONF_SCLK_LF_OPTION_XOSC_LF 0x00800000
#define CCFG_MODE_CONF_SCLK_LF_OPTION_EXTERNAL_LF 0x00400000
#define CCFG_MODE_CONF_SCLK_LF_OPTION_XOSC_HF_DLF 0x00000000
// Field: [21] VDDR_TRIM_SLEEP_TC
//
// 0x1: VDDR_TRIM_SLEEP_DELTA is not temperature compensated
// 0x0: RTOS/driver temperature compensates VDDR_TRIM_SLEEP_DELTA every time
// standby mode is entered. This improves low-temperature RCOSC_LF frequency
// stability in standby mode.
//
// When temperature compensation is performed, the delta is calculates this
// way:
// Delta = max (delta, min(8, floor(62-temp)/8))
// Here, delta is given by VDDR_TRIM_SLEEP_DELTA, and temp is the current
// temperature in degrees C.
#define CCFG_MODE_CONF_VDDR_TRIM_SLEEP_TC 0x00200000
#define CCFG_MODE_CONF_VDDR_TRIM_SLEEP_TC_BITN 21
#define CCFG_MODE_CONF_VDDR_TRIM_SLEEP_TC_M 0x00200000
#define CCFG_MODE_CONF_VDDR_TRIM_SLEEP_TC_S 21
// Field: [20] RTC_COMP
//
// Reserved for future use. Software should not rely on the value of a
// reserved. Writing any other value than the reset/default value may result in
// undefined behavior.
#define CCFG_MODE_CONF_RTC_COMP 0x00100000
#define CCFG_MODE_CONF_RTC_COMP_BITN 20
#define CCFG_MODE_CONF_RTC_COMP_M 0x00100000
#define CCFG_MODE_CONF_RTC_COMP_S 20
// Field: [19:18] XOSC_FREQ
//
// Reserved for future use. Software should not rely on the value of a
// reserved. Writing any other value than the reset/default value may result in
// undefined behavior.
// ENUMs:
// 24M 24 MHz XOSC_HF
// 48M 48 MHz XOSC_HF
// HPOSC HPOSC
#define CCFG_MODE_CONF_XOSC_FREQ_W 2
#define CCFG_MODE_CONF_XOSC_FREQ_M 0x000C0000
#define CCFG_MODE_CONF_XOSC_FREQ_S 18
#define CCFG_MODE_CONF_XOSC_FREQ_24M 0x000C0000
#define CCFG_MODE_CONF_XOSC_FREQ_48M 0x00080000
#define CCFG_MODE_CONF_XOSC_FREQ_HPOSC 0x00040000
// Field: [17] XOSC_CAP_MOD
//
// Enable modification (delta) to XOSC cap-array. Value specified in
// XOSC_CAPARRAY_DELTA.
// 0: Apply cap-array delta
// 1: Do not apply cap-array delta (default)
#define CCFG_MODE_CONF_XOSC_CAP_MOD 0x00020000
#define CCFG_MODE_CONF_XOSC_CAP_MOD_BITN 17
#define CCFG_MODE_CONF_XOSC_CAP_MOD_M 0x00020000
#define CCFG_MODE_CONF_XOSC_CAP_MOD_S 17
// Field: [16] HF_COMP
//
// Reserved for future use. Software should not rely on the value of a
// reserved. Writing any other value than the reset/default value may result in
// undefined behavior.
#define CCFG_MODE_CONF_HF_COMP 0x00010000
#define CCFG_MODE_CONF_HF_COMP_BITN 16
#define CCFG_MODE_CONF_HF_COMP_M 0x00010000
#define CCFG_MODE_CONF_HF_COMP_S 16
// Field: [15:8] XOSC_CAPARRAY_DELTA
//
// Signed 8-bit value, directly modifying trimmed XOSC cap-array step value.
// Enabled by XOSC_CAP_MOD.
#define CCFG_MODE_CONF_XOSC_CAPARRAY_DELTA_W 8
#define CCFG_MODE_CONF_XOSC_CAPARRAY_DELTA_M 0x0000FF00
#define CCFG_MODE_CONF_XOSC_CAPARRAY_DELTA_S 8
// Field: [7:0] VDDR_CAP
//
// Unsigned 8-bit integer, representing the minimum decoupling capacitance
// (worst case) on VDDR, in units of 100nF. This should take into account
// capacitor tolerance and voltage dependent capacitance variation. This bit
// affects the recharge period calculation when going into powerdown or
// standby.
//
// NOTE! If using the following functions this field must be configured (used
// by TI RTOS):
// SysCtrlSetRechargeBeforePowerDown() SysCtrlAdjustRechargeAfterPowerDown()
#define CCFG_MODE_CONF_VDDR_CAP_W 8
#define CCFG_MODE_CONF_VDDR_CAP_M 0x000000FF
#define CCFG_MODE_CONF_VDDR_CAP_S 0
//*****************************************************************************
//
// Register: CCFG_O_VOLT_LOAD_0
//
//*****************************************************************************
// Field: [31:24] VDDR_EXT_TP45
//
// Reserved for future use. Software should not rely on the value of a
// reserved. Writing any other value than the reset/default value may result in
// undefined behavior.
#define CCFG_VOLT_LOAD_0_VDDR_EXT_TP45_W 8
#define CCFG_VOLT_LOAD_0_VDDR_EXT_TP45_M 0xFF000000
#define CCFG_VOLT_LOAD_0_VDDR_EXT_TP45_S 24
// Field: [23:16] VDDR_EXT_TP25
//
// Reserved for future use. Software should not rely on the value of a
// reserved. Writing any other value than the reset/default value may result in
// undefined behavior.
#define CCFG_VOLT_LOAD_0_VDDR_EXT_TP25_W 8
#define CCFG_VOLT_LOAD_0_VDDR_EXT_TP25_M 0x00FF0000
#define CCFG_VOLT_LOAD_0_VDDR_EXT_TP25_S 16
// Field: [15:8] VDDR_EXT_TP5
//
// Reserved for future use. Software should not rely on the value of a
// reserved. Writing any other value than the reset/default value may result in
// undefined behavior.
#define CCFG_VOLT_LOAD_0_VDDR_EXT_TP5_W 8
#define CCFG_VOLT_LOAD_0_VDDR_EXT_TP5_M 0x0000FF00
#define CCFG_VOLT_LOAD_0_VDDR_EXT_TP5_S 8
// Field: [7:0] VDDR_EXT_TM15
//
// Reserved for future use. Software should not rely on the value of a
// reserved. Writing any other value than the reset/default value may result in
// undefined behavior.
#define CCFG_VOLT_LOAD_0_VDDR_EXT_TM15_W 8
#define CCFG_VOLT_LOAD_0_VDDR_EXT_TM15_M 0x000000FF
#define CCFG_VOLT_LOAD_0_VDDR_EXT_TM15_S 0
//*****************************************************************************
//
// Register: CCFG_O_VOLT_LOAD_1
//
//*****************************************************************************
// Field: [31:24] VDDR_EXT_TP125
//
// Reserved for future use. Software should not rely on the value of a
// reserved. Writing any other value than the reset/default value may result in
// undefined behavior.
#define CCFG_VOLT_LOAD_1_VDDR_EXT_TP125_W 8
#define CCFG_VOLT_LOAD_1_VDDR_EXT_TP125_M 0xFF000000
#define CCFG_VOLT_LOAD_1_VDDR_EXT_TP125_S 24
// Field: [23:16] VDDR_EXT_TP105
//
// Reserved for future use. Software should not rely on the value of a
// reserved. Writing any other value than the reset/default value may result in
// undefined behavior.
#define CCFG_VOLT_LOAD_1_VDDR_EXT_TP105_W 8
#define CCFG_VOLT_LOAD_1_VDDR_EXT_TP105_M 0x00FF0000
#define CCFG_VOLT_LOAD_1_VDDR_EXT_TP105_S 16
// Field: [15:8] VDDR_EXT_TP85
//
// Reserved for future use. Software should not rely on the value of a
// reserved. Writing any other value than the reset/default value may result in
// undefined behavior.
#define CCFG_VOLT_LOAD_1_VDDR_EXT_TP85_W 8
#define CCFG_VOLT_LOAD_1_VDDR_EXT_TP85_M 0x0000FF00
#define CCFG_VOLT_LOAD_1_VDDR_EXT_TP85_S 8
// Field: [7:0] VDDR_EXT_TP65
//
// Reserved for future use. Software should not rely on the value of a
// reserved. Writing any other value than the reset/default value may result in
// undefined behavior.
#define CCFG_VOLT_LOAD_1_VDDR_EXT_TP65_W 8
#define CCFG_VOLT_LOAD_1_VDDR_EXT_TP65_M 0x000000FF
#define CCFG_VOLT_LOAD_1_VDDR_EXT_TP65_S 0
//*****************************************************************************
//
// Register: CCFG_O_RTC_OFFSET
//
//*****************************************************************************
// Field: [31:16] RTC_COMP_P0
//
// Reserved for future use. Software should not rely on the value of a
// reserved. Writing any other value than the reset/default value may result in
// undefined behavior.
#define CCFG_RTC_OFFSET_RTC_COMP_P0_W 16
#define CCFG_RTC_OFFSET_RTC_COMP_P0_M 0xFFFF0000
#define CCFG_RTC_OFFSET_RTC_COMP_P0_S 16
// Field: [15:8] RTC_COMP_P1
//
// Reserved for future use. Software should not rely on the value of a
// reserved. Writing any other value than the reset/default value may result in
// undefined behavior.
#define CCFG_RTC_OFFSET_RTC_COMP_P1_W 8
#define CCFG_RTC_OFFSET_RTC_COMP_P1_M 0x0000FF00
#define CCFG_RTC_OFFSET_RTC_COMP_P1_S 8
// Field: [7:0] RTC_COMP_P2
//
// Reserved for future use. Software should not rely on the value of a
// reserved. Writing any other value than the reset/default value may result in
// undefined behavior.
#define CCFG_RTC_OFFSET_RTC_COMP_P2_W 8
#define CCFG_RTC_OFFSET_RTC_COMP_P2_M 0x000000FF
#define CCFG_RTC_OFFSET_RTC_COMP_P2_S 0
//*****************************************************************************
//
// Register: CCFG_O_FREQ_OFFSET
//
//*****************************************************************************
// Field: [31:16] HF_COMP_P0
//
// Reserved for future use. Software should not rely on the value of a
// reserved. Writing any other value than the reset/default value may result in
// undefined behavior.
#define CCFG_FREQ_OFFSET_HF_COMP_P0_W 16
#define CCFG_FREQ_OFFSET_HF_COMP_P0_M 0xFFFF0000
#define CCFG_FREQ_OFFSET_HF_COMP_P0_S 16
// Field: [15:8] HF_COMP_P1
//
// Reserved for future use. Software should not rely on the value of a
// reserved. Writing any other value than the reset/default value may result in
// undefined behavior.
#define CCFG_FREQ_OFFSET_HF_COMP_P1_W 8
#define CCFG_FREQ_OFFSET_HF_COMP_P1_M 0x0000FF00
#define CCFG_FREQ_OFFSET_HF_COMP_P1_S 8
// Field: [7:0] HF_COMP_P2
//
// Reserved for future use. Software should not rely on the value of a
// reserved. Writing any other value than the reset/default value may result in
// undefined behavior.
#define CCFG_FREQ_OFFSET_HF_COMP_P2_W 8
#define CCFG_FREQ_OFFSET_HF_COMP_P2_M 0x000000FF
#define CCFG_FREQ_OFFSET_HF_COMP_P2_S 0
//*****************************************************************************
//
// Register: CCFG_O_IEEE_MAC_0
//
//*****************************************************************************
// Field: [31:0] ADDR
//
// Bits[31:0] of the 64-bits custom IEEE MAC address.
// If different from 0xFFFFFFFF then the value of this field is applied;
// otherwise use value from FCFG.
#define CCFG_IEEE_MAC_0_ADDR_W 32
#define CCFG_IEEE_MAC_0_ADDR_M 0xFFFFFFFF
#define CCFG_IEEE_MAC_0_ADDR_S 0
//*****************************************************************************
//
// Register: CCFG_O_IEEE_MAC_1
//
//*****************************************************************************
// Field: [31:0] ADDR
//
// Bits[63:32] of the 64-bits custom IEEE MAC address.
// If different from 0xFFFFFFFF then the value of this field is applied;
// otherwise use value from FCFG.
#define CCFG_IEEE_MAC_1_ADDR_W 32
#define CCFG_IEEE_MAC_1_ADDR_M 0xFFFFFFFF
#define CCFG_IEEE_MAC_1_ADDR_S 0
//*****************************************************************************
//
// Register: CCFG_O_IEEE_BLE_0
//
//*****************************************************************************
// Field: [31:0] ADDR
//
// Bits[31:0] of the 64-bits custom IEEE BLE address.
// If different from 0xFFFFFFFF then the value of this field is applied;
// otherwise use value from FCFG.
#define CCFG_IEEE_BLE_0_ADDR_W 32
#define CCFG_IEEE_BLE_0_ADDR_M 0xFFFFFFFF
#define CCFG_IEEE_BLE_0_ADDR_S 0
//*****************************************************************************
//
// Register: CCFG_O_IEEE_BLE_1
//
//*****************************************************************************
// Field: [31:0] ADDR
//
// Bits[63:32] of the 64-bits custom IEEE BLE address.
// If different from 0xFFFFFFFF then the value of this field is applied;
// otherwise use value from FCFG.
#define CCFG_IEEE_BLE_1_ADDR_W 32
#define CCFG_IEEE_BLE_1_ADDR_M 0xFFFFFFFF
#define CCFG_IEEE_BLE_1_ADDR_S 0
//*****************************************************************************
//
// Register: CCFG_O_BL_CONFIG
//
//*****************************************************************************
// Field: [31:24] BOOTLOADER_ENABLE
//
// Bootloader enable. Boot loader can be accessed if
// IMAGE_VALID_CONF.IMAGE_VALID is non-zero or BL_ENABLE is enabled (and
// conditions for boot loader backdoor are met).
// 0xC5: Boot loader is enabled.
// Any other value: Boot loader is disabled.
#define CCFG_BL_CONFIG_BOOTLOADER_ENABLE_W 8
#define CCFG_BL_CONFIG_BOOTLOADER_ENABLE_M 0xFF000000
#define CCFG_BL_CONFIG_BOOTLOADER_ENABLE_S 24
// Field: [16] BL_LEVEL
//
// Sets the active level of the selected DIO number BL_PIN_NUMBER if boot
// loader backdoor is enabled by the BL_ENABLE field.
// 0: Active low.
// 1: Active high.
#define CCFG_BL_CONFIG_BL_LEVEL 0x00010000
#define CCFG_BL_CONFIG_BL_LEVEL_BITN 16
#define CCFG_BL_CONFIG_BL_LEVEL_M 0x00010000
#define CCFG_BL_CONFIG_BL_LEVEL_S 16
// Field: [15:8] BL_PIN_NUMBER
//
// DIO number that is level checked if the boot loader backdoor is enabled by
// the BL_ENABLE field.
#define CCFG_BL_CONFIG_BL_PIN_NUMBER_W 8
#define CCFG_BL_CONFIG_BL_PIN_NUMBER_M 0x0000FF00
#define CCFG_BL_CONFIG_BL_PIN_NUMBER_S 8
// Field: [7:0] BL_ENABLE
//
// Enables the boot loader backdoor.
// 0xC5: Boot loader backdoor is enabled.
// Any other value: Boot loader backdoor is disabled.
//
// NOTE! Boot loader must be enabled (see BOOTLOADER_ENABLE) if boot loader
// backdoor is enabled.
#define CCFG_BL_CONFIG_BL_ENABLE_W 8
#define CCFG_BL_CONFIG_BL_ENABLE_M 0x000000FF
#define CCFG_BL_CONFIG_BL_ENABLE_S 0
//*****************************************************************************
//
// Register: CCFG_O_ERASE_CONF
//
//*****************************************************************************
// Field: [8] CHIP_ERASE_DIS_N
//
// Chip erase.
// This bit controls if a chip erase requested through the JTAG WUC TAP will be
// ignored in a following boot caused by a reset of the MCU VD.
// A successful chip erase operation will force the content of the flash main
// bank back to the state as it was when delivered by TI.
// 0: Disable. Any chip erase request detected during boot will be ignored.
// 1: Enable. Any chip erase request detected during boot will be performed by
// the boot FW.
#define CCFG_ERASE_CONF_CHIP_ERASE_DIS_N 0x00000100
#define CCFG_ERASE_CONF_CHIP_ERASE_DIS_N_BITN 8
#define CCFG_ERASE_CONF_CHIP_ERASE_DIS_N_M 0x00000100
#define CCFG_ERASE_CONF_CHIP_ERASE_DIS_N_S 8
// Field: [0] BANK_ERASE_DIS_N
//
// Bank erase.
// This bit controls if the ROM serial boot loader will accept a received Bank
// Erase command (COMMAND_BANK_ERASE).
// A successful Bank Erase operation will erase all main bank sectors not
// protected by write protect configuration bits in CCFG.
// 0: Disable the boot loader bank erase function.
// 1: Enable the boot loader bank erase function.
#define CCFG_ERASE_CONF_BANK_ERASE_DIS_N 0x00000001
#define CCFG_ERASE_CONF_BANK_ERASE_DIS_N_BITN 0
#define CCFG_ERASE_CONF_BANK_ERASE_DIS_N_M 0x00000001
#define CCFG_ERASE_CONF_BANK_ERASE_DIS_N_S 0
//*****************************************************************************
//
// Register: CCFG_O_CCFG_TI_OPTIONS
//
//*****************************************************************************
// Field: [7:0] TI_FA_ENABLE
//
// TI Failure Analysis.
// 0xC5: Enable the functionality of unlocking the TI FA (TI Failure Analysis)
// option with the unlock code.
// All other values: Disable the functionality of unlocking the TI FA option
// with the unlock code.
#define CCFG_CCFG_TI_OPTIONS_TI_FA_ENABLE_W 8
#define CCFG_CCFG_TI_OPTIONS_TI_FA_ENABLE_M 0x000000FF
#define CCFG_CCFG_TI_OPTIONS_TI_FA_ENABLE_S 0
//*****************************************************************************
//
// Register: CCFG_O_CCFG_TAP_DAP_0
//
//*****************************************************************************
// Field: [23:16] CPU_DAP_ENABLE
//
// Enable CPU DAP.
// 0xC5: Main CPU DAP access is enabled during power-up/system-reset by ROM
// boot FW.
// Any other value: Main CPU DAP access will remain disabled out of
// power-up/system-reset.
#define CCFG_CCFG_TAP_DAP_0_CPU_DAP_ENABLE_W 8
#define CCFG_CCFG_TAP_DAP_0_CPU_DAP_ENABLE_M 0x00FF0000
#define CCFG_CCFG_TAP_DAP_0_CPU_DAP_ENABLE_S 16
// Field: [15:8] PRCM_TAP_ENABLE
//
// Enable PRCM TAP.
// 0xC5: PRCM TAP access is enabled during power-up/system-reset by ROM boot FW
// if enabled by corresponding configuration value in FCFG1 defined by TI.
// Any other value: PRCM TAP access will remain disabled out of
// power-up/system-reset.
#define CCFG_CCFG_TAP_DAP_0_PRCM_TAP_ENABLE_W 8
#define CCFG_CCFG_TAP_DAP_0_PRCM_TAP_ENABLE_M 0x0000FF00
#define CCFG_CCFG_TAP_DAP_0_PRCM_TAP_ENABLE_S 8
// Field: [7:0] TEST_TAP_ENABLE
//
// Enable Test TAP.
// 0xC5: TEST TAP access is enabled during power-up/system-reset by ROM boot FW
// if enabled by corresponding configuration value in FCFG1 defined by TI.
// Any other value: TEST TAP access will remain disabled out of
// power-up/system-reset.
#define CCFG_CCFG_TAP_DAP_0_TEST_TAP_ENABLE_W 8
#define CCFG_CCFG_TAP_DAP_0_TEST_TAP_ENABLE_M 0x000000FF
#define CCFG_CCFG_TAP_DAP_0_TEST_TAP_ENABLE_S 0
//*****************************************************************************
//
// Register: CCFG_O_CCFG_TAP_DAP_1
//
//*****************************************************************************
// Field: [23:16] PBIST2_TAP_ENABLE
//
// Enable PBIST2 TAP.
// 0xC5: PBIST2 TAP access is enabled during power-up/system-reset by ROM boot
// FW if enabled by corresponding configuration value in FCFG1 defined by TI.
// Any other value: PBIST2 TAP access will remain disabled out of
// power-up/system-reset.
#define CCFG_CCFG_TAP_DAP_1_PBIST2_TAP_ENABLE_W 8
#define CCFG_CCFG_TAP_DAP_1_PBIST2_TAP_ENABLE_M 0x00FF0000
#define CCFG_CCFG_TAP_DAP_1_PBIST2_TAP_ENABLE_S 16
// Field: [15:8] PBIST1_TAP_ENABLE
//
// Enable PBIST1 TAP.
// 0xC5: PBIST1 TAP access is enabled during power-up/system-reset by ROM boot
// FW if enabled by corresponding configuration value in FCFG1 defined by TI.
// Any other value: PBIST1 TAP access will remain disabled out of
// power-up/system-reset.
#define CCFG_CCFG_TAP_DAP_1_PBIST1_TAP_ENABLE_W 8
#define CCFG_CCFG_TAP_DAP_1_PBIST1_TAP_ENABLE_M 0x0000FF00
#define CCFG_CCFG_TAP_DAP_1_PBIST1_TAP_ENABLE_S 8
// Field: [7:0] WUC_TAP_ENABLE
//
// Enable WUC TAP
// 0xC5: WUC TAP access is enabled during power-up/system-reset by ROM boot FW
// if enabled by corresponding configuration value in FCFG1 defined by TI.
// Any other value: WUC TAP access will remain disabled out of
// power-up/system-reset.
#define CCFG_CCFG_TAP_DAP_1_WUC_TAP_ENABLE_W 8
#define CCFG_CCFG_TAP_DAP_1_WUC_TAP_ENABLE_M 0x000000FF
#define CCFG_CCFG_TAP_DAP_1_WUC_TAP_ENABLE_S 0
//*****************************************************************************
//
// Register: CCFG_O_IMAGE_VALID_CONF
//
//*****************************************************************************
// Field: [31:0] IMAGE_VALID
//
// This field must have a value of 0x00000000 in order for enabling the boot
// sequence to transfer control to a flash image.
// A non-zero value forces the boot sequence to call the boot loader.
//
// For CC2640R2:
// This field must have the address value of the start of the flash vector
// table in order for enabling the boot sequence to transfer control to a flash
// image.
// Any illegal vector table start address value forces the boot sequence to
// call the boot loader.
// Note that if any other legal vector table start address value than 0x0 is
// selected the PRCM:WARMRESET.WR_TO_PINRESET must be set to 1.
#define CCFG_IMAGE_VALID_CONF_IMAGE_VALID_W 32
#define CCFG_IMAGE_VALID_CONF_IMAGE_VALID_M 0xFFFFFFFF
#define CCFG_IMAGE_VALID_CONF_IMAGE_VALID_S 0
//*****************************************************************************
//
// Register: CCFG_O_CCFG_PROT_31_0
//
//*****************************************************************************
// Field: [31] WRT_PROT_SEC_31
//
// 0: Sector protected
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_31 0x80000000
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_31_BITN 31
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_31_M 0x80000000
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_31_S 31
// Field: [30] WRT_PROT_SEC_30
//
// 0: Sector protected
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_30 0x40000000
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_30_BITN 30
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_30_M 0x40000000
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_30_S 30
// Field: [29] WRT_PROT_SEC_29
//
// 0: Sector protected
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_29 0x20000000
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_29_BITN 29
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_29_M 0x20000000
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_29_S 29
// Field: [28] WRT_PROT_SEC_28
//
// 0: Sector protected
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_28 0x10000000
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_28_BITN 28
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_28_M 0x10000000
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_28_S 28
// Field: [27] WRT_PROT_SEC_27
//
// 0: Sector protected
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_27 0x08000000
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_27_BITN 27
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_27_M 0x08000000
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_27_S 27
// Field: [26] WRT_PROT_SEC_26
//
// 0: Sector protected
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_26 0x04000000
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_26_BITN 26
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_26_M 0x04000000
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_26_S 26
// Field: [25] WRT_PROT_SEC_25
//
// 0: Sector protected
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_25 0x02000000
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_25_BITN 25
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_25_M 0x02000000
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_25_S 25
// Field: [24] WRT_PROT_SEC_24
//
// 0: Sector protected
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_24 0x01000000
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_24_BITN 24
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_24_M 0x01000000
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_24_S 24
// Field: [23] WRT_PROT_SEC_23
//
// 0: Sector protected
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_23 0x00800000
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_23_BITN 23
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_23_M 0x00800000
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_23_S 23
// Field: [22] WRT_PROT_SEC_22
//
// 0: Sector protected
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_22 0x00400000
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_22_BITN 22
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_22_M 0x00400000
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_22_S 22
// Field: [21] WRT_PROT_SEC_21
//
// 0: Sector protected
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_21 0x00200000
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_21_BITN 21
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_21_M 0x00200000
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_21_S 21
// Field: [20] WRT_PROT_SEC_20
//
// 0: Sector protected
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_20 0x00100000
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_20_BITN 20
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_20_M 0x00100000
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_20_S 20
// Field: [19] WRT_PROT_SEC_19
//
// 0: Sector protected
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_19 0x00080000
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_19_BITN 19
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_19_M 0x00080000
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_19_S 19
// Field: [18] WRT_PROT_SEC_18
//
// 0: Sector protected
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_18 0x00040000
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_18_BITN 18
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_18_M 0x00040000
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_18_S 18
// Field: [17] WRT_PROT_SEC_17
//
// 0: Sector protected
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_17 0x00020000
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_17_BITN 17
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_17_M 0x00020000
#define CCFG_CCFG_PROT_31_0_WRT_PROT_SEC_17_S 17
// Field: [16] WRT_PROT_SEC_16
//