📄 mcf52233.h
字号:
#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_SETTD */
#define MCF_GPIO_SETTD_SETTD0 (0x01)
#define MCF_GPIO_SETTD_SETTD1 (0x02)
#define MCF_GPIO_SETTD_SETTD2 (0x04)
#define MCF_GPIO_SETTD_SETTD3 (0x08)
#define MCF_GPIO_SETTD_SETTD4 (0x10)
#define MCF_GPIO_SETTD_SETTD5 (0x20)
#define MCF_GPIO_SETTD_SETTD6 (0x40)
#define MCF_GPIO_SETTD_SETTD7 (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_SETLD */
#define MCF_GPIO_SETLD_SETLD0 (0x01)
#define MCF_GPIO_SETLD_SETLD1 (0x02)
#define MCF_GPIO_SETLD_SETLD2 (0x04)
#define MCF_GPIO_SETLD_SETLD3 (0x08)
#define MCF_GPIO_SETLD_SETLD4 (0x10)
#define MCF_GPIO_SETLD_SETLD5 (0x20)
#define MCF_GPIO_SETLD_SETLD6 (0x40)
#define MCF_GPIO_SETLD_SETLD7 (0x80)
/* Bit definitions and macros for MCF_GPIO_SETGP */
#define MCF_GPIO_SETGP_SETGP0 (0x01)
#define MCF_GPIO_SETGP_SETGP1 (0x02)
#define MCF_GPIO_SETGP_SETGP2 (0x04)
#define MCF_GPIO_SETGP_SETGP3 (0x08)
#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_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_CLRTD */
#define MCF_GPIO_CLRTD_CLRTD0 (0x01)
#define MCF_GPIO_CLRTD_CLRTD1 (0x02)
#define MCF_GPIO_CLRTD_CLRTD2 (0x04)
#define MCF_GPIO_CLRTD_CLRTD3 (0x08)
#define MCF_GPIO_CLRTD_CLRTD4 (0x10)
#define MCF_GPIO_CLRTD_CLRTD5 (0x20)
#define MCF_GPIO_CLRTD_CLRTD6 (0x40)
#define MCF_GPIO_CLRTD_CLRTD7 (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_CLRLD */
#define MCF_GPIO_CLRLD_CLRLD0 (0x01)
#define MCF_GPIO_CLRLD_CLRLD1 (0x02)
#define MCF_GPIO_CLRLD_CLRLD2 (0x04)
#define MCF_GPIO_CLRLD_CLRLD3 (0x08)
#define MCF_GPIO_CLRLD_CLRLD4 (0x10)
#define MCF_GPIO_CLRLD_CLRLD5 (0x20)
#define MCF_GPIO_CLRLD_CLRLD6 (0x40)
#define MCF_GPIO_CLRLD_CLRLD7 (0x80)
/* Bit definitions and macros for MCF_GPIO_CLRGP */
#define MCF_GPIO_CLRGP_CLRGP0 (0x01)
#define MCF_GPIO_CLRGP_CLRGP1 (0x02)
#define MCF_GPIO_CLRGP_CLRGP2 (0x04)
#define MCF_GPIO_CLRGP_CLRGP3 (0x08)
#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_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 (0x8000)
#define MCF_GPIO_PNQPAR_IRQ1_PWM1 (0xC000)
/* 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)
#define MCF_GPIO_PANPAR_PANPAR7 (0x80)
#define MCF_GPIO_PANPAR_AN0_GPIO (0x00)
#define MCF_GPIO_PANPAR_AN1_GPIO (0x00)
#define MCF_GPIO_PANPAR_AN2_GPIO (0x00)
#define MCF_GPIO_PANPAR_AN3_GPIO (0x00)
#define MCF_GPIO_PANPAR_AN4_GPIO (0x00)
#define MCF_GPIO_PANPAR_AN5_GPIO (0x00)
#define MCF_GPIO_PANPAR_AN6_GPIO (0x00)
#define MCF_GPIO_PANPAR_AN7_GPIO (0x00)
#define MCF_GPIO_PANPAR_AN0_AN0 (0x02)
#define MCF_GPIO_PANPAR_AN1_AN1 (0x03)
#define MCF_GPIO_PANPAR_AN2_AN2 (0x04)
#define MCF_GPIO_PANPAR_AN3_AN3 (0x08)
#define MCF_GPIO_PANPAR_AN4_AN4 (0x10)
#define MCF_GPIO_PANPAR_AN5_AN5 (0x20)
#define MCF_GPIO_PANPAR_AN6_AN6 (0x40)
#define MCF_GPIO_PANPAR_AN7_AN7 (0x80)
/* Bit definitions and macros for MCF_GPIO_PASPAR */
#define MCF_GPIO_PASPAR_PASPAR0(x) (((x)&0x03)<<0)
#define MCF_GPIO_PASPAR_PASPAR1(x) (((x)&0x03)<<2)
#define MCF_GPIO_PASPAR_PASPAR2(x) (((x)&0x03)<<4)
#define MCF_GPIO_PASPAR_PASPAR3(x) (((x)&0x03)<<6)
#define MCF_GPIO_PASPAR_SCL_GPIO (0x00)
#define MCF_GPIO_PASPAR_SDA_GPIO (0x00)
#define MCF_GPIO_PASPAR_SYNCA_GPIO (0x00)
#define MCF_GPIO_PASPAR_SYNCB_GPIO (0x00)
#define MCF_GPIO_PASPAR_SCL_SCL (0x01)
#define MCF_GPIO_PASPAR_SDA_SDA (0x04)
#define MCF_GPIO_PASPAR_SYNCA_SYNCA (0x10)
#define MCF_GPIO_PASPAR_SYNCB_SYNCB (0x40)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -