📄 mpc8260ioport.h
字号:
#ifndef __mpc8260IOPorth_H__#define __mpc8260IOPorth_H__#ifdef __cplusplusextern "C" {#endif/*** Port A registers ***/#define M8260_PPARA(base) (UINT32*) ((base) + 0x10d04)#define M8260_PSORA(base) (UINT32 *) ((base) + 0x10d08) #define M8260_PODRA(base) (UINT32*) ((base) + 0x10d0c) #define M8260_PDATA(base) (UINT32 *) ((base) + 0x10d10) /*** Port B registers ***/#define M8260_PDIRB(base) (UINT32 *) ((base) + 0x10d20)#define M8260_PPARB(base) (UINT32 *) ((base) + 0x10d24) #define M8260_PSORB(base) (UINT32 *) ((base) + 0x10d28) #define M8260_PODRB(base) (UINT32 *) ((base) + 0x10d2c) #define M8260_PDATB(base) (UINT32 *) ((base) + 0x10d30) /*** Port C registers ***/#define M8260_PDIRC(base) (UINT32 *) ((base) + 0x10d40)#define M8260_PPARC(base) (UINT32 *) ((base) + 0x10d44) #define M8260_PSORC(base) (UINT32 *) ((base) + 0x10d48) #define M8260_PODRC(base) (UINT32 *) ((base) + 0x10d4c) #define M8260_PDATC(base) (UINT32 *) ((base) + 0x10d50) /*** Port D registers ***/#define M8260_PDIRD(base) (UINT32 *) ((base) + 0x10d60)#define M8260_PPARD(base) (UINT32 *) ((base) + 0x10d64) #define M8260_PSORD(base) (UINT32 *) ((base) + 0x10d68) #define M8260_PODRD(base) (UINT32 *) ((base) + 0x10d6c) #define M8260_PDATD(base) (UINT32 *) ((base) + 0x10d70) #ifdef __cplusplus}#endif#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -