cortex-m0内核32位单片机软件复位方法
#define AIRCR ((uint32_t *)0xE000ED0C)
#define __RESET_AIRCR() (*AIRCR = (0x000005FA<<16)|(1<<2))
定义后调用__RESET_AIRCR()即可
cortex-m0内核32位单片机软件复位方法
#define AIRCR ((uint32_t *)0xE000ED0C)
#define __RESET_AIRCR() (*AIRCR = (0x000005FA<<16)|(1<<2))
定义后调用__RESET_AIRCR()即可