#ifndef __CHIP_ID_H_
#define __CHIP_ID_H_

#include "stm32f10x.h"
#include "stdio.h"

typedef struct
{
  uint32_t ID_H;
  uint32_t ID_M;
  uint32_t ID_L;
}CHIP_ID_TypeDef;

//chip id base address
#define CHIP_ID_ADDR ((CHIP_ID_TypeDef *)((uint32_t)0x1FFFF7E8)) 

void ChipID_Get(CHIP_ID_TypeDef* chip_id);

#endif
