⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mcf523x_gpio.h

📁 MCS-51的一个Free小型操作系统,在KeilC中下编译工作
💻 H
📖 第 1 页 / 共 3 页
字号:
#define MCF_GPIO_PDDR_BUSCTL_PDDR_BUSCTL7        (0x80)/* Bit definitions and macros for MCF_GPIO_PDDR_BS */#define MCF_GPIO_PDDR_BS_PDDR_BS0                (0x01)#define MCF_GPIO_PDDR_BS_PDDR_BS3(x)             (((x)&0x07)<<1)/* Bit definitions and macros for MCF_GPIO_PDDR_CS */#define MCF_GPIO_PDDR_CS_PDDR_CS1                (0x02)#define MCF_GPIO_PDDR_CS_PDDR_CS2                (0x04)#define MCF_GPIO_PDDR_CS_PDDR_CS3                (0x08)#define MCF_GPIO_PDDR_CS_PDDR_CS4                (0x10)#define MCF_GPIO_PDDR_CS_PDDR_CS5                (0x20)#define MCF_GPIO_PDDR_CS_PDDR_CS6                (0x40)#define MCF_GPIO_PDDR_CS_PDDR_CS7                (0x80)/* Bit definitions and macros for MCF_GPIO_PDDR_SDRAM */#define MCF_GPIO_PDDR_SDRAM_PDDR_SDRAM0          (0x01)#define MCF_GPIO_PDDR_SDRAM_PDDR_SDRAM1          (0x02)#define MCF_GPIO_PDDR_SDRAM_PDDR_SDRAM2          (0x04)#define MCF_GPIO_PDDR_SDRAM_PDDR_SDRAM3          (0x08)#define MCF_GPIO_PDDR_SDRAM_PDDR_SDRAM4          (0x10)#define MCF_GPIO_PDDR_SDRAM_PDDR_SDRAM5          (0x20)/* Bit definitions and macros for MCF_GPIO_PDDR_FECI2C */#define MCF_GPIO_PDDR_FECI2C_PDDR_FECI2C0        (0x01)#define MCF_GPIO_PDDR_FECI2C_PDDR_FECI2C1        (0x02)#define MCF_GPIO_PDDR_FECI2C_PDDR_FECI2C2        (0x04)#define MCF_GPIO_PDDR_FECI2C_PDDR_FECI2C3        (0x08)/* Bit definitions and macros for MCF_GPIO_PDDR_UARTH */#define MCF_GPIO_PDDR_UARTH_PDDR_UARTH0          (0x01)#define MCF_GPIO_PDDR_UARTH_PDDR_UARTH1          (0x02)/* Bit definitions and macros for MCF_GPIO_PDDR_UARTL */#define MCF_GPIO_PDDR_UARTL_PDDR_UARTL0          (0x01)#define MCF_GPIO_PDDR_UARTL_PDDR_UARTL1          (0x02)#define MCF_GPIO_PDDR_UARTL_PDDR_UARTL2          (0x04)#define MCF_GPIO_PDDR_UARTL_PDDR_UARTL3          (0x08)#define MCF_GPIO_PDDR_UARTL_PDDR_UARTL4          (0x10)#define MCF_GPIO_PDDR_UARTL_PDDR_UARTL5          (0x20)#define MCF_GPIO_PDDR_UARTL_PDDR_UARTL6          (0x40)#define MCF_GPIO_PDDR_UARTL_PDDR_UARTL7          (0x80)/* Bit definitions and macros for MCF_GPIO_PDDR_QSPI */#define MCF_GPIO_PDDR_QSPI_PDDR_QSPI0            (0x01)#define MCF_GPIO_PDDR_QSPI_PDDR_QSPI1            (0x02)#define MCF_GPIO_PDDR_QSPI_PDDR_QSPI2            (0x04)#define MCF_GPIO_PDDR_QSPI_PDDR_QSPI3            (0x08)#define MCF_GPIO_PDDR_QSPI_PDDR_QSPI4            (0x10)/* Bit definitions and macros for MCF_GPIO_PDDR_TIMER */#define MCF_GPIO_PDDR_TIMER_PDDR_TIMER0          (0x01)#define MCF_GPIO_PDDR_TIMER_PDDR_TIMER1          (0x02)#define MCF_GPIO_PDDR_TIMER_PDDR_TIMER2          (0x04)#define MCF_GPIO_PDDR_TIMER_PDDR_TIMER3          (0x08)#define MCF_GPIO_PDDR_TIMER_PDDR_TIMER4          (0x10)#define MCF_GPIO_PDDR_TIMER_PDDR_TIMER5          (0x20)#define MCF_GPIO_PDDR_TIMER_PDDR_TIMER6          (0x40)#define MCF_GPIO_PDDR_TIMER_PDDR_TIMER7          (0x80)/* Bit definitions and macros for MCF_GPIO_PDDR_ETPU */#define MCF_GPIO_PDDR_ETPU_PDDR_ETPU0            (0x01)#define MCF_GPIO_PDDR_ETPU_PDDR_ETPU1            (0x02)#define MCF_GPIO_PDDR_ETPU_PDDR_ETPU2            (0x04)/* Bit definitions and macros for MCF_GPIO_PPDSDR_ADDR */#define MCF_GPIO_PPDSDR_ADDR_PPDSDR_ADDR5        (0x20)#define MCF_GPIO_PPDSDR_ADDR_PPDSDR_ADDR6        (0x40)#define MCF_GPIO_PPDSDR_ADDR_PPDSDR_ADDR7        (0x80)/* Bit definitions and macros for MCF_GPIO_PPDSDR_DATAH */#define MCF_GPIO_PPDSDR_DATAH_PPDSDR_DATAH0      (0x01)#define MCF_GPIO_PPDSDR_DATAH_PPDSDR_DATAH1      (0x02)#define MCF_GPIO_PPDSDR_DATAH_PPDSDR_DATAH2      (0x04)#define MCF_GPIO_PPDSDR_DATAH_PPDSDR_DATAH3      (0x08)#define MCF_GPIO_PPDSDR_DATAH_PPDSDR_DATAH4      (0x10)#define MCF_GPIO_PPDSDR_DATAH_PPDSDR_DATAH5      (0x20)#define MCF_GPIO_PPDSDR_DATAH_PPDSDR_DATAH6      (0x40)#define MCF_GPIO_PPDSDR_DATAH_PPDSDR_DATAH7      (0x80)/* Bit definitions and macros for MCF_GPIO_PPDSDR_DATAL */#define MCF_GPIO_PPDSDR_DATAL_PPDSDR_DATAL0      (0x01)#define MCF_GPIO_PPDSDR_DATAL_PPDSDR_DATAL1      (0x02)#define MCF_GPIO_PPDSDR_DATAL_PPDSDR_DATAL2      (0x04)#define MCF_GPIO_PPDSDR_DATAL_PPDSDR_DATAL3      (0x08)#define MCF_GPIO_PPDSDR_DATAL_PPDSDR_DATAL4      (0x10)#define MCF_GPIO_PPDSDR_DATAL_PPDSDR_DATAL5      (0x20)#define MCF_GPIO_PPDSDR_DATAL_PPDSDR_DATAL6      (0x40)#define MCF_GPIO_PPDSDR_DATAL_PPDSDR_DATAL7      (0x80)/* Bit definitions and macros for MCF_GPIO_PPDSDR_BUSCTL */#define MCF_GPIO_PPDSDR_BUSCTL_PPDSDR_BUSCTL0    (0x01)#define MCF_GPIO_PPDSDR_BUSCTL_PPDSDR_BUSCTL1    (0x02)#define MCF_GPIO_PPDSDR_BUSCTL_PPDSDR_BUSCTL2    (0x04)#define MCF_GPIO_PPDSDR_BUSCTL_PPDSDR_BUSCTL3    (0x08)#define MCF_GPIO_PPDSDR_BUSCTL_PPDSDR_BUSCTL4    (0x10)#define MCF_GPIO_PPDSDR_BUSCTL_PPDSDR_BUSCTL5    (0x20)#define MCF_GPIO_PPDSDR_BUSCTL_PPDSDR_BUSCTL6    (0x40)#define MCF_GPIO_PPDSDR_BUSCTL_PPDSDR_BUSCTL7    (0x80)/* Bit definitions and macros for MCF_GPIO_PPDSDR_BS */#define MCF_GPIO_PPDSDR_BS_PPDSDR_BS0            (0x01)#define MCF_GPIO_PPDSDR_BS_PPDSDR_BS1            (0x02)#define MCF_GPIO_PPDSDR_BS_PPDSDR_BS2            (0x04)#define MCF_GPIO_PPDSDR_BS_PPDSDR_BS3            (0x08)/* Bit definitions and macros for MCF_GPIO_PPDSDR_FECI2C */#define MCF_GPIO_PPDSDR_FECI2C_PPDSDR_FECI2C0    (0x01)#define MCF_GPIO_PPDSDR_FECI2C_PPDSDR_FECI2C1    (0x02)#define MCF_GPIO_PPDSDR_FECI2C_PPDSDR_FECI2C2    (0x04)#define MCF_GPIO_PPDSDR_FECI2C_PPDSDR_FECI2C3    (0x08)/* Bit definitions and macros for MCF_GPIO_PPDSDR_CS */#define MCF_GPIO_PPDSDR_CS_PPDSDR_CS1            (0x02)#define MCF_GPIO_PPDSDR_CS_PPDSDR_CS2            (0x04)#define MCF_GPIO_PPDSDR_CS_PPDSDR_CS3            (0x08)#define MCF_GPIO_PPDSDR_CS_PPDSDR_CS4            (0x10)#define MCF_GPIO_PPDSDR_CS_PPDSDR_CS5            (0x20)#define MCF_GPIO_PPDSDR_CS_PPDSDR_CS6            (0x40)#define MCF_GPIO_PPDSDR_CS_PPDSDR_CS7            (0x80)/* Bit definitions and macros for MCF_GPIO_PPDSDR_SDRAM */#define MCF_GPIO_PPDSDR_SDRAM_PPDSDR_SDRAM0      (0x01)#define MCF_GPIO_PPDSDR_SDRAM_PPDSDR_SDRAM1      (0x02)#define MCF_GPIO_PPDSDR_SDRAM_PPDSDR_SDRAM2      (0x04)#define MCF_GPIO_PPDSDR_SDRAM_PPDSDR_SDRAM3      (0x08)#define MCF_GPIO_PPDSDR_SDRAM_PPDSDR_SDRAM4      (0x10)#define MCF_GPIO_PPDSDR_SDRAM_PPDSDR_SDRAM5      (0x20)#define MCF_GPIO_PPDSDR_SDRAM_PPDSDR_SDRAM6      (0x40)#define MCF_GPIO_PPDSDR_SDRAM_PPDSDR_SDRAM7      (0x80)/* Bit definitions and macros for MCF_GPIO_PPDSDR_UARTH */#define MCF_GPIO_PPDSDR_UARTH_PPDSDR_UARTH0      (0x01)#define MCF_GPIO_PPDSDR_UARTH_PPDSDR_UARTH1      (0x02)/* Bit definitions and macros for MCF_GPIO_PPDSDR_UARTL */#define MCF_GPIO_PPDSDR_UARTL_PPDSDR_UARTL0      (0x01)#define MCF_GPIO_PPDSDR_UARTL_PPDSDR_UARTL1      (0x02)#define MCF_GPIO_PPDSDR_UARTL_PPDSDR_UARTL2      (0x04)#define MCF_GPIO_PPDSDR_UARTL_PPDSDR_UARTL3      (0x08)#define MCF_GPIO_PPDSDR_UARTL_PPDSDR_UARTL4      (0x10)#define MCF_GPIO_PPDSDR_UARTL_PPDSDR_UARTL5      (0x20)#define MCF_GPIO_PPDSDR_UARTL_PPDSDR_UARTL6      (0x40)#define MCF_GPIO_PPDSDR_UARTL_PPDSDR_UARTL7      (0x80)/* Bit definitions and macros for MCF_GPIO_PPDSDR_QSPI */#define MCF_GPIO_PPDSDR_QSPI_PPDSDR_QSPI0        (0x01)#define MCF_GPIO_PPDSDR_QSPI_PPDSDR_QSPI1        (0x02)#define MCF_GPIO_PPDSDR_QSPI_PPDSDR_QSPI2        (0x04)#define MCF_GPIO_PPDSDR_QSPI_PPDSDR_QSPI3        (0x08)#define MCF_GPIO_PPDSDR_QSPI_PPDSDR_QSPI4        (0x10)/* Bit definitions and macros for MCF_GPIO_PPDSDR_TIMER */#define MCF_GPIO_PPDSDR_TIMER_PPDSDR_TIMER0      (0x01)#define MCF_GPIO_PPDSDR_TIMER_PPDSDR_TIMER1      (0x02)#define MCF_GPIO_PPDSDR_TIMER_PPDSDR_TIMER2      (0x04)#define MCF_GPIO_PPDSDR_TIMER_PPDSDR_TIMER3      (0x08)#define MCF_GPIO_PPDSDR_TIMER_PPDSDR_TIMER4      (0x10)#define MCF_GPIO_PPDSDR_TIMER_PPDSDR_TIMER5      (0x20)#define MCF_GPIO_PPDSDR_TIMER_PPDSDR_TIMER6      (0x40)#define MCF_GPIO_PPDSDR_TIMER_PPDSDR_TIMER7      (0x80)/* Bit definitions and macros for MCF_GPIO_PPDSDR_ETPU */#define MCF_GPIO_PPDSDR_ETPU_PPDSDR_ETPU0        (0x01)#define MCF_GPIO_PPDSDR_ETPU_PPDSDR_ETPU1        (0x02)#define MCF_GPIO_PPDSDR_ETPU_PPDSDR_ETPU2        (0x04)/* Bit definitions and macros for MCF_GPIO_PCLRR_ADDR */#define MCF_GPIO_PCLRR_ADDR_PCLRR_ADDR5          (0x20)#define MCF_GPIO_PCLRR_ADDR_PCLRR_ADDR6          (0x40)#define MCF_GPIO_PCLRR_ADDR_PCLRR_ADDR7          (0x80)/* Bit definitions and macros for MCF_GPIO_PCLRR_DATAH */#define MCF_GPIO_PCLRR_DATAH_PCLRR_DATAH0        (0x01)#define MCF_GPIO_PCLRR_DATAH_PCLRR_DATAH1        (0x02)#define MCF_GPIO_PCLRR_DATAH_PCLRR_DATAH2        (0x04)#define MCF_GPIO_PCLRR_DATAH_PCLRR_DATAH3        (0x08)#define MCF_GPIO_PCLRR_DATAH_PCLRR_DATAH4        (0x10)#define MCF_GPIO_PCLRR_DATAH_PCLRR_DATAH5        (0x20)#define MCF_GPIO_PCLRR_DATAH_PCLRR_DATAH6        (0x40)#define MCF_GPIO_PCLRR_DATAH_PCLRR_DATAH7        (0x80)/* Bit definitions and macros for MCF_GPIO_PCLRR_DATAL */#define MCF_GPIO_PCLRR_DATAL_PCLRR_DATAL0        (0x01)#define MCF_GPIO_PCLRR_DATAL_PCLRR_DATAL1        (0x02)#define MCF_GPIO_PCLRR_DATAL_PCLRR_DATAL2        (0x04)#define MCF_GPIO_PCLRR_DATAL_PCLRR_DATAL3        (0x08)#define MCF_GPIO_PCLRR_DATAL_PCLRR_DATAL4        (0x10)#define MCF_GPIO_PCLRR_DATAL_PCLRR_DATAL5        (0x20)#define MCF_GPIO_PCLRR_DATAL_PCLRR_DATAL6        (0x40)#define MCF_GPIO_PCLRR_DATAL_PCLRR_DATAL7        (0x80)/* Bit definitions and macros for MCF_GPIO_PCLRR_BUSCTL */#define MCF_GPIO_PCLRR_BUSCTL_PCLRR_BUSCTL0      (0x01)#define MCF_GPIO_PCLRR_BUSCTL_PCLRR_BUSCTL1      (0x02)#define MCF_GPIO_PCLRR_BUSCTL_PCLRR_BUSCTL2      (0x04)#define MCF_GPIO_PCLRR_BUSCTL_PCLRR_BUSCTL3      (0x08)#define MCF_GPIO_PCLRR_BUSCTL_PCLRR_BUSCTL4      (0x10)#define MCF_GPIO_PCLRR_BUSCTL_PCLRR_BUSCTL5      (0x20)#define MCF_GPIO_PCLRR_BUSCTL_PCLRR_BUSCTL6      (0x40)#define MCF_GPIO_PCLRR_BUSCTL_PCLRR_BUSCTL7      (0x80)/* Bit definitions and macros for MCF_GPIO_PCLRR_BS */#define MCF_GPIO_PCLRR_BS_PCLRR_BS0              (0x01)#define MCF_GPIO_PCLRR_BS_PCLRR_BS1              (0x02)#define MCF_GPIO_PCLRR_BS_PCLRR_BS2              (0x04)#define MCF_GPIO_PCLRR_BS_PCLRR_BS3              (0x08)/* Bit definitions and macros for MCF_GPIO_PCLRR_CS */#define MCF_GPIO_PCLRR_CS_PCLRR_CS1              (0x02)#define MCF_GPIO_PCLRR_CS_PCLRR_CS2              (0x04)#define MCF_GPIO_PCLRR_CS_PCLRR_CS3              (0x08)#define MCF_GPIO_PCLRR_CS_PCLRR_CS4              (0x10)#define MCF_GPIO_PCLRR_CS_PCLRR_CS5              (0x20)#define MCF_GPIO_PCLRR_CS_PCLRR_CS6              (0x40)#define MCF_GPIO_PCLRR_CS_PCLRR_CS7              (0x80)/* Bit definitions and macros for MCF_GPIO_PCLRR_SDRAM */#define MCF_GPIO_PCLRR_SDRAM_PCLRR_SDRAM0        (0x01)#define MCF_GPIO_PCLRR_SDRAM_PCLRR_SDRAM1        (0x02)#define MCF_GPIO_PCLRR_SDRAM_PCLRR_SDRAM2        (0x04)#define MCF_GPIO_PCLRR_SDRAM_PCLRR_SDRAM3        (0x08)#define MCF_GPIO_PCLRR_SDRAM_PCLRR_SDRAM4        (0x10)#define MCF_GPIO_PCLRR_SDRAM_PCLRR_SDRAM5        (0x20)/* Bit definitions and macros for MCF_GPIO_PCLRR_FECI2C */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -