Question
watchdogtimer parameters cubemx
Posted on July 05, 2018 at 13:53
hello , im testing watchdogtimer in stm32f103cb , now i started by independant wdt i suceed ,
MX_IWDG_Init();
/* USER CODE BEGIN 2 */
HAL_GPIO_WritePin(led_GPIO_Port, led_Pin, GPIO_PIN_SET);//offHAL_Delay(1000);
/* USER CODE END 2 */
/* Infinite loop */
/* USER CODE BEGIN WHILE */ while (1) { HAL_IWDG_Refresh(&hiwdg);//put counter to zero to not reach 6553,6 ms for 64 prescaler HAL_GPIO_WritePin(led_GPIO_Port, led_Pin, GPIO_PIN_RESET);//on HAL_Delay(9000); /* USER CODE END WHILE */}
i coudlnt understand the window one , any way my question is :
in cube mx we control the timout of the wdt by

if i select 64 as prescaler according to the datasheet it means my timout is 6553,6 ms for example
so what is the meaning of 4095 the downcounter ? what is the downcounter role ??
thanks for ansewering
