f103re的IWDG无法配置成功:
IWDG_WriteAccessCmd(IWDG_WriteAccess_Enable);
IWDG_SetPrescaler(IWDG_Prescaler_4);
while(!IWDG_GetFlagStatus(IWDG_FLAG_PVU));//"程序一直卡在这等待“
IWDG_SetReload(4095);
while(!IWDG_GetFlagStatus(IWDG_FLAG_RVU));
IWDG_Enable();
LSI时钟已经启用RCC_LSICmd(ENABLE);
请教大侠。
|