📄 regsdef.h
字号:
#ifndef PXA27X_REGS_H
#define PXA27X_REGS_H
#include "systypes.h"
//IIC
#define IBMR *(volatile UINT *)0x40301680
#define IDBR *(volatile UINT *)0x40301688
#define ICR *(volatile UINT *)0x40301690
#define IICISR *(volatile UINT *)0x40301698
#define ISAR *(volatile UINT *)0x403016A0
//LCD
#define LCCR4 *(volatile UINT *)0x44000010
#define FBR2 *(volatile UINT *)0x44000028
#define FBR3 *(volatile UINT *)0x4400002C
#define FBR4 *(volatile UINT *)0x44000030
#define FBR5 *(volatile UINT *)0x44000110
#define FBR6 *(volatile UINT *)0x44000114
#define OVL1C1 *(volatile UINT *)0x44000050
#define OVL1C2 *(volatile UINT *)0x44000060
#define OVL2C1 *(volatile UINT *)0x44000070
#define OVL2C2 *(volatile UINT *)0x44000080
#define CCR *(volatile UINT *)0x44000090
//#define FDADR1 *(volatile UINT *)0x44000210
#define FDADR2 *(volatile UINT *)0x44000220
#define FDADR3 *(volatile UINT *)0x44000230
#define FDADR4 *(volatile UINT *)0x44000240
#define FDADR5 *(volatile UINT *)0x44000250
#define FDADR6 *(volatile UINT *)0x44000260
#define MDCNFG *(volatile UINT *)0x48000000
#define MDREFR *(volatile UINT *)0x48000004
#define MSC0 *(volatile UINT *)0x48000008
#define MSC1 *(volatile UINT *)0x4800000C
#define MSC2 *(volatile UINT *)0x48000010
//RTC
#define RCNR *(volatile UINT *)0x40900000
#define RTAR *(volatile UINT *)0x40900004
#define RTSR *(volatile UINT *)0x40900008
#define RTTR *(volatile UINT *)0x4090000C
#define RDCR *(volatile UINT *)0x40900010
#define RYCR *(volatile UINT *)0x40900014
#define RDAR1 *(volatile UINT *)0x40900018
#define RYAR1 *(volatile UINT *)0x4090001C
#define RDAR2 *(volatile UINT *)0x40900020
#define RYAR2 *(volatile UINT *)0x40900024
#define SWCR *(volatile UINT *)0x40900028
#define SWAR1 *(volatile UINT *)0x4090002C
#define SWAR2 *(volatile UINT *)0x40900030
#define RTCPICR *(volatile UINT *)0x40900034
#define PIAR *(volatile UINT *)0x40900038
//OST
#define OSMR0 *(volatile UINT *)0x40A00000
#define OSMR1 *(volatile UINT *)0x40A00004
#define OSMR2 *(volatile UINT *)0x40A00008
#define OSMR3 *(volatile UINT *)0x40A0000C
#define OSCR0 *(volatile UINT *)0x40A00010
#define OSSR *(volatile UINT *)0x40A00014
#define OWER *(volatile UINT *)0x40A00018
#define OIER *(volatile UINT *)0x40A0001C
#define OSNR *(volatile UINT *)0x40A00020
#define OSCR4 *(volatile UINT *)0x40A00040
#define OSCR5 *(volatile UINT *)0x40A00044
#define OSCR6 *(volatile UINT *)0x40A00048
#define OSCR7 *(volatile UINT *)0x40A0004C
#define OSCR8 *(volatile UINT *)0x40A00050
#define OSCR9 *(volatile UINT *)0x40A00054
#define OSCR10 *(volatile UINT *)0x40A00058
#define OSCR11 *(volatile UINT *)0x40A0005C
#define OSMR4 *(volatile UINT *)0x40A00080
#define OSMR5 *(volatile UINT *)0x40A00084
#define OSMR6 *(volatile UINT *)0x40A00088
#define OSMR7 *(volatile UINT *)0x40A0008C
#define OSMR8 *(volatile UINT *)0x40A00090
#define OSMR9 *(volatile UINT *)0x40A00094
#define OSMR10 *(volatile UINT *)0x40A00098
#define OSMR11 *(volatile UINT *)0x40A0009C
#define OMCR4 *(volatile UINT *)0x40A000C0
#define OMCR5 *(volatile UINT *)0x40A000C4
#define OMCR6 *(volatile UINT *)0x40A000C8
#define OMCR7 *(volatile UINT *)0x40A000CC
#define OMCR8 *(volatile UINT *)0x40A000D0
#define OMCR9 *(volatile UINT *)0x40A000D4
#define OMCR10 *(volatile UINT *)0x40A000D8
#define OMCR11 *(volatile UINT *)0x40A000DC
//PWM
#define PWMCR0 *(volatile UINT *)0x40B00000
#define PWMDCR0 *(volatile UINT *)0x40B00004
#define PWMPCR0 *(volatile UINT *)0x40B00008
#define PWMCR2 *(volatile UINT *)0x40B00010
#define PWMDCR2 *(volatile UINT *)0x40B00014
#define PWMPCR2 *(volatile UINT *)0x40B00018
#define PWMCR1 *(volatile UINT *)0x40C00000
#define PWMDCR1 *(volatile UINT *)0x40C00004
#define PWMPCR1 *(volatile UINT *)0x40C00008
#define PWMCR3 *(volatile UINT *)0x40C00010
#define PWMDCR3 *(volatile UINT *)0x40C00014
#define PWMPCR3 *(volatile UINT *)0x40C00018
//GPIO
#define GPLR0 *(volatile UINT *)0x40E00000
#define GPLR1 *(volatile UINT *)0x40E00004
#define GPLR2 *(volatile UINT *)0x40E00008
#define GPDR0 *(volatile UINT *)0x40E0000C
#define GPDR1 *(volatile UINT *)0x40E00010
#define GPDR2 *(volatile UINT *)0x40E00014
#define GPSR0 *(volatile UINT *)0x40E00018
#define GPSR1 *(volatile UINT *)0x40E0001C
#define GPSR2 *(volatile UINT *)0x40E00020
#define GPCR0 *(volatile UINT *)0x40E00024
#define GPCR1 *(volatile UINT *)0x40E00028
#define GPCR2 *(volatile UINT *)0x40E0002C
#define GRER0 *(volatile UINT *)0x40E00030
#define GRER1 *(volatile UINT *)0x40E00034
#define GRER2 *(volatile UINT *)0x40E00038
#define GFER0 *(volatile UINT *)0x40E0003C
#define GFER1 *(volatile UINT *)0x40E00040
#define GFER2 *(volatile UINT *)0x40E00044
#define GEDR0 *(volatile UINT *)0x40E00048
#define GEDR1 *(volatile UINT *)0x40E0004C
#define GEDR2 *(volatile UINT *)0x40E00050
#define GAFR0_L *(volatile UINT *)0x40E00054
#define GAFR0_U *(volatile UINT *)0x40E00058
#define GAFR1_L *(volatile UINT *)0x40E0005C
#define GAFR1_U *(volatile UINT *)0x40E00060
#define GAFR2_L *(volatile UINT *)0x40E00064
#define GAFR2_U *(volatile UINT *)0x40E00068
#define GAFR3_L *(volatile UINT *)0x40E0006C
#define GAFR3_U *(volatile UINT *)0x40E00070
#define GPLR3 *(volatile UINT *)0x40E00100
#define GPDR3 *(volatile UINT *)0x40E0010C
#define GPSR3 *(volatile UINT *)0x40E00118
#define GPCR3 *(volatile UINT *)0x40E00124
#define GRER3 *(volatile UINT *)0x40E00130
#define GFER3 *(volatile UINT *)0x40E0013C
#define GEDR3 *(volatile UINT *)0x40E00148
//QCI
#define CICR0 *(volatile UINT *)0x50000000
#define CICR1 *(volatile UINT *)0x50000004
#define CICR2 *(volatile UINT *)0x50000008
#define CICR3 *(volatile UINT *)0x5000000C
#define CICR4 *(volatile UINT *)0x50000010
#define CISR *(volatile UINT *)0x50000014
#define CIFR *(volatile UINT *)0x50000018
#define CITOR *(volatile UINT *)0x5000001C
#define CIBR0 *(volatile UINT *)0x50000028
#define CIBR1 *(volatile UINT *)0x50000030
#define CIBR2 *(volatile UINT *)0x50000038
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -