/* Initializes the WWDG peripheral. This function set Window Register = WindowValue, Counter Register according to Counter and  */
void WWDG_Init(uint8_t Counter, uint8_t WindowValue)
/* Initializes the WWDG peripheral. This function set Window Register = WindowValue, Counter Register according to Counter and  */
void WWDG_Init(uint8_t Counter, uint8_t WindowValue)
{
  assert_param(IS_WWDG_WINDOW_LIMIT_VALUE(WindowValue));
  WWDG->WR = WWDG_WR_RESET_VALUE;
  WWDG->CR = (uint8_t)(WWDG_CR_WDGA | Counter);
  WWDG->WR = (uint8_t)((uint8_t)BIT_MASK & (uint8_t) WindowValue);
}