📄 mcf5222x_gpio.h
字号:
#define MCF_GPIO_DDRUC_DDRUC4 (0x10)
#define MCF_GPIO_DDRUC_DDRUC5 (0x20)
#define MCF_GPIO_DDRUC_DDRUC6 (0x40)
#define MCF_GPIO_DDRUC_DDRUC7 (0x80)
/* Bit definitions and macros for MCF_GPIO_DDRDD */
#define MCF_GPIO_DDRDD_DDRDD0 (0x01)
#define MCF_GPIO_DDRDD_DDRDD1 (0x02)
#define MCF_GPIO_DDRDD_DDRDD2 (0x04)
#define MCF_GPIO_DDRDD_DDRDD3 (0x08)
#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_SETNQ */
#define MCF_GPIO_SETNQ_SETNQ0 (0x01)
#define MCF_GPIO_SETNQ_SETNQ1 (0x02)
#define MCF_GPIO_SETNQ_SETNQ2 (0x04)
#define MCF_GPIO_SETNQ_SETNQ3 (0x08)
#define MCF_GPIO_SETNQ_SETNQ4 (0x10)
#define MCF_GPIO_SETNQ_SETNQ5 (0x20)
#define MCF_GPIO_SETNQ_SETNQ6 (0x40)
#define MCF_GPIO_SETNQ_SETNQ7 (0x80)
/* Bit definitions and macros for MCF_GPIO_SETAN */
#define MCF_GPIO_SETAN_SETAN0 (0x01)
#define MCF_GPIO_SETAN_SETAN1 (0x02)
#define MCF_GPIO_SETAN_SETAN2 (0x04)
#define MCF_GPIO_SETAN_SETAN3 (0x08)
#define MCF_GPIO_SETAN_SETAN4 (0x10)
#define MCF_GPIO_SETAN_SETAN5 (0x20)
#define MCF_GPIO_SETAN_SETAN6 (0x40)
#define MCF_GPIO_SETAN_SETAN7 (0x80)
/* Bit definitions and macros for MCF_GPIO_SETAS */
#define MCF_GPIO_SETAS_SETAS0 (0x01)
#define MCF_GPIO_SETAS_SETAS1 (0x02)
#define MCF_GPIO_SETAS_SETAS2 (0x04)
#define MCF_GPIO_SETAS_SETAS3 (0x08)
#define MCF_GPIO_SETAS_SETAS4 (0x10)
#define MCF_GPIO_SETAS_SETAS5 (0x20)
#define MCF_GPIO_SETAS_SETAS6 (0x40)
#define MCF_GPIO_SETAS_SETAS7 (0x80)
/* Bit definitions and macros for MCF_GPIO_SETQS */
#define MCF_GPIO_SETQS_SETQS0 (0x01)
#define MCF_GPIO_SETQS_SETQS1 (0x02)
#define MCF_GPIO_SETQS_SETQS2 (0x04)
#define MCF_GPIO_SETQS_SETQS3 (0x08)
#define MCF_GPIO_SETQS_SETQS4 (0x10)
#define MCF_GPIO_SETQS_SETQS5 (0x20)
#define MCF_GPIO_SETQS_SETQS6 (0x40)
#define MCF_GPIO_SETQS_SETQS7 (0x80)
/* Bit definitions and macros for MCF_GPIO_SETTA */
#define MCF_GPIO_SETTA_SETTA0 (0x01)
#define MCF_GPIO_SETTA_SETTA1 (0x02)
#define MCF_GPIO_SETTA_SETTA2 (0x04)
#define MCF_GPIO_SETTA_SETTA3 (0x08)
#define MCF_GPIO_SETTA_SETTA4 (0x10)
#define MCF_GPIO_SETTA_SETTA5 (0x20)
#define MCF_GPIO_SETTA_SETTA6 (0x40)
#define MCF_GPIO_SETTA_SETTA7 (0x80)
/* Bit definitions and macros for MCF_GPIO_SETTC */
#define MCF_GPIO_SETTC_SETTC0 (0x01)
#define MCF_GPIO_SETTC_SETTC1 (0x02)
#define MCF_GPIO_SETTC_SETTC2 (0x04)
#define MCF_GPIO_SETTC_SETTC3 (0x08)
#define MCF_GPIO_SETTC_SETTC4 (0x10)
#define MCF_GPIO_SETTC_SETTC5 (0x20)
#define MCF_GPIO_SETTC_SETTC6 (0x40)
#define MCF_GPIO_SETTC_SETTC7 (0x80)
/* Bit definitions and macros for MCF_GPIO_SETUA */
#define MCF_GPIO_SETUA_SETUA0 (0x01)
#define MCF_GPIO_SETUA_SETUA1 (0x02)
#define MCF_GPIO_SETUA_SETUA2 (0x04)
#define MCF_GPIO_SETUA_SETUA3 (0x08)
#define MCF_GPIO_SETUA_SETUA4 (0x10)
#define MCF_GPIO_SETUA_SETUA5 (0x20)
#define MCF_GPIO_SETUA_SETUA6 (0x40)
#define MCF_GPIO_SETUA_SETUA7 (0x80)
/* Bit definitions and macros for MCF_GPIO_SETUB */
#define MCF_GPIO_SETUB_SETUB0 (0x01)
#define MCF_GPIO_SETUB_SETUB1 (0x02)
#define MCF_GPIO_SETUB_SETUB2 (0x04)
#define MCF_GPIO_SETUB_SETUB3 (0x08)
#define MCF_GPIO_SETUB_SETUB4 (0x10)
#define MCF_GPIO_SETUB_SETUB5 (0x20)
#define MCF_GPIO_SETUB_SETUB6 (0x40)
#define MCF_GPIO_SETUB_SETUB7 (0x80)
/* Bit definitions and macros for MCF_GPIO_SETUC */
#define MCF_GPIO_SETUC_SETUC0 (0x01)
#define MCF_GPIO_SETUC_SETUC1 (0x02)
#define MCF_GPIO_SETUC_SETUC2 (0x04)
#define MCF_GPIO_SETUC_SETUC3 (0x08)
#define MCF_GPIO_SETUC_SETUC4 (0x10)
#define MCF_GPIO_SETUC_SETUC5 (0x20)
#define MCF_GPIO_SETUC_SETUC6 (0x40)
#define MCF_GPIO_SETUC_SETUC7 (0x80)
/* Bit definitions and macros for MCF_GPIO_SETDD */
#define MCF_GPIO_SETDD_SETDD0 (0x01)
#define MCF_GPIO_SETDD_SETDD1 (0x02)
#define MCF_GPIO_SETDD_SETDD2 (0x04)
#define MCF_GPIO_SETDD_SETDD3 (0x08)
#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_CLRNQ */
#define MCF_GPIO_CLRNQ_CLRNQ0 (0x01)
#define MCF_GPIO_CLRNQ_CLRNQ1 (0x02)
#define MCF_GPIO_CLRNQ_CLRNQ2 (0x04)
#define MCF_GPIO_CLRNQ_CLRNQ3 (0x08)
#define MCF_GPIO_CLRNQ_CLRNQ4 (0x10)
#define MCF_GPIO_CLRNQ_CLRNQ5 (0x20)
#define MCF_GPIO_CLRNQ_CLRNQ6 (0x40)
#define MCF_GPIO_CLRNQ_CLRNQ7 (0x80)
/* Bit definitions and macros for MCF_GPIO_CLRAN */
#define MCF_GPIO_CLRAN_CLRAN0 (0x01)
#define MCF_GPIO_CLRAN_CLRAN1 (0x02)
#define MCF_GPIO_CLRAN_CLRAN2 (0x04)
#define MCF_GPIO_CLRAN_CLRAN3 (0x08)
#define MCF_GPIO_CLRAN_CLRAN4 (0x10)
#define MCF_GPIO_CLRAN_CLRAN5 (0x20)
#define MCF_GPIO_CLRAN_CLRAN6 (0x40)
#define MCF_GPIO_CLRAN_CLRAN7 (0x80)
/* Bit definitions and macros for MCF_GPIO_CLRAS */
#define MCF_GPIO_CLRAS_CLRAS0 (0x01)
#define MCF_GPIO_CLRAS_CLRAS1 (0x02)
#define MCF_GPIO_CLRAS_CLRAS2 (0x04)
#define MCF_GPIO_CLRAS_CLRAS3 (0x08)
#define MCF_GPIO_CLRAS_CLRAS4 (0x10)
#define MCF_GPIO_CLRAS_CLRAS5 (0x20)
#define MCF_GPIO_CLRAS_CLRAS6 (0x40)
#define MCF_GPIO_CLRAS_CLRAS7 (0x80)
/* Bit definitions and macros for MCF_GPIO_CLRQS */
#define MCF_GPIO_CLRQS_CLRQS0 (0x01)
#define MCF_GPIO_CLRQS_CLRQS1 (0x02)
#define MCF_GPIO_CLRQS_CLRQS2 (0x04)
#define MCF_GPIO_CLRQS_CLRQS3 (0x08)
#define MCF_GPIO_CLRQS_CLRQS4 (0x10)
#define MCF_GPIO_CLRQS_CLRQS5 (0x20)
#define MCF_GPIO_CLRQS_CLRQS6 (0x40)
#define MCF_GPIO_CLRQS_CLRQS7 (0x80)
/* Bit definitions and macros for MCF_GPIO_CLRTA */
#define MCF_GPIO_CLRTA_CLRTA0 (0x01)
#define MCF_GPIO_CLRTA_CLRTA1 (0x02)
#define MCF_GPIO_CLRTA_CLRTA2 (0x04)
#define MCF_GPIO_CLRTA_CLRTA3 (0x08)
#define MCF_GPIO_CLRTA_CLRTA4 (0x10)
#define MCF_GPIO_CLRTA_CLRTA5 (0x20)
#define MCF_GPIO_CLRTA_CLRTA6 (0x40)
#define MCF_GPIO_CLRTA_CLRTA7 (0x80)
/* Bit definitions and macros for MCF_GPIO_CLRTC */
#define MCF_GPIO_CLRTC_CLRTC0 (0x01)
#define MCF_GPIO_CLRTC_CLRTC1 (0x02)
#define MCF_GPIO_CLRTC_CLRTC2 (0x04)
#define MCF_GPIO_CLRTC_CLRTC3 (0x08)
#define MCF_GPIO_CLRTC_CLRTC4 (0x10)
#define MCF_GPIO_CLRTC_CLRTC5 (0x20)
#define MCF_GPIO_CLRTC_CLRTC6 (0x40)
#define MCF_GPIO_CLRTC_CLRTC7 (0x80)
/* Bit definitions and macros for MCF_GPIO_CLRUA */
#define MCF_GPIO_CLRUA_CLRUA0 (0x01)
#define MCF_GPIO_CLRUA_CLRUA1 (0x02)
#define MCF_GPIO_CLRUA_CLRUA2 (0x04)
#define MCF_GPIO_CLRUA_CLRUA3 (0x08)
#define MCF_GPIO_CLRUA_CLRUA4 (0x10)
#define MCF_GPIO_CLRUA_CLRUA5 (0x20)
#define MCF_GPIO_CLRUA_CLRUA6 (0x40)
#define MCF_GPIO_CLRUA_CLRUA7 (0x80)
/* Bit definitions and macros for MCF_GPIO_CLRUB */
#define MCF_GPIO_CLRUB_CLRUB0 (0x01)
#define MCF_GPIO_CLRUB_CLRUB1 (0x02)
#define MCF_GPIO_CLRUB_CLRUB2 (0x04)
#define MCF_GPIO_CLRUB_CLRUB3 (0x08)
#define MCF_GPIO_CLRUB_CLRUB4 (0x10)
#define MCF_GPIO_CLRUB_CLRUB5 (0x20)
#define MCF_GPIO_CLRUB_CLRUB6 (0x40)
#define MCF_GPIO_CLRUB_CLRUB7 (0x80)
/* Bit definitions and macros for MCF_GPIO_CLRUC */
#define MCF_GPIO_CLRUC_CLRUC0 (0x01)
#define MCF_GPIO_CLRUC_CLRUC1 (0x02)
#define MCF_GPIO_CLRUC_CLRUC2 (0x04)
#define MCF_GPIO_CLRUC_CLRUC3 (0x08)
#define MCF_GPIO_CLRUC_CLRUC4 (0x10)
#define MCF_GPIO_CLRUC_CLRUC5 (0x20)
#define MCF_GPIO_CLRUC_CLRUC6 (0x40)
#define MCF_GPIO_CLRUC_CLRUC7 (0x80)
/* Bit definitions and macros for MCF_GPIO_CLRDD */
#define MCF_GPIO_CLRDD_CLRDD0 (0x01)
#define MCF_GPIO_CLRDD_CLRDD1 (0x02)
#define MCF_GPIO_CLRDD_CLRDD2 (0x04)
#define MCF_GPIO_CLRDD_CLRDD3 (0x08)
#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_PNQPAR */
#define MCF_GPIO_PNQPAR_PNQPAR1(x) (((x)&0x0003)<<2)
#define MCF_GPIO_PNQPAR_PNQPAR2(x) (((x)&0x0003)<<4)
#define MCF_GPIO_PNQPAR_PNQPAR3(x) (((x)&0x0003)<<6)
#define MCF_GPIO_PNQPAR_PNQPAR4(x) (((x)&0x0003)<<8)
#define MCF_GPIO_PNQPAR_PNQPAR5(x) (((x)&0x0003)<<10)
#define MCF_GPIO_PNQPAR_PNQPAR6(x) (((x)&0x0003)<<12)
#define MCF_GPIO_PNQPAR_PNQPAR7(x) (((x)&0x0003)<<14)
#define MCF_GPIO_PNQPAR_IRQ1_GPIO (0x0000)
#define MCF_GPIO_PNQPAR_IRQ2_GPIO (0x0000)
#define MCF_GPIO_PNQPAR_IRQ3_GPIO (0x0000)
#define MCF_GPIO_PNQPAR_IRQ4_GPIO (0x0000)
#define MCF_GPIO_PNQPAR_IRQ5_GPIO (0x0000)
#define MCF_GPIO_PNQPAR_IRQ6_GPIO (0x0000)
#define MCF_GPIO_PNQPAR_IRQ7_GPIO (0x0000)
#define MCF_GPIO_PNQPAR_IRQ1_IRQ1 (0x0004)
#define MCF_GPIO_PNQPAR_IRQ2_IRQ2 (0x0010)
#define MCF_GPIO_PNQPAR_IRQ3_IRQ3 (0x0040)
#define MCF_GPIO_PNQPAR_IRQ4_IRQ4 (0x0100)
#define MCF_GPIO_PNQPAR_IRQ5_IRQ5 (0x0400)
#define MCF_GPIO_PNQPAR_IRQ6_IRQ6 (0x1000)
#define MCF_GPIO_PNQPAR_IRQ7_IRQ7 (0x4000)
#define MCF_GPIO_PNQPAR_IRQ1_SYNCA (0x0008)
#define MCF_GPIO_PNQPAR_IRQ1_USB_ALT_CLK (0x000C)
#define MCF_GPIO_PNQPAR_IRQ2_USB_SESSVLD (0x0020)
#define MCF_GPIO_PNQPAR_IRQ3_USB_SESSEND (0x0080)
#define MCF_GPIO_PNQPAR_IRQ4_USB_PULLUP (0x0200)
#define MCF_GPIO_PNQPAR_IRQ5_USB_VBUSVLD (0x0800)
#define MCF_GPIO_PNQPAR_IRQ6_USB_ID (0x2000)
/* Bit definitions and macros for MCF_GPIO_PANPAR */
#define MCF_GPIO_PANPAR_PANPAR0 (0x01)
#define MCF_GPIO_PANPAR_PANPAR1 (0x02)
#define MCF_GPIO_PANPAR_PANPAR2 (0x04)
#define MCF_GPIO_PANPAR_PANPAR3 (0x08)
#define MCF_GPIO_PANPAR_PANPAR4 (0x10)
#define MCF_GPIO_PANPAR_PANPAR5 (0x20)
#define MCF_GPIO_PANPAR_PANPAR6 (0x40)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -