@@ -65,24 +65,24 @@ typedef struct {
65
65
__I uint32_t CBCo1 ; /**< Bits[63:32] of the 128-bit CBC result */
66
66
__I uint32_t CBCo2 ; /**< Bits[95:64] of the 128-bit CBC result */
67
67
__I uint32_t CBCo3 ; /**< Bits[127:96] of the 128-bit CBC result */
68
- union {
69
- struct {
70
- __IO uint32_t START :1 ; /**< start the encryption : 0 = no-effect , 1 = enable */
71
- __IO uint32_t ACC_CLR :1 ; /**< Clear the CBC accumulator : 0 = no-effect 1 = clears the CBC accumulator */
72
- __IO uint32_t INT_CLEAR :1 ; /**< interrupt clear : 0 = no-effect 1 = clear the interrupt */
73
- } BITS ;
74
- __IO uint32_t WORD ;
75
- } CTL ;
76
- union {
77
- struct {
78
- __IO uint32_t CBC_MODE :1 ; /**< counter mode : 0 = counter mode , 1 = CBC mode */
79
- __IO uint32_t BYPASS :1 ; /**< encryption : 0 = Normal Mode , 1 = Bypasss any encryption */
80
- __IO uint32_t INT_EN :1 ; /**< interrupt mask : 0 = disabled 1 = enabled */
81
- __IO uint32_t KEY_LENGTH :1 ; /**< Key Length: 0 = 128 Bit Encryption 1 = 256 Bit Encryption */
68
+ union {
69
+ struct {
70
+ __IO uint32_t START :1 ; /**< start the encryption : 0 = no-effect , 1 = enable */
71
+ __IO uint32_t ACC_CLR :1 ; /**< Clear the CBC accumulator : 0 = no-effect 1 = clears the CBC accumulator */
72
+ __IO uint32_t INT_CLEAR :1 ; /**< interrupt clear : 0 = no-effect 1 = clear the interrupt */
73
+ } BITS ;
74
+ __IO uint32_t WORD ;
75
+ } CTL ;
76
+ union {
77
+ struct {
78
+ __IO uint32_t CBC_MODE :1 ; /**< counter mode : 0 = counter mode , 1 = CBC mode */
79
+ __IO uint32_t BYPASS :1 ; /**< encryption : 0 = Normal Mode , 1 = Bypasss any encryption */
80
+ __IO uint32_t INT_EN :1 ; /**< interrupt mask : 0 = disabled 1 = enabled */
81
+ __IO uint32_t KEY_LENGTH :1 ; /**< Key Length: 0 = 128 Bit Encryption 1 = 256 Bit Encryption */
82
82
83
- } BITS ;
84
- __IO uint32_t WORD ;
85
- } MODE ;
83
+ } BITS ;
84
+ __IO uint32_t WORD ;
85
+ } MODE ;
86
86
union {
87
87
struct {
88
88
__I uint32_t COMPLETE :1 ;/**< status : 0 = not complete , 1 = complete */
0 commit comments