CI13LC SDK API手册  2.1.1
本手册用于描述CI13LC SDK各个组件和驱动API
ci13lc.h
浏览该文件的文档.
1 
11 #ifndef _CI_13LC_H_
12 #define _CI_13LC_H_
13 
14 #include <stdint.h>
15 #include "user_config.h"
16 
17 // IRQ number
18 typedef enum IRQn
19 {
20 /****** RISC-V N307 Processor Exceptions Numbers *******************************/
21  MSIP_IRQn = 3,
22  MTIP_IRQ = 7,
23 /****** smt specific Interrupt Numbers ****************************************/
24  SCU_IRQn = 19 + 1,
25  NPU_IRQn = 19 + 2,
26  EPWM_IRQn = 19 + 3,
27  DMA_IRQn = 19 + 4,
28  TIMER0_IRQn = 19 + 5,
29  TIMER1_IRQn = 19 + 6,
30  IIC0_IRQn = 19 + 9,
31  PA_IRQn = 19 + 10,
32  PB_IRQn = 19 + 11,
33  UART0_IRQn = 19 + 12,
34  UART1_IRQn = 19 + 13,
35  UART2_IRQn = 19 + 14,
36  IIS0_IRQn = 19 + 15,
37  IIS1_IRQn = 19 + 16,
38  IIS_DMA_IRQn = 19 + 18,
39  ALC_TIMEOUT_IRQn = 19 + 19,
40  DTR_IRQn = 19 + 21,
41  V11_OK_IRQn = 19 + 22,
42  VDT_IRQn = 19 + 23,
43  EXT0_IRQn = 19 + 24,
44  EXT1_IRQn = 19 + 25,
45  IWDG_IRQn = 19 + 26,
46  PVDC_IRQn = 19 + 28,
47  EFUSE_IRQn = 19 + 29,
48  PC_IRQn = 19 + 30,
49 /********************************* END ****************************************/
50 } IRQn_Type;
51 
52 #define IRQn_MAX_NUMBER (51)
53 
54 
55 /* APB peripherals*/
56 #define IPCORE_BASE (0xa6a6a6a6)
57 #define APB_BASE (0x5a5a5a5a)
58 #define SYSTICK_BASE (0x77777777)
59 #define HAL_DTRFLASH_RAM_BASE (0x45454545)
60 
61 
62 #define HAL_SCU_BASE (0x40000000)
63 #define HAL_GDMA_BASE (0x40001000)
64 #define HAL_IISDMA0_BASE (0x40003000)
65 #define HAL_DTRFLASH_BASE (0x40004000)
66 #define HAL_NPU_BASE (0x40006000) //非真实的地址
67 #define HAL_EPWM_BASE (0x40007000)
68 
69 
70 #define HAL_IIC0_BASE (0x40011000)
71 #define HAL_CODEC_BASE (0x40013000)
72 #define HAL_PWM0_BASE (0x40014000)
73 #define HAL_PWM1_BASE (0x40015000)
74 #define HAL_PWM2_BASE (0x40016000)
75 #define HAL_PWM3_BASE (0x40017000)
76 #define HAL_TIMER0_BASE (0x40018000)
77 #define HAL_TIMER1_BASE (0x40019000)
78 
79 //以下2个为非真实的地址
80 #define CODEC_AD_GATE (0x4001c000)
81 #define CODEC_DA_GATE (0x4001d000)
82 
83 
84 #define HAL_PA_BASE (0x40020000)
85 #define HAL_PB_BASE (0x40021000)
86 #define HAL_UART0_BASE (0x40022000)
87 #define HAL_UART1_BASE (0x40023000)
88 #define HAL_UART2_BASE (0x40024000)
89 #define HAL_IIS0_BASE (0x40025000)//(IO)
90 #define HAL_IIS1_BASE (0x40026000)//(CODEC)
91 //以下2个为非真实的地址
92 #define IIS1_RX_GATE (0x40029000)
93 #define IIS1_TX_GATE (0x4002A000)
94 
95 
96 #define HAL_DPMU_BASE (0x40030000)
97 #define HAL_PC_BASE (0x40031000)
98 #define HAL_IWDG_BASE (0x40032000)
99 #define HAL_EFUSE_BASE (0x40033000)
100 #define HAL_PVDC_BASE (0x40034000)
101 //以下4个为非真实的地址
102 #define IWDG_CPU0_HALT_GATE (0x40036000)
103 #define IWDG_CPU1_HALT_GATE (0x40037000)
104 #define PLL_BASE (0x40038000)
105 #define TEST_CLK_BASE (0x40039000)
106 #define TEST_CLK_BASE1 (0x4003a000)
107 #define IWDG_RCCLK_BASE (0x4003b000)
108 #define IWDG_OSCCLK_BASE (0x4003c000)
109 
110 
111 #define SPI0FIFO_BASE (0x60000000)
112 #define UART0FIFO_BASE (0x61000000)
113 #define UART1FIFO_BASE (0x62000000)
114 #define UART2FIFO_BASE (0x63000000)
115 
116 
117 #define SCU ((SCU_TypeDef*)HAL_SCU_BASE)
118 #define DPMU ((DPMU_TypeDef*)HAL_DPMU_BASE)
119 #define UART0 ((UART_TypeDef*)HAL_UART0_BASE)
120 #define UART1 ((UART_TypeDef*)HAL_UART1_BASE)
121 #define UART2 ((UART_TypeDef*)HAL_UART2_BASE)
122 #define CODEC ((CODEC_TypeDef*)HAL_CODEC_BASE)
123 #define DMAC ((DMA_TypeDef*)HAL_GDMA_BASE)
124 #define IISDMA0 ((IISDMA_TypeDef*)HAL_IISDMA0_BASE)
125 #define EPWM ((EPWM_TypeDef*)HAL_EPWM_BASE)
126 #define PVDC ((PVDC_TypeDef*)HAL_PVDC_BASE)
127 
128 
129 /*SCU寄存器定义*/
130 typedef struct
131 {
132  volatile unsigned int SYS_CTRL_CFG;
133  volatile uint32_t REV_SYR_CFG_0[(0x0C-0x00)/4-0x1];
134  volatile unsigned int EXT_INT_CFG;
135  volatile uint32_t REV_SYR_CFG_1[(0x50-0x0C)/4-0x1];
136  volatile unsigned int SYSCFG_LOCK_CFG;
137  volatile unsigned int RSTCFG_LOCK_CFG;
138  volatile unsigned int CKCFG_LOCK_CFG;
139  volatile uint32_t REV_SYR_CFG_2[(0x80-0x58)/4-0x1];
140  volatile unsigned int CLK_DIV_PARAM0_CFG;
141  volatile unsigned int CLK_DIV_PARAM1_CFG;
142  volatile unsigned int CLK_DIV_PARAM2_CFG;
143  volatile uint32_t REV_SYR_CFG_3[(0xB0-0x88)/4-0x1];
144  volatile unsigned int CLK_DIV_PARAM_EN_CFG;
145  volatile uint32_t REV_SYR_CFG_4[(0xC0-0xB0)/4-0x1];
146  volatile unsigned int SRC0_MCLK_CFG;
147  volatile unsigned int SRC1_MCLK_CFG;
148  volatile uint32_t REV_SYR_CFG_5[(0xD0-0xC4)/4-0x1];
149  volatile unsigned int MCLK0_CFG;
150  volatile unsigned int MCLK1_CFG;
151  volatile uint32_t REV_SYR_CFG_6[(0xE0-0xD4)/4-0x1];
152  volatile unsigned int IIS0_CLK_SEL_CFG;
153  volatile unsigned int IIS1_CLK_SEL_CFG;
154  volatile uint32_t REV_SYR_CFG_7[(0xF0-0xE4)/4-0x1];
155  volatile unsigned int PAD_CLK_SEL_CFG;
156  volatile unsigned int CODEC_CLK_SEL_CFG;
157  volatile uint32_t REV_SYR_CFG_8[(0x11C-0xF4)/4-0x1];
158  volatile unsigned int SYS_CLKGATE_CFG0;
159  volatile unsigned int SYS_CLKGATE_CFG1;
160  volatile unsigned int AHB_CLKGATE_CFG;
161  volatile unsigned int APB0_CLKGATE_CFG;
162  volatile unsigned int APB1_CLKGATE_CFG;
163  volatile uint32_t REV_SYR_CFG_9[(0x178-0x12C)/4-0x1];
164  volatile unsigned int SCU_STATE_REG;
165  volatile uint32_t REV_SYR_CFG_10[(0x190-0x178)/4-0x1];
166  volatile unsigned int AHB_RESET_CFG;
167  volatile unsigned int APB0_RESET_CFG;
168  volatile unsigned int APB1_RESET_CFG;
169  volatile uint32_t REV_SYR_CFG_11[(0x1DC-0x198)/4-0x1];
170  volatile unsigned int WAKEUP_MASK_CFG0;
171  volatile unsigned int WAKEUP_MASK_CFG1;
172  volatile unsigned int EXT0_FILTER_CFG;
173  volatile unsigned int EXT1_FILTER_CFG;
174  volatile uint32_t REV_SYR_CFG_12[(0x1F4-0x1E8)/4-0x1];
175  volatile unsigned int INT_STATE_REG0;
176  volatile unsigned int INT_STATE_REG1;
177  volatile uint32_t REV_SYR_CFG_14[(0x240-0x1F8)/4-0x1];
178  volatile unsigned int MEM0_EMA_CFG;
179  volatile unsigned int MEM1_EMA_CFG;
180  volatile unsigned int MEM2_EMA_CFG;
181  volatile uint32_t REV_SYR_CFG_15[(0x264-0x248)/4-0x1];
182  volatile unsigned int IIS_DATA_SEL_CFG;
183  volatile uint32_t REV_SYR_CFG_16[(0x290-0x264)/4-0x1];
184  volatile unsigned int PAD_STATE;
185  volatile uint32_t REV_SYR_CFG_17[(0x2C0-0x290)/4-0x1];
186  volatile unsigned int BOOT_ADDR_CFG;
187  volatile uint32_t REV_SYR_CFG_18[(0x2D4-0x2C0)/4-0x1];
188  volatile unsigned int DUALCORE_JTAG_MD;
189  volatile unsigned int EFUSE_TEST_MD;
190 }SCU_TypeDef;
191 
192 
196 typedef struct
197 {
198  volatile unsigned int CFG_LOCK_CFG;
199  volatile uint32_t REV_SYR_CFG_0[(0x10-0x00)/4-0x1];
200  volatile unsigned int SYS_RESET_CFG;
201  volatile unsigned int SYS_SOFTRST_CFG;
202  volatile uint32_t REV_SYR_CFG_1[(0x20-0x14)/4-0x1];
203  volatile unsigned int SYS_CLK_SEL_CFG;
204  volatile uint32_t REV_SYR_CFG_2[(0x30-0x20)/4-0x1];
205  volatile unsigned int PLL_CFG;
206  volatile unsigned int AON_CLK_PARAM_CFG;
207  volatile unsigned int AON_CLK_PARAM_CFG1;
208  volatile uint32_t REV_SYR_CFG_3[(0x40-0x38)/4-0x1];
209  volatile unsigned int AON_CLK_PARAM_EN_CFG;
210  volatile uint32_t REV_SYR_CFG_4[(0x50-0x40)/4-0x1];
211  volatile unsigned int AON_CLKGATE_CFG;
212  volatile uint32_t REV_SYR_CFG_5[(0x70-0x50)/4-0x1];
213  volatile unsigned int AON_RESET_CFG;
214  volatile uint32_t REV_SYR_CFG_6[(0xC0-0x70)/4-0x1];
215  volatile unsigned int PMU_CFG;
216  volatile uint32_t REV_SYR_CFG_7[(0xC8-0xC0)/4-0x1];
217  volatile unsigned int PMU_UPDATE_EN;
218  volatile uint32_t REV_SYR_CFG_8[(0xD0-0xC8)/4-0x1];
219  volatile unsigned int LOW_POWER_CFG;
220  volatile unsigned int PMU_PWROFF_CFG;
221  volatile unsigned int PMU_PWRON_CFG;
222  volatile uint32_t REV_SYR_CFG_9[(0xE0-0xD8)/4-0x1];
223  volatile unsigned int WAKEUP_RESET_CFG;
224  volatile unsigned int WAKEUP_MASK_CFG;
225  volatile unsigned int WAKEUP_EXT_FILTER_CFG;
226  volatile unsigned int WAKEUP_CFG;
227  volatile uint32_t REV_SYR_CFG_10[(0x100-0xEC)/4-0x1];
228  volatile unsigned int RC_CFG;
229  volatile unsigned int RC_UPDATE_CFG;
230  volatile unsigned int OSC_PAD_CFG;
231  volatile uint32_t REV_SYR_CFG_11[(0x140-0x108)/4-0x1];
232  volatile unsigned int IOREUSE_CFG0;
233  volatile unsigned int IOREUSE_CFG1;
234  volatile uint32_t REV_SYR_CFG_12[(0x14c-0x144)/4-0x1];
235  volatile unsigned int OD_CFG0;
236  volatile unsigned int PD_CFG0;
237  volatile uint32_t REV_SYR_CFG_13[(0x158-0x150)/4-0x1];
238  volatile unsigned int PU_CFG0;
239  volatile uint32_t REV_SYR_CFG_14[(0x160-0x158)/4-0x1];
240  volatile unsigned int DS_CFG0;
241  volatile unsigned int DS_CFG1;
242  volatile uint32_t REV_SYR_CFG_15[(0x170-0x164)/4-0x1];
243  volatile unsigned int SL_CFG0;
244  volatile uint32_t REV_SYR_CFG_16[(0x178-0x170)/4-0x1];
245  volatile unsigned int ST_CFG0;
246  volatile uint32_t REV_SYR_CFG_17[(0x180-0x178)/4-0x1];
247  volatile unsigned int IE_CFG0;
248  volatile uint32_t REV_SYR_CFG_18[(0x190-0x180)/4-0x1];
249  volatile unsigned int AD_CFG0;
250  volatile uint32_t REV_SYR_CFG_19[(0x1C0-0x190)/4-0x1];
251  volatile unsigned int RST_STATE_REG;
252  volatile uint32_t REV_SYR_CFG_20[(0x1D0-0x1C0)/4-0x1];
253  volatile unsigned int PWR_WAKEUP_STATE_REG;
254  volatile uint32_t REV_SYR_CFG_21[(0x1E0-0x1D0)/4-0x1];
255  volatile unsigned int CHIP_STATE_REG_ADDR;
256  volatile unsigned int CHIP_INT_MASK_CFG_ADDR;
257  volatile unsigned int PAD_FILTER_CFG_ADDR;
258  volatile unsigned int V2I_CFG;
259 }DPMU_TypeDef;
260 
261 
262 /*UART寄存器定义*/
263 typedef struct
264 {
265  volatile unsigned int UARTRdDR; //0x0
266  volatile unsigned int UARTWrDR; //0x04
267  volatile unsigned int UARTRxErrStat; //0x08
268  volatile unsigned int UARTFlag; //0x0c
269  volatile unsigned int UARTIBrd; //0x10
270  volatile unsigned int UARTFBrd; //0x14
271  volatile unsigned int UARTLCR; //0x18
272  volatile unsigned int UARTCR; //0x1c
273  volatile unsigned int UARTFIFOlevel; //0x20
274  volatile unsigned int UARTMaskInt; //0x24
275  volatile unsigned int UARTRIS; //0x28
276  volatile unsigned int UARTMIS; //0x2c
277  volatile unsigned int UARTICR; //0x30
278  volatile unsigned int UARTDMACR; //0x34
279  volatile unsigned int UARTTimeOut; //0x38
280  volatile unsigned int REMCR; //0x3c
281  volatile unsigned int REMTXDATA; //0x40
282  volatile unsigned int REMRXDATA; //0x44
283  volatile unsigned int REMINTCLR; //0x48
284  volatile unsigned int REMINTSTAE; //0x4c
285  volatile unsigned int BYTE_HW_MODE; //0x50
286  volatile unsigned int BAUD_MASK_INT; //0x54
287  volatile unsigned int BAUD_RIS; //0x58
288  volatile unsigned int BAUD_MIS; //0x5C
289  volatile unsigned int BAUD_ICR; //0x60
290  volatile unsigned int BAUD_CR; //0x64
291  volatile unsigned int BAUD_SMPL_RATE; //0x68
292  volatile unsigned int BAUD_STATUS; //0x6C
293  volatile unsigned int BAUD_SMPL_0; //0x70
294 }UART_TypeDef;
295 
296 
297 typedef struct
298 {
299  volatile unsigned int DMACCxSrcAddr;
300  volatile unsigned int DMACCxDestAddr;
301  volatile unsigned int DMACCxLLI;
302  volatile unsigned int DMACCxControl;
303  volatile unsigned int DMACCxConfiguration;
304  unsigned int reserved[3];
306 
307 
308 typedef struct
309 {
310  volatile unsigned int DMACIntStatus;
311  volatile unsigned int DMACIntTCStatus;
312  volatile unsigned int DMACIntTCClear;
313  volatile unsigned int DMACIntErrorStatus;
314  volatile unsigned int DMACIntErrClr;
315  volatile unsigned int DMACRawIntTCStatus;
316  volatile unsigned int DMACRawIntErrorStatus;
317  volatile unsigned int DMACEnbldChns;
318  volatile unsigned int DMACSoftBReq;
319  volatile unsigned int DMACSoftSReq;
320  volatile unsigned int DMACSoftLBReq;
321  volatile unsigned int DMACSoftLSReq;
322  volatile unsigned int DMACConfiguration;
323  volatile unsigned int DMACSync;
324  unsigned int reserved1[50];
325  DMACChanx_TypeDef DMACChannel[8];
326  unsigned int reserved2[195];
327  volatile unsigned int DMACITCR;
328  volatile unsigned int DMACITOP[3];
329  unsigned int reserved3[693];
330  volatile unsigned int DMACPeriphID[4];
331  volatile unsigned int DMACPCellID[4];
332 }DMA_TypeDef;
333 
334 
335 typedef struct
336 {
337  unsigned int SrcAddr;
338  unsigned int DestAddr;
339  unsigned int NextLLI;
340  unsigned int Control;
341 }DMAC_LLI;
342 
343 
344 typedef struct
345 {
346  volatile unsigned int IISxDMARADDR; //4 //1C //34
347  volatile unsigned int IISxDMARNUM; //8 //20 //38
348  volatile unsigned int IISxDMATADDR0; //C //24 //3c
349  volatile unsigned int IISxDMATNUM0; //10 //28 //40
350  volatile unsigned int IISxDMATADDR1; //14 //2C //44
351  volatile unsigned int IISxDMATNUM1; //18 //30 //48
353 
354 
355 typedef struct
356 {
357  volatile unsigned int IISDMACTRL; //0
359  volatile unsigned int IISDMAPTR; //4c
360  volatile unsigned int IISDMASTATE; //50
361  volatile unsigned int IISDMACLR; //54
362  volatile unsigned int IISDMAIISCLR; //58
363  volatile unsigned int IISDMARADDR[3]; //5C,60,64
364  volatile unsigned int RX_VAD_CTRL; //68
365  volatile unsigned int RX_LAST_ADDR; //6C
366  volatile unsigned int IIS_END_NUM_EN; //70
367  volatile unsigned int IIS_END_NUM; //74
368  volatile unsigned int DMA_REQ_CLR_STATE; //78
369  volatile unsigned int DMATADDR[3]; //7C,80,84
371 
372 
373 /*CODEC寄存器*/
374 //以2代的CODEC为基础,修改一些
375 
376 typedef struct
377 {
378  volatile unsigned int reg40;
379  volatile unsigned int reg41;
380  volatile unsigned int reg42;
381  volatile unsigned int reg43;
382  volatile unsigned int reg44;
383  volatile unsigned int reg45;
384  volatile unsigned int reg46;
385  volatile unsigned int reg47;
386  volatile unsigned int reg48;
387  volatile unsigned int reg49;
388  unsigned int resver7[2];
389  volatile unsigned int reg4c;
390  unsigned int resver8[3];
392 
393 typedef struct
394 {
395  volatile unsigned int reg0;
396  unsigned int resver1;
397  volatile unsigned int reg2;
398  volatile unsigned int reg3;
399  volatile unsigned int reg4;
400  volatile unsigned int reg5;
401  volatile unsigned int reg6;
402  volatile unsigned int reg7;
403  volatile unsigned int adc_dig_gain_reg[2];
404  volatile unsigned int rega;
405  unsigned int resver4[22];
406  volatile unsigned int reg21;
407  volatile unsigned int reg22;
408  volatile unsigned int reg23;
409  volatile unsigned int reg24;
410  volatile unsigned int reg25;
411  volatile unsigned int reg26;
412  volatile unsigned int pga_gain_reg[2];
413  volatile unsigned int reg29;
414  volatile unsigned int reg2a;
415  volatile unsigned int reg2b;
416  volatile unsigned int reg2c;
417  volatile unsigned int reg2d;
418  volatile unsigned int reg2e;
419  volatile unsigned int reg2f;
420  volatile unsigned int reg30;
421  volatile unsigned int reg31;
422  volatile unsigned int reg32;
423  volatile unsigned int reg33;
424  unsigned int resver6[12];
425 
426  CODEC_ALC_TypeDef alc_reg[2];
428 /*CODEC寄存器end*/
429 
430 /*EPWM寄存器定义*/
431 typedef struct{
432  volatile unsigned int TBCTL;//0x00
433  volatile unsigned int TBSTS;
434  volatile unsigned int TBPHS;
435  volatile unsigned int TBCTR;
436  volatile unsigned int TBPRD;//0x10
437  volatile unsigned int CMPCTL;
438  volatile unsigned int CMPA;
439  volatile unsigned int CMPB;
440  volatile unsigned int CPR1;//0x20
441  volatile unsigned int CPR2;
442  unsigned int resver1[2];
443  volatile unsigned int AQCTLA;//0x30
444  volatile unsigned int AQCTLB;
445  volatile unsigned int AQSFRC;
446  volatile unsigned int AQCSFRC;
447  volatile unsigned int DBCTL;//0x40
448  volatile unsigned int DBRED;//up dead time
449  volatile unsigned int DBFED;//down dead time
450  unsigned int resver2;
451  volatile unsigned int PCCTL;//0x50
452  volatile unsigned int PCDUTY;
453  unsigned int resver3[2];
454  volatile unsigned int TZSEL;//0x60
455  volatile unsigned int TZCTL;
456  volatile unsigned int TZEINT;
457  volatile unsigned int TZFLG;
458  volatile unsigned int TZCLR;//0x70
459  volatile unsigned int TZFRC;
460  unsigned int resver4[2];
461  volatile unsigned int ETSEL;//0x80
462  volatile unsigned int ETPS;
463  volatile unsigned int ETFLG;
464  volatile unsigned int ETCLR;
465  volatile unsigned int ETFRC;//0x90
466 }EPWM_TypeDef;
467 
468 
469 /*PVDC寄存器定义*/
470 typedef struct{
471  volatile unsigned int PVDC_LOCK;//0x00
472  volatile unsigned int PVDC_INTR_RAW;
473  volatile unsigned int PVDC_INTR_MASK;
474  volatile unsigned int PVDC_INTR;
475  volatile unsigned int PVDC_VOL; //0x10
476  volatile unsigned int PVDC_EN;
477  volatile unsigned int PVDC_TH;
478  volatile unsigned int PVDC_CFG_VOL;
479  volatile unsigned int PVDC_TIME;//0x20
480  volatile unsigned int PVDC_MAX_VAL;
481 }PVDC_TypeDef;
482 
483 
484 typedef enum
485 {
486  EXT0 = 0,
487  EXT1 = 1,
488 }Ext_Num;
489 
490 
491 
492 #endif
493 
494 
Definition: ci13lc.h:40
Definition: ci13lc.h:376
volatile unsigned int IIS_DATA_SEL_CFG
Definition: ci13lc.h:182
unsigned int Control
Definition: ci13lc.h:340
volatile unsigned int UARTFBrd
Definition: ci13lc.h:270
volatile unsigned int reg3
Definition: ci13lc.h:398
volatile unsigned int SRC0_MCLK_CFG
Definition: ci13lc.h:146
volatile unsigned int PVDC_TIME
Definition: ci13lc.h:479
volatile unsigned int AON_CLK_PARAM_CFG
Definition: ci13lc.h:206
volatile unsigned int WAKEUP_MASK_CFG1
Definition: ci13lc.h:171
volatile unsigned int UARTRIS
Definition: ci13lc.h:275
Ext_Num
Definition: ci13lc.h:484
volatile unsigned int PAD_FILTER_CFG_ADDR
Definition: ci13lc.h:257
volatile unsigned int ETSEL
Definition: ci13lc.h:461
volatile unsigned int CMPA
Definition: ci13lc.h:438
Definition: ci13lc.h:33
volatile unsigned int CMPCTL
Definition: ci13lc.h:437
volatile unsigned int TZFRC
Definition: ci13lc.h:459
volatile unsigned int WAKEUP_MASK_CFG0
Definition: ci13lc.h:170
volatile unsigned int OSC_PAD_CFG
Definition: ci13lc.h:230
volatile unsigned int reg2c
Definition: ci13lc.h:416
Definition: ci13lc.h:44
volatile unsigned int reg2
Definition: ci13lc.h:397
volatile unsigned int reg49
Definition: ci13lc.h:387
volatile unsigned int INT_STATE_REG1
Definition: ci13lc.h:176
volatile unsigned int SYS_CLK_SEL_CFG
Definition: ci13lc.h:203
volatile unsigned int DMACCxLLI
Definition: ci13lc.h:301
volatile unsigned int DMACRawIntTCStatus
Definition: ci13lc.h:315
volatile unsigned int BYTE_HW_MODE
Definition: ci13lc.h:285
volatile unsigned int IISxDMARADDR
Definition: ci13lc.h:346
volatile unsigned int EXT1_FILTER_CFG
Definition: ci13lc.h:173
Definition: ci13lc.h:470
volatile unsigned int WAKEUP_EXT_FILTER_CFG
Definition: ci13lc.h:225
Definition: ci13lc.h:42
volatile unsigned int RX_LAST_ADDR
Definition: ci13lc.h:365
Definition: ci13lc.h:21
Definition: ci13lc.h:308
volatile unsigned int reg30
Definition: ci13lc.h:420
Definition: ci13lc.h:39
volatile unsigned int TBSTS
Definition: ci13lc.h:433
volatile unsigned int UARTDMACR
Definition: ci13lc.h:278
volatile unsigned int UARTLCR
Definition: ci13lc.h:271
volatile unsigned int reg21
Definition: ci13lc.h:406
volatile unsigned int PAD_STATE
Definition: ci13lc.h:184
volatile unsigned int SYSCFG_LOCK_CFG
Definition: ci13lc.h:136
volatile unsigned int reg24
Definition: ci13lc.h:409
volatile unsigned int IIS_END_NUM
Definition: ci13lc.h:367
Definition: ci13lc.h:24
volatile unsigned int LOW_POWER_CFG
Definition: ci13lc.h:219
volatile unsigned int IISDMACTRL
Definition: ci13lc.h:357
Definition: ci13lc.h:31
volatile unsigned int reg40
Definition: ci13lc.h:378
volatile unsigned int PAD_CLK_SEL_CFG
Definition: ci13lc.h:155
Definition: ci13lc.h:38
volatile unsigned int BAUD_RIS
Definition: ci13lc.h:287
Definition: ci13lc.h:25
volatile unsigned int CHIP_INT_MASK_CFG_ADDR
Definition: ci13lc.h:256
volatile unsigned int CLK_DIV_PARAM_EN_CFG
Definition: ci13lc.h:144
volatile unsigned int IISDMAPTR
Definition: ci13lc.h:359
volatile unsigned int reg45
Definition: ci13lc.h:383
volatile unsigned int CHIP_STATE_REG_ADDR
Definition: ci13lc.h:255
volatile unsigned int ST_CFG0
Definition: ci13lc.h:245
volatile unsigned int REMINTCLR
Definition: ci13lc.h:283
volatile unsigned int reg2b
Definition: ci13lc.h:415
volatile unsigned int REMRXDATA
Definition: ci13lc.h:282
Definition: ci13lc.h:431
volatile unsigned int SYS_CLKGATE_CFG1
Definition: ci13lc.h:159
volatile unsigned int AHB_RESET_CFG
Definition: ci13lc.h:166
volatile unsigned int TZEINT
Definition: ci13lc.h:456
volatile unsigned int PCDUTY
Definition: ci13lc.h:452
volatile unsigned int reg2e
Definition: ci13lc.h:418
volatile unsigned int WAKEUP_RESET_CFG
Definition: ci13lc.h:223
volatile unsigned int PVDC_INTR_MASK
Definition: ci13lc.h:473
volatile unsigned int DMACSync
Definition: ci13lc.h:323
volatile unsigned int DMACIntTCStatus
Definition: ci13lc.h:311
volatile unsigned int IOREUSE_CFG0
Definition: ci13lc.h:232
Definition: ci13lc.h:486
volatile unsigned int REMTXDATA
Definition: ci13lc.h:281
volatile unsigned int PMU_UPDATE_EN
Definition: ci13lc.h:217
volatile unsigned int UARTRxErrStat
Definition: ci13lc.h:267
DPMU寄存器结构体
Definition: ci13lc.h:196
volatile unsigned int IISxDMATADDR1
Definition: ci13lc.h:350
Definition: ci13lc.h:47
volatile unsigned int SL_CFG0
Definition: ci13lc.h:243
volatile unsigned int DMACCxControl
Definition: ci13lc.h:302
Definition: ci13lc.h:355
volatile unsigned int RSTCFG_LOCK_CFG
Definition: ci13lc.h:137
volatile unsigned int TBCTR
Definition: ci13lc.h:435
Definition: ci13lc.h:43
volatile unsigned int IISDMAIISCLR
Definition: ci13lc.h:362
volatile unsigned int IE_CFG0
Definition: ci13lc.h:247
volatile unsigned int UARTFIFOlevel
Definition: ci13lc.h:273
volatile unsigned int UARTCR
Definition: ci13lc.h:272
volatile unsigned int TZCLR
Definition: ci13lc.h:458
volatile unsigned int DMACCxDestAddr
Definition: ci13lc.h:300
volatile unsigned int V2I_CFG
Definition: ci13lc.h:258
volatile unsigned int reg5
Definition: ci13lc.h:400
volatile unsigned int reg48
Definition: ci13lc.h:386
volatile unsigned int RX_VAD_CTRL
Definition: ci13lc.h:364
volatile unsigned int CPR2
Definition: ci13lc.h:441
volatile unsigned int SYS_CLKGATE_CFG0
Definition: ci13lc.h:158
volatile unsigned int IISDMASTATE
Definition: ci13lc.h:360
volatile unsigned int CPR1
Definition: ci13lc.h:440
volatile unsigned int AD_CFG0
Definition: ci13lc.h:249
volatile unsigned int IISxDMATNUM1
Definition: ci13lc.h:351
volatile unsigned int PVDC_MAX_VAL
Definition: ci13lc.h:480
volatile unsigned int PWR_WAKEUP_STATE_REG
Definition: ci13lc.h:253
Definition: ci13lc.h:393
volatile unsigned int reg31
Definition: ci13lc.h:421
volatile unsigned int AQSFRC
Definition: ci13lc.h:445
volatile unsigned int reg0
Definition: ci13lc.h:395
volatile unsigned int DMACSoftLBReq
Definition: ci13lc.h:320
volatile unsigned int reg46
Definition: ci13lc.h:384
volatile unsigned int reg2d
Definition: ci13lc.h:417
volatile unsigned int IOREUSE_CFG1
Definition: ci13lc.h:233
volatile unsigned int PMU_PWROFF_CFG
Definition: ci13lc.h:220
volatile unsigned int reg4
Definition: ci13lc.h:399
volatile unsigned int reg43
Definition: ci13lc.h:381
volatile unsigned int reg4c
Definition: ci13lc.h:389
volatile unsigned int PVDC_EN
Definition: ci13lc.h:476
volatile unsigned int SYS_CTRL_CFG
Definition: ci13lc.h:132
Definition: ci13lc.h:297
volatile unsigned int UARTIBrd
Definition: ci13lc.h:269
volatile unsigned int DBFED
Definition: ci13lc.h:449
volatile unsigned int APB0_RESET_CFG
Definition: ci13lc.h:167
volatile unsigned int AON_CLKGATE_CFG
Definition: ci13lc.h:211
volatile unsigned int REMCR
Definition: ci13lc.h:280
volatile unsigned int DMACIntTCClear
Definition: ci13lc.h:312
volatile unsigned int CLK_DIV_PARAM1_CFG
Definition: ci13lc.h:141
volatile unsigned int MEM2_EMA_CFG
Definition: ci13lc.h:180
volatile unsigned int reg6
Definition: ci13lc.h:401
volatile unsigned int APB1_CLKGATE_CFG
Definition: ci13lc.h:162
volatile unsigned int reg22
Definition: ci13lc.h:407
volatile unsigned int IIS_END_NUM_EN
Definition: ci13lc.h:366
volatile unsigned int DMA_REQ_CLR_STATE
Definition: ci13lc.h:368
Definition: ci13lc.h:344
Definition: ci13lc.h:36
enum IRQn IRQn_Type
volatile unsigned int AQCSFRC
Definition: ci13lc.h:446
volatile unsigned int DBCTL
Definition: ci13lc.h:447
volatile unsigned int MCLK1_CFG
Definition: ci13lc.h:150
Definition: ci13lc.h:263
volatile unsigned int AHB_CLKGATE_CFG
Definition: ci13lc.h:160
volatile unsigned int AQCTLA
Definition: ci13lc.h:443
volatile unsigned int PVDC_LOCK
Definition: ci13lc.h:471
volatile unsigned int PMU_CFG
Definition: ci13lc.h:215
volatile unsigned int AON_RESET_CFG
Definition: ci13lc.h:213
volatile unsigned int DMACCxSrcAddr
Definition: ci13lc.h:299
volatile unsigned int SYS_SOFTRST_CFG
Definition: ci13lc.h:201
volatile unsigned int PVDC_TH
Definition: ci13lc.h:477
volatile unsigned int PCCTL
Definition: ci13lc.h:451
volatile unsigned int CLK_DIV_PARAM2_CFG
Definition: ci13lc.h:142
IRQn
Definition: ci13lc.h:18
volatile unsigned int DMACEnbldChns
Definition: ci13lc.h:317
volatile unsigned int DMACConfiguration
Definition: ci13lc.h:322
Definition: ci13lc.h:487
volatile unsigned int DUALCORE_JTAG_MD
Definition: ci13lc.h:188
volatile unsigned int BAUD_SMPL_RATE
Definition: ci13lc.h:291
volatile unsigned int TBPHS
Definition: ci13lc.h:434
volatile unsigned int reg2f
Definition: ci13lc.h:419
volatile unsigned int DMACITCR
Definition: ci13lc.h:327
Definition: ci13lc.h:32
volatile unsigned int PVDC_CFG_VOL
Definition: ci13lc.h:478
volatile unsigned int ETFLG
Definition: ci13lc.h:463
Definition: ci13lc.h:335
volatile unsigned int RST_STATE_REG
Definition: ci13lc.h:251
volatile unsigned int TZCTL
Definition: ci13lc.h:455
volatile unsigned int CLK_DIV_PARAM0_CFG
Definition: ci13lc.h:140
volatile unsigned int CKCFG_LOCK_CFG
Definition: ci13lc.h:138
volatile unsigned int UARTMaskInt
Definition: ci13lc.h:274
volatile unsigned int reg32
Definition: ci13lc.h:422
volatile unsigned int OD_CFG0
Definition: ci13lc.h:235
volatile unsigned int DMACSoftBReq
Definition: ci13lc.h:318
volatile unsigned int PU_CFG0
Definition: ci13lc.h:238
volatile unsigned int DBRED
Definition: ci13lc.h:448
Definition: ci13lc.h:28
volatile unsigned int UARTRdDR
Definition: ci13lc.h:265
Definition: ci13lc.h:130
volatile unsigned int UARTFlag
Definition: ci13lc.h:268
volatile unsigned int reg7
Definition: ci13lc.h:402
volatile unsigned int PMU_PWRON_CFG
Definition: ci13lc.h:221
volatile unsigned int PLL_CFG
Definition: ci13lc.h:205
volatile unsigned int SCU_STATE_REG
Definition: ci13lc.h:164
volatile unsigned int reg41
Definition: ci13lc.h:379
volatile unsigned int CFG_LOCK_CFG
Definition: ci13lc.h:198
volatile unsigned int WAKEUP_CFG
Definition: ci13lc.h:226
volatile unsigned int APB1_RESET_CFG
Definition: ci13lc.h:168
volatile unsigned int reg47
Definition: ci13lc.h:385
volatile unsigned int ETCLR
Definition: ci13lc.h:464
volatile unsigned int DMACIntErrorStatus
Definition: ci13lc.h:313
volatile unsigned int PD_CFG0
Definition: ci13lc.h:236
volatile unsigned int SRC1_MCLK_CFG
Definition: ci13lc.h:147
volatile unsigned int MEM0_EMA_CFG
Definition: ci13lc.h:178
volatile unsigned int reg26
Definition: ci13lc.h:411
Definition: ci13lc.h:48
volatile unsigned int IISxDMATNUM0
Definition: ci13lc.h:349
volatile unsigned int PVDC_INTR_RAW
Definition: ci13lc.h:472
volatile unsigned int TBCTL
Definition: ci13lc.h:432
volatile unsigned int BAUD_SMPL_0
Definition: ci13lc.h:293
volatile unsigned int BAUD_MIS
Definition: ci13lc.h:288
volatile unsigned int TZFLG
Definition: ci13lc.h:457
volatile unsigned int ETFRC
Definition: ci13lc.h:465
volatile unsigned int INT_STATE_REG0
Definition: ci13lc.h:175
volatile unsigned int BAUD_CR
Definition: ci13lc.h:290
Definition: ci13lc.h:30
Definition: ci13lc.h:35
volatile unsigned int RC_UPDATE_CFG
Definition: ci13lc.h:229
volatile unsigned int reg44
Definition: ci13lc.h:382
volatile unsigned int IIS0_CLK_SEL_CFG
Definition: ci13lc.h:152
volatile unsigned int IISxDMATADDR0
Definition: ci13lc.h:348
Definition: ci13lc.h:26
volatile unsigned int reg23
Definition: ci13lc.h:408
volatile unsigned int BAUD_ICR
Definition: ci13lc.h:289
volatile unsigned int ETPS
Definition: ci13lc.h:462
Definition: ci13lc.h:46
volatile unsigned int AQCTLB
Definition: ci13lc.h:444
volatile unsigned int reg2a
Definition: ci13lc.h:414
volatile unsigned int EXT0_FILTER_CFG
Definition: ci13lc.h:172
volatile unsigned int MCLK0_CFG
Definition: ci13lc.h:149
volatile unsigned int reg33
Definition: ci13lc.h:423
volatile unsigned int PVDC_INTR
Definition: ci13lc.h:474
volatile unsigned int AON_CLK_PARAM_CFG1
Definition: ci13lc.h:207
volatile unsigned int PVDC_VOL
Definition: ci13lc.h:475
volatile unsigned int DMACSoftLSReq
Definition: ci13lc.h:321
Definition: ci13lc.h:27
volatile unsigned int DMACCxConfiguration
Definition: ci13lc.h:303
volatile unsigned int DS_CFG0
Definition: ci13lc.h:240
volatile unsigned int RC_CFG
Definition: ci13lc.h:228
volatile unsigned int UARTWrDR
Definition: ci13lc.h:266
Definition: ci13lc.h:37
volatile unsigned int IISxDMARNUM
Definition: ci13lc.h:347
volatile unsigned int WAKEUP_MASK_CFG
Definition: ci13lc.h:224
unsigned int DestAddr
Definition: ci13lc.h:338
volatile unsigned int CODEC_CLK_SEL_CFG
Definition: ci13lc.h:156
volatile unsigned int BAUD_MASK_INT
Definition: ci13lc.h:286
volatile unsigned int DS_CFG1
Definition: ci13lc.h:241
volatile unsigned int IIS1_CLK_SEL_CFG
Definition: ci13lc.h:153
volatile unsigned int UARTMIS
Definition: ci13lc.h:276
volatile unsigned int TZSEL
Definition: ci13lc.h:454
volatile unsigned int EFUSE_TEST_MD
Definition: ci13lc.h:189
Definition: ci13lc.h:34
volatile unsigned int MEM1_EMA_CFG
Definition: ci13lc.h:179
volatile unsigned int BAUD_STATUS
Definition: ci13lc.h:292
unsigned int resver1
Definition: ci13lc.h:396
volatile unsigned int TBPRD
Definition: ci13lc.h:436
unsigned int SrcAddr
Definition: ci13lc.h:337
volatile unsigned int rega
Definition: ci13lc.h:404
volatile unsigned int AON_CLK_PARAM_EN_CFG
Definition: ci13lc.h:209
Definition: ci13lc.h:29
volatile unsigned int DMACIntErrClr
Definition: ci13lc.h:314
volatile unsigned int REMINTSTAE
Definition: ci13lc.h:284
volatile unsigned int IISDMACLR
Definition: ci13lc.h:361
volatile unsigned int reg42
Definition: ci13lc.h:380
Definition: ci13lc.h:41
volatile unsigned int DMACIntStatus
Definition: ci13lc.h:310
unsigned int resver2
Definition: ci13lc.h:450
volatile unsigned int EXT_INT_CFG
Definition: ci13lc.h:134
volatile unsigned int DMACSoftSReq
Definition: ci13lc.h:319
volatile unsigned int APB0_CLKGATE_CFG
Definition: ci13lc.h:161
volatile unsigned int UARTICR
Definition: ci13lc.h:277
volatile unsigned int CMPB
Definition: ci13lc.h:439
volatile unsigned int reg25
Definition: ci13lc.h:410
Definition: ci13lc.h:22
volatile unsigned int BOOT_ADDR_CFG
Definition: ci13lc.h:186
volatile unsigned int DMACRawIntErrorStatus
Definition: ci13lc.h:316
volatile unsigned int SYS_RESET_CFG
Definition: ci13lc.h:200
volatile unsigned int reg29
Definition: ci13lc.h:413
volatile unsigned int UARTTimeOut
Definition: ci13lc.h:279
unsigned int NextLLI
Definition: ci13lc.h:339
Definition: ci13lc.h:45