tm32F4:
u32 mcuID[3];
mcuID[0] = *(__IO u32*)(0x1FFF7A10);
mcuID[1] = *(__IO u32*)(0x1FFF7A14);
mcuID[2] = *(__IO u32*)(0x1FFF7A18);
printf (" %X %X %X \n",mcuID[0],mcuID[1] ,mcuID[2] );
STM32F1:
SerialID[0] = *(unsigned int*)(0x1FFFF7E8);
SerialID[1] = *(unsigned int*)(0x1FFFF7EC);
SerialID[2] = *(unsigned int*)(0x1FFFF7F0);
|