CH32V208基本接口函数
一、获取时钟
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");