Home
last modified time | relevance | path

Searched refs:WWDG_WINDOW_SIZE (Results 1 – 1 of 1) sorted by relevance

/device/google/contexthub/firmware/os/platform/stm32/
Dwdt.c55 #define WWDG_WINDOW_SIZE 0x3F // 0 < x <= 0x3F macro
94 WWDG->CFR = WWDG_CFR_EWI | WWDG_CFR_DIV8 | WWDG_TCNT_HIGH | (WWDG_WINDOW_SIZE & WWDG_TCNT_MASK); in wdtInit()
95 WWDG->CR = WWDG_CR_ENABLE | WWDG_TCNT_HIGH | (WWDG_WINDOW_SIZE & WWDG_TCNT_MASK); in wdtInit()
102 WWDG->CR = (WWDG->CR & ~WWDG_TCNT_MASK) | WWDG_TCNT_HIGH | (WWDG_WINDOW_SIZE & WWDG_TCNT_MASK); in wdtPing()