2019-08-28 04:22 AM
Hey, I want enabling and set PVD Level, but I still cannot enable PVDE bit on CR2 (PWR Register), Anyone can help me ?
Thankyou
G
2019-08-28 04:28 AM
Heres my code
PWR_PVDTypeDef PVDStruct = {0};
PVDStruct.PVDLevel = PWR_PVDLEVEL_6;
PVDStruct.Mode = PWR_PVD_MODE_IT_RISING;
HAL_PWR_ConfigPVD(&PVDStruct);
HAL_PWR_EnablePVD();