初版程序
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#ifndef __BSP_W5500_1_H
|
||||
#define __BSP_W5500_1_H
|
||||
|
||||
#include "bsp_W5500.h" // 复用原有寄存器定义和结构体
|
||||
|
||||
/* 第二个网口的引脚定义 */
|
||||
#define W5500_1_SCS_PORT GPIOB
|
||||
#define W5500_1_SCS_PIN GPIO_PIN_12
|
||||
|
||||
#define W5500_1_RST_PORT GPIOA
|
||||
#define W5500_1_RST_PIN GPIO_PIN_11
|
||||
|
||||
#define W5500_1_INT_PORT GPIOA
|
||||
#define W5500_1_INT_PIN GPIO_PIN_12
|
||||
|
||||
|
||||
/* 外部全局设备实例 */
|
||||
extern bsp_W5500_t W5500_1;
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user