一、獲取時鐘
printf("SystemClk:%d\r\n", SystemCoreClock);
二、獲取MAC地址
FLASH_GetMACAddress(TestBuf);
for(uint8_t i = 0; i < 6; i++)
{
PRINT("%02x ", TestBuf[i]);
}
PRINT("\n");
printf("SystemClk:%d\r\n", SystemCoreClock);
FLASH_GetMACAddress(TestBuf);
for(uint8_t i = 0; i < 6; i++)
{
PRINT("%02x ", TestBuf[i]);
}
PRINT("\n");