Files
secs2-SJ/usr/bsp/bsp_W5500_1.h
T
2026-09-09 14:54:40 +08:00

21 lines
417 B
C

#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