📄 ad.h
字号:
/**************************************************************
; File Name : ad.h
; Description: ad Registers + other useful definitions
; Created by: WJS
;**************************************************************/
/*ADC 寄存器定义
;--------------------------------------------------------------*/
volatile unsigned int * ADCTRL1 = (volatile unsigned int *) 0x70A0;
/* ADC控制寄存器1*/
volatile unsigned int * ADCTRL2 = (volatile unsigned int *) 0x70A1;
/* ADC控制寄存器2*/
volatile unsigned int * MAXCONV = (volatile unsigned int *) 0x70A2;
/*最大转换通道寄存器*/
volatile unsigned int * CHSELSEQ1 = (volatile unsigned int *) 0x70A3;
/*通道选择域 :结果 3,2,1,0*/
volatile unsigned int * CHSELSEQ2 = (volatile unsigned int *) 0x70A4;
/*通道选择域 :结果 7,6,5,4*/
volatile unsigned int * CHSELSEQ3 = (volatile unsigned int *) 0x70A5;
/*通道选择域 :结果 11,10,9,8*/
volatile unsigned int * CHSELSEQ4 = (volatile unsigned int *) 0x70A6;
/*通道选择域 :结果 15,14,13,12*/
volatile unsigned int * AUTO_SEQ_SR = (volatile unsigned int *) 0x70A7;
/* 自动排序状态寄存器 */
volatile unsigned int * RESULT0 = (volatile unsigned int *) 0x70A8;
/* 转换结果寄存器 0*/
volatile unsigned int * RESULT1 = (volatile unsigned int *) 0x70A9;
/* 转换结果寄存器 1*/
volatile unsigned int * RESULT2 = (volatile unsigned int *) 0x70AA;
/* 转换结果寄存器 2*/
volatile unsigned int * RESULT3 = (volatile unsigned int *) 0x70AB;
/* 转换结果寄存器 3*/
volatile unsigned int * RESULT4 = (volatile unsigned int *) 0x70AC;
/* 转换结果寄存器 4*/
volatile unsigned int * RESULT5 = (volatile unsigned int *) 0x70AD;
/* 转换结果寄存器 5*/
volatile unsigned int * RESULT6 = (volatile unsigned int *) 0x70AE;
/* 转换结果寄存器 6*/
volatile unsigned int * RESULT7 = (volatile unsigned int *) 0x70AF;
/* 转换结果寄存器 7*/
volatile unsigned int * RESULT8 = (volatile unsigned int *) 0x70B0;
/* 转换结果寄存器 8*/
volatile unsigned int * RESULT9 = (volatile unsigned int *) 0x70B1;
/* 转换结果寄存器 9*/
volatile unsigned int * RESULT10 = (volatile unsigned int *) 0x70B2;
/* 转换结果寄存器 10*/
volatile unsigned int * RESULT11 = (volatile unsigned int *) 0x70B3;
/* 转换结果寄存器 11*/
volatile unsigned int * RESULT12 = (volatile unsigned int *) 0x70B4;
/* 转换结果寄存器 12*/
volatile unsigned int * RESULT13 = (volatile unsigned int *) 0x70B5;
/* 转换结果寄存器 13*/
volatile unsigned int * RESULT14 = (volatile unsigned int *) 0x70B6;
/* 转换结果寄存器 14*/
volatile unsigned int * RESULT15 = (volatile unsigned int *) 0x70B7;
/* 转换结果寄存器 15*/
volatile unsigned int * CALIBRATION = (volatile unsigned int *) 0x70B8;
/* 校准寄存器*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -