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

📄 mcf52259_gpio.h

📁 FreeRTOS is a portable, open source, mini Real Time Kernel - a free to download and royalty free RTO
💻 H
📖 第 1 页 / 共 4 页
字号:
#define MCF_GPIO_PORTTG_PORTTG2              (0x4)
#define MCF_GPIO_PORTTG_PORTTG3              (0x8)
#define MCF_GPIO_PORTTG_PORTTG4              (0x10)
#define MCF_GPIO_PORTTG_PORTTG5              (0x20)
#define MCF_GPIO_PORTTG_PORTTG6              (0x40)
#define MCF_GPIO_PORTTG_PORTTG7              (0x80)

/* Bit definitions and macros for MCF_GPIO_DDRTG */
#define MCF_GPIO_DDRTG_DDRTG0                (0x1)
#define MCF_GPIO_DDRTG_DDRTG1                (0x2)
#define MCF_GPIO_DDRTG_DDRTG2                (0x4)
#define MCF_GPIO_DDRTG_DDRTG3                (0x8)
#define MCF_GPIO_DDRTG_DDRTG4                (0x10)
#define MCF_GPIO_DDRTG_DDRTG5                (0x20)
#define MCF_GPIO_DDRTG_DDRTG6                (0x40)
#define MCF_GPIO_DDRTG_DDRTG7                (0x80)

/* Bit definitions and macros for MCF_GPIO_SETTG */
#define MCF_GPIO_SETTG_SETTG0                (0x1)
#define MCF_GPIO_SETTG_SETTG1                (0x2)
#define MCF_GPIO_SETTG_SETTG2                (0x4)
#define MCF_GPIO_SETTG_SETTG3                (0x8)
#define MCF_GPIO_SETTG_SETTG4                (0x10)
#define MCF_GPIO_SETTG_SETTG5                (0x20)
#define MCF_GPIO_SETTG_SETTG6                (0x40)
#define MCF_GPIO_SETTG_SETTG7                (0x80)

/* Bit definitions and macros for MCF_GPIO_CLRTG */
#define MCF_GPIO_CLRTG_CLRTG0                (0x1)
#define MCF_GPIO_CLRTG_CLRTG1                (0x2)
#define MCF_GPIO_CLRTG_CLRTG2                (0x4)
#define MCF_GPIO_CLRTG_CLRTG3                (0x8)
#define MCF_GPIO_CLRTG_CLRTG4                (0x10)
#define MCF_GPIO_CLRTG_CLRTG5                (0x20)
#define MCF_GPIO_CLRTG_CLRTG6                (0x40)
#define MCF_GPIO_CLRTG_CLRTG7                (0x80)

/* Bit definitions and macros for MCF_GPIO_PTGPAR */
#define MCF_GPIO_PTGPAR_PTGPAR0              (0x1)
#define MCF_GPIO_PTGPAR_MB_A16_GPIO          (0)
#define MCF_GPIO_PTGPAR_MB_A16_MB_A16        (0x1)
#define MCF_GPIO_PTGPAR_PTGPAR1              (0x2)
#define MCF_GPIO_PTGPAR_MB_A17_GPIO          (0)
#define MCF_GPIO_PTGPAR_MB_A17_MB_A17        (0x2)
#define MCF_GPIO_PTGPAR_PTGPAR2              (0x4)
#define MCF_GPIO_PTGPAR_MB_A18_GPIO          (0)
#define MCF_GPIO_PTGPAR_MB_A18_MB_A18        (0x4)
#define MCF_GPIO_PTGPAR_PTGPAR3              (0x8)
#define MCF_GPIO_PTGPAR_MB_A19_GPIO          (0)
#define MCF_GPIO_PTGPAR_MB_A19_MB_A19        (0x8)
#define MCF_GPIO_PTGPAR_PTGPAR4              (0x10)
#define MCF_GPIO_PTGPAR_PTGPAR5              (0x20)
#define MCF_GPIO_PTGPAR_MB_CS1_GPIO          (0)
#define MCF_GPIO_PTGPAR_MB_CS0_MB_CS0        (0x20)
#define MCF_GPIO_PTGPAR_PTGPAR6              (0x40)
#define MCF_GPIO_PTGPAR_MB_OE_GPIO           (0)
#define MCF_GPIO_PTGPAR_MB_OE_MB_OE          (0x40)
#define MCF_GPIO_PTGPAR_PTGPAR7              (0x80)
#define MCF_GPIO_PTGPAR_MB_RW_GPIO           (0)
#define MCF_GPIO_PTGPAR_MB_RW_MB_RW          (0x80)

/* Bit definitions and macros for MCF_GPIO_PORTTH */
#define MCF_GPIO_PORTTH_PORTTH0              (0x1)
#define MCF_GPIO_PORTTH_PORTTH1              (0x2)
#define MCF_GPIO_PORTTH_PORTTH2              (0x4)
#define MCF_GPIO_PORTTH_PORTTH3              (0x8)
#define MCF_GPIO_PORTTH_PORTTH4              (0x10)
#define MCF_GPIO_PORTTH_PORTTH5              (0x20)
#define MCF_GPIO_PORTTH_PORTTH6              (0x40)
#define MCF_GPIO_PORTTH_PORTTH7              (0x80)

/* Bit definitions and macros for MCF_GPIO_DDRTH */
#define MCF_GPIO_DDRTH_DDRTH0                (0x1)
#define MCF_GPIO_DDRTH_DDRTH1                (0x2)
#define MCF_GPIO_DDRTH_DDRTH2                (0x4)
#define MCF_GPIO_DDRTH_DDRTH3                (0x8)
#define MCF_GPIO_DDRTH_DDRTH4                (0x10)
#define MCF_GPIO_DDRTH_DDRTH5                (0x20)
#define MCF_GPIO_DDRTH_DDRTH6                (0x40)
#define MCF_GPIO_DDRTH_DDRTH7                (0x80)

/* Bit definitions and macros for MCF_GPIO_SETTH */
#define MCF_GPIO_SETTH_SETTH0                (0x1)
#define MCF_GPIO_SETTH_SETTH1                (0x2)
#define MCF_GPIO_SETTH_SETTH2                (0x4)
#define MCF_GPIO_SETTH_SETTH3                (0x8)
#define MCF_GPIO_SETTH_SETTH4                (0x10)
#define MCF_GPIO_SETTH_SETTH5                (0x20)
#define MCF_GPIO_SETTH_SETTH6                (0x40)
#define MCF_GPIO_SETTH_SETTH7                (0x80)

/* Bit definitions and macros for MCF_GPIO_CLRTH */
#define MCF_GPIO_CLRTH_CLRTH0                (0x1)
#define MCF_GPIO_CLRTH_CLRTH1                (0x2)
#define MCF_GPIO_CLRTH_CLRTH2                (0x4)
#define MCF_GPIO_CLRTH_CLRTH3                (0x8)
#define MCF_GPIO_CLRTH_CLRTH4                (0x10)
#define MCF_GPIO_CLRTH_CLRTH5                (0x20)
#define MCF_GPIO_CLRTH_CLRTH6                (0x40)
#define MCF_GPIO_CLRTH_CLRTH7                (0x80)

/* Bit definitions and macros for MCF_GPIO_PTHPAR */
#define MCF_GPIO_PTHPAR_PTHPAR0(x)           (((x)&0x3)<<0)
#define MCF_GPIO_PTHPAR_MB_D0_GPIO           (0)
#define MCF_GPIO_PTHPAR_MB_D0_MB_D0          (0x1)
#define MCF_GPIO_PTHPAR_MB_D0_SYNCB          (0x2)
#define MCF_GPIO_PTHPAR_PTHPAR1(x)           (((x)&0x3)<<0x2)
#define MCF_GPIO_PTHPAR_MB_D1_GPIO           (0)
#define MCF_GPIO_PTHPAR_MB_D1_MB_D1          (0x4)
#define MCF_GPIO_PTHPAR_MB_D1_SYNCA          (0x8)
#define MCF_GPIO_PTHPAR_PTHPAR2(x)           (((x)&0x3)<<0x4)
#define MCF_GPIO_PTHPAR_MB_D2_GPIO           (0)
#define MCF_GPIO_PTHPAR_MB_D2_MB_D2          (0x10)
#define MCF_GPIO_PTHPAR_MB_D2_USB_VBUSE      (0x20)
#define MCF_GPIO_PTHPAR_PTHPAR3(x)           (((x)&0x3)<<0x6)
#define MCF_GPIO_PTHPAR_MB_D3_GPIO           (0)
#define MCF_GPIO_PTHPAR_MB_D3_MB_D3          (0x40)
#define MCF_GPIO_PTHPAR_MB_D3_USB_VBUSD      (0x80)
#define MCF_GPIO_PTHPAR_PTHPAR4(x)           (((x)&0x3)<<0x8)
#define MCF_GPIO_PTHPAR_MB_D4_GPIO           (0)
#define MCF_GPIO_PTHPAR_MB_D4_MB_D4          (0x100)
#define MCF_GPIO_PTHPAR_MB_D4_SDA1           (0x200)
#define MCF_GPIO_PTHPAR_PTHPAR5(x)           (((x)&0x3)<<0xA)
#define MCF_GPIO_PTHPAR_MB_D5_GPIO           (0)
#define MCF_GPIO_PTHPAR_MB_D5_MB_D5          (0x400)
#define MCF_GPIO_PTHPAR_MB_D5_SCL1           (0x800)
#define MCF_GPIO_PTHPAR_PTHPAR6(x)           (((x)&0x3)<<0xC)
#define MCF_GPIO_PTHPAR_MB_D6_GPIO           (0)
#define MCF_GPIO_PTHPAR_MB_D6_MB_D6          (0x1000)
#define MCF_GPIO_PTHPAR_MB_D6_CANTX          (0x2000)
#define MCF_GPIO_PTHPAR_PTHPAR7(x)           (((x)&0x3)<<0xE)
#define MCF_GPIO_PTHPAR_MB_D7_GPIO           (0)
#define MCF_GPIO_PTHPAR_MB_D7_MB_D7          (0x4000)
#define MCF_GPIO_PTHPAR_MB_D7_CANRX          (0x8000)

/* Bit definitions and macros for MCF_GPIO_PORTTI */
#define MCF_GPIO_PORTTI_PORTTI0              (0x1)
#define MCF_GPIO_PORTTI_PORTTI1              (0x2)
#define MCF_GPIO_PORTTI_PORTTI2              (0x4)
#define MCF_GPIO_PORTTI_PORTTI3              (0x8)
#define MCF_GPIO_PORTTI_PORTTI4              (0x10)
#define MCF_GPIO_PORTTI_PORTTI5              (0x20)
#define MCF_GPIO_PORTTI_PORTTI6              (0x40)
#define MCF_GPIO_PORTTI_PORTTI7              (0x80)

/* Bit definitions and macros for MCF_GPIO_DDRTI */
#define MCF_GPIO_DDRTI_DDRTI0                (0x1)
#define MCF_GPIO_DDRTI_DDRTI1                (0x2)
#define MCF_GPIO_DDRTI_DDRTI2                (0x4)
#define MCF_GPIO_DDRTI_DDRTI3                (0x8)
#define MCF_GPIO_DDRTI_DDRTI4                (0x10)
#define MCF_GPIO_DDRTI_DDRTI5                (0x20)
#define MCF_GPIO_DDRTI_DDRTI6                (0x40)
#define MCF_GPIO_DDRTI_DDRTI7                (0x80)

/* Bit definitions and macros for MCF_GPIO_SETTI */
#define MCF_GPIO_SETTI_SETTI0                (0x1)
#define MCF_GPIO_SETTI_SETTI1                (0x2)
#define MCF_GPIO_SETTI_SETTI2                (0x4)
#define MCF_GPIO_SETTI_SETTI3                (0x8)
#define MCF_GPIO_SETTI_SETTI4                (0x10)
#define MCF_GPIO_SETTI_SETTI5                (0x20)
#define MCF_GPIO_SETTI_SETTI6                (0x40)
#define MCF_GPIO_SETTI_SETTI7                (0x80)

/* Bit definitions and macros for MCF_GPIO_CLRTI */
#define MCF_GPIO_CLRTI_CLRTI0                (0x1)
#define MCF_GPIO_CLRTI_CLRTI1                (0x2)
#define MCF_GPIO_CLRTI_CLRTI2                (0x4)
#define MCF_GPIO_CLRTI_CLRTI3                (0x8)
#define MCF_GPIO_CLRTI_CLRTI4                (0x10)
#define MCF_GPIO_CLRTI_CLRTI5                (0x20)
#define MCF_GPIO_CLRTI_CLRTI6                (0x40)
#define MCF_GPIO_CLRTI_CLRTI7                (0x80)

/* Bit definitions and macros for MCF_GPIO_PTIPAR */
#define MCF_GPIO_PTIPAR_PTIPAR0              (0x1)
#define MCF_GPIO_PTIPAR_FEC_COL_GPIO         (0)
#define MCF_GPIO_PTIPAR_FEC_COL_FEC_COL      (0x1)
#define MCF_GPIO_PTIPAR_PTIPAR1              (0x2)
#define MCF_GPIO_PTIPAR_FEC_CRS_GPIO         (0)
#define MCF_GPIO_PTIPAR_FEC_CRS_FEC_CRS      (0x2)
#define MCF_GPIO_PTIPAR_PTIPAR2              (0x4)
#define MCF_GPIO_PTIPAR_FEC_RXCLK_GPIO       (0)
#define MCF_GPIO_PTIPAR_FEC_RXCLK_FEC_RXCLK  (0x4)
#define MCF_GPIO_PTIPAR_PTIPAR3              (0x8)
#define MCF_GPIO_PTIPAR_FEC_RXD0_GPIO        (0)
#define MCF_GPIO_PTIPAR_FEC_RXD0_FEC_RXD0    (0x8)
#define MCF_GPIO_PTIPAR_PTIPAR4              (0x10)
#define MCF_GPIO_PTIPAR_FEC_RXD1_GPIO        (0)
#define MCF_GPIO_PTIPAR_FEC_RXD1_FEC_RXD1    (0x10)
#define MCF_GPIO_PTIPAR_PTIPAR5              (0x20)
#define MCF_GPIO_PTIPAR_FEC_RXD2_GPIO        (0)
#define MCF_GPIO_PTIPAR_FEC_RXD2_FEC_RXD2    (0x20)
#define MCF_GPIO_PTIPAR_PTIPAR6              (0x40)
#define MCF_GPIO_PTIPAR_FEC_RXD3_GPIO        (0)
#define MCF_GPIO_PTIPAR_FEC_RXD3_FEC_RXD3    (0x40)
#define MCF_GPIO_PTIPAR_PTIPAR7              (0x80)
#define MCF_GPIO_PTIPAR_FEC_RXDV_GPIO        (0)
#define MCF_GPIO_PTIPAR_FEC_RXDV_FEC_RXDV    (0x80)

/* Bit definitions and macros for MCF_GPIO_PORTTJ */
#define MCF_GPIO_PORTTJ_PORTTJ0              (0x1)
#define MCF_GPIO_PORTTJ_PORTTJ1              (0x2)
#define MCF_GPIO_PORTTJ_PORTTJ2              (0x4)
#define MCF_GPIO_PORTTJ_PORTTJ3              (0x8)
#define MCF_GPIO_PORTTJ_PORTTJ4              (0x10)
#define MCF_GPIO_PORTTJ_PORTTJ5              (0x20)
#define MCF_GPIO_PORTTJ_PORTTJ6              (0x40)
#define MCF_GPIO_PORTTJ_PORTTJ7              (0x80)

/* Bit definitions and macros for MCF_GPIO_DDRTJ */
#define MCF_GPIO_DDRTJ_DDRTJ0                (0x1)
#define MCF_GPIO_DDRTJ_DDRTJ1                (0x2)
#define MCF_GPIO_DDRTJ_DDRTJ2                (0x4)
#define MCF_GPIO_DDRTJ_DDRTJ3                (0x8)
#define MCF_GPIO_DDRTJ_DDRTJ4                (0x10)
#define MCF_GPIO_DDRTJ_DDRTJ5                (0x20)
#define MCF_GPIO_DDRTJ_DDRTJ6                (0x40)
#define MCF_GPIO_DDRTJ_DDRTJ7                (0x80)

/* Bit definitions and macros for MCF_GPIO_SETTJ */
#define MCF_GPIO_SETTJ_SETTJ0                (0x1)
#define MCF_GPIO_SETTJ_SETTJ1                (0x2)
#define MCF_GPIO_SETTJ_SETTJ2                (0x4)
#define MCF_GPIO_SETTJ_SETTJ3                (0x8)
#define MCF_GPIO_SETTJ_SETTJ4                (0x10)
#define MCF_GPIO_SETTJ_SETTJ5                (0x20)
#define MCF_GPIO_SETTJ_SETTJ6                (0x40)
#define MCF_GPIO_SETTJ_SETTJ7                (0x80)

/* Bit definitions and macros for MCF_GPIO_CLRTJ */
#define MCF_GPIO_CLRTJ_CLRTJ0                (0x1)
#define MCF_GPIO_CLRTJ_CLRTJ1                (0x2)
#define MCF_GPIO_CLRTJ_CLRTJ2                (0x4)
#define MCF_GPIO_CLRTJ_CLRTJ3                (0x8)
#define MCF_GPIO_CLRTJ_CLRTJ4                (0x10)
#define MCF_GPIO_CLRTJ_CLRTJ5                (0x20)
#define MCF_GPIO_CLRTJ_CLRTJ6                (0x40)
#define MCF_GPIO_CLRTJ_CLRTJ7                (0x80)

/* Bit definitions and macros for MCF_GPIO_PTJPAR */
#define MCF_GPIO_PTJPAR_PTJPAR0              (0x1)
#define MCF_GPIO_PTJPAR_FEC_RXER_GPIO        (0)
#define MCF_GPIO_PTJPAR_FEC_RXER_FEC_RXER    (0x1)
#define MCF_GPIO_PTJPAR_PTJPAR1              (0x2)
#define MCF_GPIO_PTJPAR_FEC_TXCLK_GPIO       (0)
#define MCF_GPIO_PTJPAR_FEC_TXCLK_FEC_TXCLK  (0x2)
#define MCF_GPIO_PTJPAR_PTJPAR2              (0x4)
#define MCF_GPIO_PTJPAR_FEC_TXD0_GPIO        (0)
#define MCF_GPIO_PTJPAR_FEC_TXD0_FEC_TXD0    (0x4)
#define MCF_GPIO_PTJPAR_PTJPAR3              (0x8)
#define MCF_GPIO_PTJPAR_FEC_TXD1_GPIO        (0)
#define MCF_GPIO_PTJPAR_FEC_TXD1_FEC_TXD1    (0x8)
#define MCF_GPIO_PTJPAR_PTJPAR4              (0x10)
#define MCF_GPIO_PTJPAR_FEC_TXD2_GPIO        (0)
#define MCF_GPIO_PTJPAR_FEC_TXD2_FEC_TXD2    (0x10)
#define MCF_GPIO_PTJPAR_PTJPAR5              (0x20)
#define MCF_GPIO_PTJPAR_FEC_TXD3_GPIO        (0)

⌨️ 快捷键说明

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