mpc8260ioport.h
来自「mpc8260 i2c driver code, it is used for 」· C头文件 代码 · 共 49 行
H
49 行
#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 + =
减小字号Ctrl + -
显示快捷键?