void WWDG_SetPrescaler(uint_t32 WWDG_Prescaler)
WWDG_Prescaler | 説明 |
WWDG_Prescaler_1 | (PCLK1 / 4096) / 1 |
WWDG_Prescaler_2 | (PCLK1 / 4096) / 2 |
WWDG_Prescaler_4 | (PCLK1 / 4096) / 4 |
WWDG_Prescaler_8 | (PCLK1 / 4096) / 8 |
/* Set WWDG prescaler to 8 */ WWDG_SetPrescaler(WWDG_Prescaler_8);