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

📄 fesc_5554_pin_assignment.h

📁 MPC5554处理器的初始化例程
💻 H
字号:
/*************************************************************/
/* Pin Name assignments */
//--------------------------------------
//定义引脚
//--------------------------------------
//引脚名称指出了该引脚的多种功能,主功能-次要功能-GPIO
//参考MPC5554_RM.pdf  Page66 第一段说明
#define PIN_HI 1
#define PIN_LO 0

#define PIN_TXD_A_GPIO89        89
#define PIN_RXD_A_GPIO90        90
#define PIN_TXD_B_GPIO91        91
#define PIN_RXD_B_GPIO92        92

#define PIN_SCK_A_GPIO93        93
#define PIN_SIN_A_GPIO94         94
#define PIN_SOUT_A_GPIO95         95

#define PIN_SCK_D_GPIO98        98     //SPI is alternative function
#define PIN_SIN_D_GPIO99         99     //SPI is alternative function
#define PIN_SOUT_D_GPIO100        100    //SPI is alternative function

#define PIN_SCK_B_GPIO102       102
#define PIN_SIN_B_GPIO103        103
#define PIN_SOUT_B_GPIO104        104
#define PIN_SS_B_GPIO105          105

#define PIN_SOUT_C_GPIO107        107    //SPI is alternative function
#define PIN_SIN_C_GPIO108        108    //SPI is alternative function
#define PIN_SCK_C_GPIO109       109    //SPI is alternative function



#define PIN_ETPUA_BASE  114
//32pins follow
#define PIN_ETPUB_BASE  147
//32pins follow

/* EMIOS0-7 connect to FPGA */
#define PIN_EMIOS0  179  
#define PIN_EMIOS1  180
#define PIN_EMIOS2  181
#define PIN_EMIOS3  182
#define PIN_EMIOS4  183
#define PIN_EMIOS5  184
#define PIN_EMIOS6  185
#define PIN_EMIOS7  186 
/* EMIOS8-15 not connected */
#define PIN_EMIOS8  187
#define PIN_EMIOS9  188  
#define PIN_EMIOS10 189
#define PIN_EMIOS11 190
#define PIN_EMIOS12 191
#define PIN_EMIOS13 192
#define PIN_EMIOS14 193
#define PIN_EMIOS15 194
/* EMIOS16-23 connect to LED */
#define PIN_EMIOS16 195
#define PIN_EMIOS17 196
#define PIN_EMIOS18 197
#define PIN_EMIOS19 198
#define PIN_EMIOS20 199
#define PIN_EMIOS21 200
#define PIN_EMIOS22 201
#define PIN_EMIOS23 202




⌨️ 快捷键说明

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