STM8L15x Standard Peripherals Drivers: WWDG counter and software reset management

STM8L15x/16x Standard Peripherals Drivers

STM8L15x Standard Peripherals Drivers

WWDG counter and software reset management

WWDG counter and software reset management. More...

Functions

uint8_t WWDG_GetCounter (void)
 Gets the WWDG Counter Value.
void WWDG_SWReset (void)
 Generates immediate WWDG RESET.

Detailed Description

WWDG counter and software reset management.

 ===============================================================================
                   WWDG counter and software reset management 
 ===============================================================================  


Function Documentation

uint8_t WWDG_GetCounter ( void  )

Gets the WWDG Counter Value.

This value could be used to check if WWDG is in the window, where refresh is allowed.

Parameters:
None
Return values:
WWDGCounter Value

Definition at line 210 of file stm8l15x_wwdg.c.

References WWDG.

void WWDG_SWReset ( void  )

Generates immediate WWDG RESET.

Parameters:
None
Return values:
None

Definition at line 220 of file stm8l15x_wwdg.c.

References WWDG, and WWDG_CR_WDGA.

STM8S Firmware Library: Overview

 

 

 

For complete documentation on STM8L15x 8-bit microcontrollers platform visit www.st.com