1#![allow(dead_code)]
8
9pub const NONE: u32 = 0;
10
11pub const UART0_TX_WATERMARK: u32 = 1;
12pub const UART0_RX_WATERMARK: u32 = 2;
13pub const UART0_TX_EMPTY: u32 = 3;
14pub const UART0_RX_OVERFLOW: u32 = 4;
15pub const UART0_RX_FRAMEERR: u32 = 5;
16pub const UART0_RX_BREAKERR: u32 = 6;
17pub const UART0_RX_TIMEOUT: u32 = 7;
18pub const UART0_RX_PARITYERR: u32 = 8;
19
20pub const UART1_TX_WATERMARK: u32 = 9;
21pub const UART1_RX_WATERMARK: u32 = 10;
22pub const UART1_TX_EMPTY: u32 = 11;
23pub const UART1_RX_OVERFLOW: u32 = 12;
24pub const UART1_RX_FRAMEERR: u32 = 13;
25pub const UART1_RX_BREAKERR: u32 = 14;
26pub const UART1_RX_TIMEOUT: u32 = 15;
27pub const UART1_RX_PARITYERR: u32 = 16;
28
29pub const UART2_TX_WATERMARK: u32 = 17;
30pub const UART2_RX_WATERMARK: u32 = 18;
31pub const UART2_TX_EMPTY: u32 = 19;
32pub const UART2_RX_OVERFLOW: u32 = 20;
33pub const UART2_RX_FRAMEERR: u32 = 21;
34pub const UART2_RX_BREAKERR: u32 = 22;
35pub const UART2_RX_TIMEOUT: u32 = 23;
36pub const UART2_RX_PARITYERR: u32 = 24;
37
38pub const UART3_TX_WATERMARK: u32 = 25;
39pub const UART3_RX_WATERMARK: u32 = 26;
40pub const UART3_TX_EMPTY: u32 = 27;
41pub const UART3_RX_OVERFLOW: u32 = 28;
42pub const UART3_RX_FRAMEERR: u32 = 29;
43pub const UART3_RX_BREAKERR: u32 = 30;
44pub const UART3_RX_TIMEOUT: u32 = 31;
45pub const UART3_RX_PARITYERR: u32 = 32;
46
47pub const GPIO_PIN0: u32 = 33;
48pub const GPIO_PIN1: u32 = 34;
49pub const GPIO_PIN2: u32 = 35;
50pub const GPIO_PIN3: u32 = 36;
51pub const GPIO_PIN4: u32 = 37;
52pub const GPIO_PIN5: u32 = 38;
53pub const GPIO_PIN6: u32 = 39;
54pub const GPIO_PIN7: u32 = 40;
55pub const GPIO_PIN8: u32 = 41;
56pub const GPIO_PIN9: u32 = 42;
57pub const GPIO_PIN10: u32 = 43;
58pub const GPIO_PIN11: u32 = 44;
59pub const GPIO_PIN12: u32 = 45;
60pub const GPIO_PIN13: u32 = 46;
61pub const GPIO_PIN14: u32 = 47;
62pub const GPIO_PIN15: u32 = 48;
63pub const GPIO_PIN16: u32 = 49;
64pub const GPIO_PIN17: u32 = 50;
65pub const GPIO_PIN18: u32 = 51;
66pub const GPIO_PIN19: u32 = 52;
67pub const GPIO_PIN20: u32 = 53;
68pub const GPIO_PIN21: u32 = 54;
69pub const GPIO_PIN22: u32 = 55;
70pub const GPIO_PIN23: u32 = 56;
71pub const GPIO_PIN24: u32 = 57;
72pub const GPIO_PIN25: u32 = 58;
73pub const GPIO_PIN26: u32 = 59;
74pub const GPIO_PIN27: u32 = 60;
75pub const GPIO_PIN28: u32 = 61;
76pub const GPIO_PIN29: u32 = 62;
77pub const GPIO_PIN30: u32 = 63;
78pub const GPIO_PIN31: u32 = 64;
79
80pub const SPI_DEVICE_GENERICRXFULL: u32 = 65;
81pub const SPI_DEVICE_GENERICRXWATERMARK: u32 = 66;
82pub const SPI_DEVICE_GENERICTXWATERMARK: u32 = 67;
83pub const SPI_DEVICE_GENERICRXERROR: u32 = 68;
84pub const SPI_DEVICE_GENERICRXOVERFLOW: u32 = 69;
85pub const SPI_DEVICE_GENERICTXUNDERFLOW: u32 = 70;
86pub const SPI_DEVICE_UPLOADCMDFIFONOTEMPTY: u32 = 71;
87pub const SPI_DEVICE_UPLOADPAYLOADNOTEMPTY: u32 = 72;
88pub const SPI_DEVICE_UPLOADPAYLOADOVERFLOW: u32 = 73;
89pub const SPI_DEVICE_READBUFWATERMARK: u32 = 74;
90pub const SPI_DEVICE_READBUFFLIP: u32 = 75;
91pub const SPI_DEVICE_TPMHEADERNOTEMPTY: u32 = 76;
92
93pub const I2C0_FMTWATERMARK: u32 = 77;
94pub const I2C0_RXWATERMARK: u32 = 78;
95pub const I2C0_FMTOVERFLOW: u32 = 79;
96pub const I2C0_RXOVERFLOW: u32 = 80;
97pub const I2C0_NAK: u32 = 81;
98pub const I2C0_SCLINTERFERENCE: u32 = 82;
99pub const I2C0_SDAINTERFERENCE: u32 = 83;
100pub const I2C0_STRETCHTIMEOUT: u32 = 84;
101pub const I2C0_SDAUNSTABLE: u32 = 85;
102pub const I2C0_CMDCOMPLETE: u32 = 86;
103pub const I2C0_TXSTRETCH: u32 = 87;
104pub const I2C0_TXOVERFLOW: u32 = 88;
105pub const I2C0_ACQFULL: u32 = 89;
106pub const I2C0_UNEXPSTOP: u32 = 90;
107pub const I2C0_HOSTTIMEOUT: u32 = 91;
108
109pub const I2C1_FMTWATERMARK: u32 = 92;
110pub const I2C1_RXWATERMARK: u32 = 93;
111pub const I2C1_FMTOVERFLOW: u32 = 94;
112pub const I2C1_RXOVERFLOW: u32 = 95;
113pub const I2C1_NAK: u32 = 96;
114pub const I2C1_SCLINTERFERENCE: u32 = 97;
115pub const I2C1_SDAINTERFERENCE: u32 = 98;
116pub const I2C1_STRETCHTIMEOUT: u32 = 99;
117pub const I2C1_SDAUNSTABLE: u32 = 100;
118pub const I2C1_CMDCOMPLETE: u32 = 101;
119pub const I2C1_TXSTRETCH: u32 = 102;
120pub const I2C1_TXOVERFLOW: u32 = 103;
121pub const I2C1_ACQFULL: u32 = 104;
122pub const I2C1_UNEXPSTOP: u32 = 105;
123pub const I2C1_HOSTTIMEOUT: u32 = 106;
124
125pub const I2C2_FMTWATERMARK: u32 = 107;
126pub const I2C2_RXWATERMARK: u32 = 108;
127pub const I2C2_FMTOVERFLOW: u32 = 109;
128pub const I2C2_RXOVERFLOW: u32 = 110;
129pub const I2C2_NAK: u32 = 111;
130pub const I2C2_SCLINTERFERENCE: u32 = 112;
131pub const I2C2_SDAINTERFERENCE: u32 = 113;
132pub const I2C2_STRETCHTIMEOUT: u32 = 114;
133pub const I2C2_SDAUNSTABLE: u32 = 115;
134pub const I2C2_CMDCOMPLETE: u32 = 116;
135pub const I2C2_TXSTRETCH: u32 = 117;
136pub const I2C2_TXOVERFLOW: u32 = 118;
137pub const I2C2_ACQFULL: u32 = 119;
138pub const I2C2_UNEXPSTOP: u32 = 120;
139pub const I2C2_HOSTTIMEOUT: u32 = 121;
140
141pub const PATTGENDONECH0: u32 = 122;
142pub const PATTGENDONECH1: u32 = 123;
143
144pub const RVTIMERTIMEREXPIRED0_0: u32 = 124;
145
146pub const OTPCTRL_OTPOPERATIONDONE: u32 = 125;
147pub const OTPCTRL_OTPERROR: u32 = 126;
148
149pub const ALERTHANDLER_CLASSA: u32 = 127;
150pub const ALERTHANDLER_CLASSB: u32 = 128;
151pub const ALERTHANDLER_CLASSC: u32 = 129;
152pub const ALERTHANDLER_CLASSD: u32 = 130;
153
154pub const SPIHOST0_ERROR: u32 = 131;
155pub const SPIHOST0_SPIEVENT: u32 = 132;
156
157pub const SPIHOST1_ERROR: u32 = 133;
158pub const SPIHOST1_SPIEVENT: u32 = 134;
159
160pub const USBDEV_PKTRECEIVED: u32 = 135;
161pub const USBDEV_PKTSENT: u32 = 136;
162pub const USBDEV_DISCONNECTED: u32 = 137;
163pub const USBDEV_HOSTLOST: u32 = 138;
164pub const USBDEV_LINKRESET: u32 = 139;
165pub const USBDEV_LINKSUSPEND: u32 = 140;
166pub const USBDEV_LINKRESUME: u32 = 141;
167pub const USBDEV_AVEMPTY: u32 = 142;
168pub const USBDEV_RXFULL: u32 = 143;
169pub const USBDEV_AVOVERFLOW: u32 = 144;
170pub const USBDEV_LINKINERR: u32 = 145;
171pub const USBDEV_RXCRCERR: u32 = 146;
172pub const USBDEV_RXPIDERR: u32 = 147;
173pub const USBDEV_RXBITSTUFFERR: u32 = 148;
174pub const USBDEV_FRAME: u32 = 149;
175pub const USBDEV_POWERED: u32 = 150;
176pub const USBDEV_LINKOUTERR: u32 = 151;
177
178pub const PWRMGRAONWAKEUP: u32 = 152;
179pub const SYSRST_CTRL_AON_SYSRST_CTRL: u32 = 153;
180pub const ADC_CTRL_AON_MATCH_DONE: u32 = 154;
181
182pub const AON_TIMER_AON_WKUP_TIMER_EXPIRED: u32 = 155;
183pub const AON_TIMER_AON_WDOG_TIMER_BARK: u32 = 156;
184
185pub const SENSOR_CTRL_IO_STATUS_CHANGE: u32 = 157;
186pub const SENSOR_CTRL_INIT_STATUS_CHANGE: u32 = 158;
187
188pub const FLASHCTRL_PROGEMPTY: u32 = 159;
189pub const FLASHCTRL_PROGLVL: u32 = 160;
190pub const FLASHCTRL_RDFULL: u32 = 161;
191pub const FLASHCTRL_RDLVL: u32 = 162;
192pub const FLASHCTRL_OPDONE: u32 = 163;
193pub const FLASHCTRL_CORRERR: u32 = 164;
194
195pub const HMAC_HMACDONE: u32 = 165;
196pub const HMAC_FIFOEMPTY: u32 = 166;
197pub const HMAC_HMACERR: u32 = 167;
198
199pub const KMAC_KMACDONE: u32 = 168;
200pub const KMAC_FIFOEMPTY: u32 = 169;
201pub const KMAC_KMACERR: u32 = 170;
202
203pub const OTBN_DONE: u32 = 171;
204
205pub const KEYMGR_OP_DONE: u32 = 172;
206
207pub const CSRNG_CSCMDREQDONE: u32 = 173;
208pub const CSRNG_CSENTROPYREQ: u32 = 174;
209pub const CSRNG_CSHWINSTEXC: u32 = 175;
210pub const CSRNG_CSFATALERR: u32 = 176;
211
212pub const ENTROPY_SRC_ES_ENTROPY_VALID: u32 = 177;
213pub const ENTROPY_SRC_ES_HEALTH_TEST_FAILED: u32 = 178;
214pub const ENTROPY_SRC_ES_OBSERVE_FIFO_READY: u32 = 179;
215pub const ENTROPY_SRC_ES_FATAL_ERR: u32 = 180;
216
217pub const EDN0_EDN_CMD_REQ_DONE: u32 = 181;
218pub const EDN0_EDN_FATAL_ERR: u32 = 182;
219pub const EDN1_EDN_CMD_REQ_DONE: u32 = 183;
220pub const EDN1_EDN_FATAL_ERR: u32 = 184;
221pub const IRQ_ID_LAST: u32 = 184;