STM32F103C8T6+DM9051实现SPI转以太网功能板AD原理图+lwip_DM9051软件源码
void mem_shw(char *hdstr, uint8_t *payload, u16_t len)
{
u16_t i;
if ((unsigned int)hdstrDM9051_TRACE(mem_str[(int)hdstr]);
} else {
DM9051_TRACE(hdstr);
DM9051_TRACE("Len [%d]: ", len);
}
for (i=0; iDM9051_TRACE("\r\n%04x", i);
if (!(i%8)) DM9051_TRACE(" ");
DM9051_TRACE(" %02x", payload[i]);
}
DM9051_TRACE("\r\n");
}
#define SIZE_ETH_HDR