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

📄 mcf52235_gpio.h

📁 FreeRTOS is a portable, open source, mini Real Time Kernel - a free to download and royalty free RTO
💻 H
📖 第 1 页 / 共 3 页
字号:
/* Bit definitions and macros for MCF_GPIO_SETUB */
#define MCF_GPIO_SETUB_SETUB0                (0x1)
#define MCF_GPIO_SETUB_SETUB1                (0x2)
#define MCF_GPIO_SETUB_SETUB2                (0x4)
#define MCF_GPIO_SETUB_SETUB3                (0x8)

/* Bit definitions and macros for MCF_GPIO_CLRUB */
#define MCF_GPIO_CLRUB_CLRUB0                (0x1)
#define MCF_GPIO_CLRUB_CLRUB1                (0x2)
#define MCF_GPIO_CLRUB_CLRUB2                (0x4)
#define MCF_GPIO_CLRUB_CLRUB3                (0x8)

/* Bit definitions and macros for MCF_GPIO_PUBPAR */
#define MCF_GPIO_PUBPAR_PUBPAR0(x)           (((x)&0x3)<<0)
#define MCF_GPIO_PUBPAR_UTXD1_GPIO           (0)
#define MCF_GPIO_PUBPAR_UTXD1_UTXD1          (0x1)
#define MCF_GPIO_PUBPAR_UTXD1_FEC_COL        (0x3)
#define MCF_GPIO_PUBPAR_PUBPAR1(x)           (((x)&0x3)<<0x2)
#define MCF_GPIO_PUBPAR_URXD1_GPIO           (0)
#define MCF_GPIO_PUBPAR_URXD1_URXD1          (0x4)
#define MCF_GPIO_PUBPAR_URXD1_FEC_TXD0       (0xC)
#define MCF_GPIO_PUBPAR_PUBPAR2(x)           (((x)&0x3)<<0x4)
#define MCF_GPIO_PUBPAR_URTS1_GPIO           (0)
#define MCF_GPIO_PUBPAR_URTS1_URTS1          (0x10)
#define MCF_GPIO_PUBPAR_URTS1_SYNCB          (0x20)
#define MCF_GPIO_PUBPAR_URTS1_UTXD2          (0x30)
#define MCF_GPIO_PUBPAR_PUBPAR3(x)           (((x)&0x3)<<0x6)
#define MCF_GPIO_PUBPAR_UCTS1_GPIO           (0)
#define MCF_GPIO_PUBPAR_UCTS1_UCTS1          (0x40)
#define MCF_GPIO_PUBPAR_UCTS1_SYNCA          (0x80)
#define MCF_GPIO_PUBPAR_UCTS1_URXD2          (0xC0)

/* Bit definitions and macros for MCF_GPIO_PORTUC */
#define MCF_GPIO_PORTUC_PORTUC0              (0x1)
#define MCF_GPIO_PORTUC_PORTUC1              (0x2)
#define MCF_GPIO_PORTUC_PORTUC2              (0x4)
#define MCF_GPIO_PORTUC_PORTUC3              (0x8)

/* Bit definitions and macros for MCF_GPIO_DDRUC */
#define MCF_GPIO_DDRUC_DDRUC0                (0x1)
#define MCF_GPIO_DDRUC_DDRUC1                (0x2)
#define MCF_GPIO_DDRUC_DDRUC2                (0x4)
#define MCF_GPIO_DDRUC_DDRUC3                (0x8)

/* Bit definitions and macros for MCF_GPIO_SETUC */
#define MCF_GPIO_SETUC_SETUC0                (0x1)
#define MCF_GPIO_SETUC_SETUC1                (0x2)
#define MCF_GPIO_SETUC_SETUC2                (0x4)
#define MCF_GPIO_SETUC_SETUC3                (0x8)

/* Bit definitions and macros for MCF_GPIO_CLRUC */
#define MCF_GPIO_CLRUC_CLRUC0                (0x1)
#define MCF_GPIO_CLRUC_CLRUC1                (0x2)
#define MCF_GPIO_CLRUC_CLRUC2                (0x4)
#define MCF_GPIO_CLRUC_CLRUC3                (0x8)

/* Bit definitions and macros for MCF_GPIO_PUCPAR */
#define MCF_GPIO_PUCPAR_PUCPAR0              (0x1)
#define MCF_GPIO_PUCPAR_UTXD2_GPIO           (0)
#define MCF_GPIO_PUCPAR_UTXD2_UTXD2          (0x1)
#define MCF_GPIO_PUCPAR_PUCPAR1              (0x2)
#define MCF_GPIO_PUCPAR_URXD2_GPIO           (0)
#define MCF_GPIO_PUCPAR_URXD2_URXD2          (0x2)
#define MCF_GPIO_PUCPAR_PUCPAR2              (0x4)
#define MCF_GPIO_PUCPAR_URTS2_GPIO           (0)
#define MCF_GPIO_PUCPAR_URTS2_URTS2          (0x4)
#define MCF_GPIO_PUCPAR_PUCPAR3              (0x8)
#define MCF_GPIO_PUCPAR_UCTS2_GPIO           (0)
#define MCF_GPIO_PUCPAR_UCTS2_UCTS2          (0x8)

/* Bit definitions and macros for MCF_GPIO_PORTDD */
#define MCF_GPIO_PORTDD_PORTDD0              (0x1)
#define MCF_GPIO_PORTDD_PORTDD1              (0x2)
#define MCF_GPIO_PORTDD_PORTDD2              (0x4)
#define MCF_GPIO_PORTDD_PORTDD3              (0x8)
#define MCF_GPIO_PORTDD_PORTDD4              (0x10)
#define MCF_GPIO_PORTDD_PORTDD5              (0x20)
#define MCF_GPIO_PORTDD_PORTDD6              (0x40)
#define MCF_GPIO_PORTDD_PORTDD7              (0x80)

/* Bit definitions and macros for MCF_GPIO_DDRDD */
#define MCF_GPIO_DDRDD_DDRDD0                (0x1)
#define MCF_GPIO_DDRDD_DDRDD1                (0x2)
#define MCF_GPIO_DDRDD_DDRDD2                (0x4)
#define MCF_GPIO_DDRDD_DDRDD3                (0x8)
#define MCF_GPIO_DDRDD_DDRDD4                (0x10)
#define MCF_GPIO_DDRDD_DDRDD5                (0x20)
#define MCF_GPIO_DDRDD_DDRDD6                (0x40)
#define MCF_GPIO_DDRDD_DDRDD7                (0x80)

/* Bit definitions and macros for MCF_GPIO_SETDD */
#define MCF_GPIO_SETDD_SETDD0                (0x1)
#define MCF_GPIO_SETDD_SETDD1                (0x2)
#define MCF_GPIO_SETDD_SETDD2                (0x4)
#define MCF_GPIO_SETDD_SETDD3                (0x8)
#define MCF_GPIO_SETDD_SETDD4                (0x10)
#define MCF_GPIO_SETDD_SETDD5                (0x20)
#define MCF_GPIO_SETDD_SETDD6                (0x40)
#define MCF_GPIO_SETDD_SETDD7                (0x80)

/* Bit definitions and macros for MCF_GPIO_CLRDD */
#define MCF_GPIO_CLRDD_CLRDD0                (0x1)
#define MCF_GPIO_CLRDD_CLRDD1                (0x2)
#define MCF_GPIO_CLRDD_CLRDD2                (0x4)
#define MCF_GPIO_CLRDD_CLRDD3                (0x8)
#define MCF_GPIO_CLRDD_CLRDD4                (0x10)
#define MCF_GPIO_CLRDD_CLRDD5                (0x20)
#define MCF_GPIO_CLRDD_CLRDD6                (0x40)
#define MCF_GPIO_CLRDD_CLRDD7                (0x80)

/* Bit definitions and macros for MCF_GPIO_PDDPAR */
#define MCF_GPIO_PDDPAR_PDDPAR0              (0x1)
#define MCF_GPIO_PDDPAR_PDD0_GPIO            (0)
#define MCF_GPIO_PDDPAR_PDD0_PST0            (0x1)
#define MCF_GPIO_PDDPAR_PDDPAR1              (0x2)
#define MCF_GPIO_PDDPAR_PDD1_GPIO            (0)
#define MCF_GPIO_PDDPAR_PDD1_PST1            (0x2)
#define MCF_GPIO_PDDPAR_PDDPAR2              (0x4)
#define MCF_GPIO_PDDPAR_PDD2_GPIO            (0)
#define MCF_GPIO_PDDPAR_PDD2_PST2            (0x4)
#define MCF_GPIO_PDDPAR_PDDPAR3              (0x8)
#define MCF_GPIO_PDDPAR_PDD3_GPIO            (0)
#define MCF_GPIO_PDDPAR_PDD3_PST3            (0x8)
#define MCF_GPIO_PDDPAR_PDDPAR4              (0x10)
#define MCF_GPIO_PDDPAR_PDD4_GPIO            (0)
#define MCF_GPIO_PDDPAR_PDD4_DDATA0          (0x10)
#define MCF_GPIO_PDDPAR_PDDPAR5              (0x20)
#define MCF_GPIO_PDDPAR_PDD5_GPIO            (0)
#define MCF_GPIO_PDDPAR_PDD5_DDATA1          (0x20)
#define MCF_GPIO_PDDPAR_PDDPAR6              (0x40)
#define MCF_GPIO_PDDPAR_PDD6_GPIO            (0)
#define MCF_GPIO_PDDPAR_PDD6_DDATA2          (0x40)
#define MCF_GPIO_PDDPAR_PDDPAR7              (0x80)
#define MCF_GPIO_PDDPAR_PDD7_GPIO            (0)
#define MCF_GPIO_PDDPAR_PDD7_DDATA3          (0x80)

/* Bit definitions and macros for MCF_GPIO_PORTLD */
#define MCF_GPIO_PORTLD_PORTLD0              (0x1)
#define MCF_GPIO_PORTLD_PORTLD1              (0x2)
#define MCF_GPIO_PORTLD_PORTLD2              (0x4)
#define MCF_GPIO_PORTLD_PORTLD3              (0x8)
#define MCF_GPIO_PORTLD_PORTLD4              (0x10)
#define MCF_GPIO_PORTLD_PORTLD5              (0x20)
#define MCF_GPIO_PORTLD_PORTLD6              (0x40)

/* Bit definitions and macros for MCF_GPIO_DDRLD */
#define MCF_GPIO_DDRLD_DDRLD0                (0x1)
#define MCF_GPIO_DDRLD_DDRLD1                (0x2)
#define MCF_GPIO_DDRLD_DDRLD2                (0x4)
#define MCF_GPIO_DDRLD_DDRLD3                (0x8)
#define MCF_GPIO_DDRLD_DDRLD4                (0x10)
#define MCF_GPIO_DDRLD_DDRLD5                (0x20)
#define MCF_GPIO_DDRLD_DDRLD6                (0x40)

/* Bit definitions and macros for MCF_GPIO_SETLD */
#define MCF_GPIO_SETLD_SETLD0                (0x1)
#define MCF_GPIO_SETLD_SETLD1                (0x2)
#define MCF_GPIO_SETLD_SETLD2                (0x4)
#define MCF_GPIO_SETLD_SETLD3                (0x8)
#define MCF_GPIO_SETLD_SETLD4                (0x10)
#define MCF_GPIO_SETLD_SETLD5                (0x20)
#define MCF_GPIO_SETLD_SETLD6                (0x40)

/* Bit definitions and macros for MCF_GPIO_CLRLD */
#define MCF_GPIO_CLRLD_CLRLD0                (0x1)
#define MCF_GPIO_CLRLD_CLRLD1                (0x2)
#define MCF_GPIO_CLRLD_CLRLD2                (0x4)
#define MCF_GPIO_CLRLD_CLRLD3                (0x8)
#define MCF_GPIO_CLRLD_CLRLD4                (0x10)
#define MCF_GPIO_CLRLD_CLRLD5                (0x20)
#define MCF_GPIO_CLRLD_CLRLD6                (0x40)

/* Bit definitions and macros for MCF_GPIO_PLDPAR */
#define MCF_GPIO_PLDPAR_PLDPAR0              (0x1)
#define MCF_GPIO_PLDPAR_ACTLED_GPIO          (0)
#define MCF_GPIO_PLDPAR_ACTLED_ACTLED        (0x1)
#define MCF_GPIO_PLDPAR_PLDPAR1              (0x2)
#define MCF_GPIO_PLDPAR_LINKLED_GPIO         (0)
#define MCF_GPIO_PLDPAR_LINKLED_LINKLED      (0x2)
#define MCF_GPIO_PLDPAR_PLDPAR2              (0x4)
#define MCF_GPIO_PLDPAR_SPDLED_GPIO          (0)
#define MCF_GPIO_PLDPAR_SPDLED_SPDLED        (0x4)
#define MCF_GPIO_PLDPAR_PLDPAR3              (0x8)
#define MCF_GPIO_PLDPAR_DUPLED_GPIO          (0)
#define MCF_GPIO_PLDPAR_DUPLED_DUPLED        (0x8)
#define MCF_GPIO_PLDPAR_PLDPAR4              (0x10)
#define MCF_GPIO_PLDPAR_COLLED_GPIO          (0)
#define MCF_GPIO_PLDPAR_COLLED_COLLED        (0x10)
#define MCF_GPIO_PLDPAR_PLDPAR5              (0x20)
#define MCF_GPIO_PLDPAR_RXLED_GPIO           (0)
#define MCF_GPIO_PLDPAR_RXLED_RXLED          (0x20)
#define MCF_GPIO_PLDPAR_PLDPAR6              (0x40)
#define MCF_GPIO_PLDPAR_TXLED_GPIO           (0)
#define MCF_GPIO_PLDPAR_TXLED_TXLED          (0x40)

/* Bit definitions and macros for MCF_GPIO_PORTGP */
#define MCF_GPIO_PORTGP_PORTGP0              (0x1)
#define MCF_GPIO_PORTGP_PORTGP1              (0x2)
#define MCF_GPIO_PORTGP_PORTGP2              (0x4)
#define MCF_GPIO_PORTGP_PORTGP3              (0x8)
#define MCF_GPIO_PORTGP_PORTGP4              (0x10)
#define MCF_GPIO_PORTGP_PORTGP5              (0x20)
#define MCF_GPIO_PORTGP_PORTGP6              (0x40)
#define MCF_GPIO_PORTGP_PORTGP7              (0x80)

/* Bit definitions and macros for MCF_GPIO_DDRGP */
#define MCF_GPIO_DDRGP_DDRGP0                (0x1)
#define MCF_GPIO_DDRGP_DDRGP1                (0x2)
#define MCF_GPIO_DDRGP_DDRGP2                (0x4)
#define MCF_GPIO_DDRGP_DDRGP3                (0x8)
#define MCF_GPIO_DDRGP_DDRGP4                (0x10)
#define MCF_GPIO_DDRGP_DDRGP5                (0x20)
#define MCF_GPIO_DDRGP_DDRGP6                (0x40)
#define MCF_GPIO_DDRGP_DDRGP7                (0x80)

/* Bit definitions and macros for MCF_GPIO_SETGP */
#define MCF_GPIO_SETGP_SETGP0                (0x1)
#define MCF_GPIO_SETGP_SETGP1                (0x2)
#define MCF_GPIO_SETGP_SETGP2                (0x4)
#define MCF_GPIO_SETGP_SETGP3                (0x8)
#define MCF_GPIO_SETGP_SETGP4                (0x10)
#define MCF_GPIO_SETGP_SETGP5                (0x20)
#define MCF_GPIO_SETGP_SETGP6                (0x40)
#define MCF_GPIO_SETGP_SETGP7                (0x80)

/* Bit definitions and macros for MCF_GPIO_CLRGP */
#define MCF_GPIO_CLRGP_CLRGP0                (0x1)
#define MCF_GPIO_CLRGP_CLRGP1                (0x2)
#define MCF_GPIO_CLRGP_CLRGP2                (0x4)
#define MCF_GPIO_CLRGP_CLRGP3                (0x8)
#define MCF_GPIO_CLRGP_CLRGP4                (0x10)
#define MCF_GPIO_CLRGP_CLRGP5                (0x20)
#define MCF_GPIO_CLRGP_CLRGP6                (0x40)
#define MCF_GPIO_CLRGP_CLRGP7                (0x80)

/* Bit definitions and macros for MCF_GPIO_PGPPAR */
#define MCF_GPIO_PGPPAR_PGPPAR0              (0x1)
#define MCF_GPIO_PGPPAR_IRQ8_GPIO            (0)
#define MCF_GPIO_PGPPAR_IRQ8_IRQ8            (0x1)
#define MCF_GPIO_PGPPAR_PGPPAR1              (0x2)
#define MCF_GPIO_PGPPAR_IRQ9_GPIO            (0)
#define MCF_GPIO_PGPPAR_IRQ9_IRQ9            (0x2)
#define MCF_GPIO_PGPPAR_PGPPAR2              (0x4)
#define MCF_GPIO_PGPPAR_IRQ10_GPIO           (0)
#define MCF_GPIO_PGPPAR_IRQ10_IRQ10          (0x4)
#define MCF_GPIO_PGPPAR_PGPPAR3              (0x8)
#define MCF_GPIO_PGPPAR_IRQ11_GPIO           (0)
#define MCF_GPIO_PGPPAR_IRQ11_IRQ11          (0x8)
#define MCF_GPIO_PGPPAR_PGPPAR4              (0x10)
#define MCF_GPIO_PGPPAR_IRQ12_GPIO           (0)
#define MCF_GPIO_PGPPAR_IRQ12_IRQ12          (0x10)
#define MCF_GPIO_PGPPAR_PGPPAR5              (0x20)
#define MCF_GPIO_PGPPAR_IRQ13_GPIO           (0)
#define MCF_GPIO_PGPPAR_IRQ13_IRQ13          (0x20)
#define MCF_GPIO_PGPPAR_PGPPAR6              (0x40)
#define MCF_GPIO_PGPPAR_IRQ14_GPIO           (0)
#define MCF_GPIO_PGPPAR_IRQ14_IRQ14          (0x40)
#define MCF_GPIO_PGPPAR_PGPPAR7              (0x80)
#define MCF_GPIO_PGPPAR_IRQ15_GPIO           (0)
#define MCF_GPIO_PGPPAR_IRQ15_IRQ15          (0x80)


#endif /* __MCF52235_GPIO_H__ */

⌨️ 快捷键说明

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