STM8S/A Standard Peripherals Drivers: stm8s_wwdg.h File Reference

STM8S/A

stm8s_wwdg.h File Reference

This file contains all functions prototype and macros for the WWDG peripheral. More...

#include "stm8s.h"

Go to the source code of this file.

Defines

#define IS_WWDG_COUNTERVALUE_OK(CounterValue)   ((CounterValue) <= 0x7F)
 Macro used by the assert function in order to check the different values of the counter register.
#define IS_WWDG_WINDOWLIMITVALUE_OK(WindowLimitValue)   ((WindowLimitValue) <= 0x7F)
 Macro used by the assert function in order to check the values of the window register.

Functions

uint8_t WWDG_GetCounter (void)
 Gets the WWDG Counter Value.
void WWDG_Init (uint8_t Counter, uint8_t WindowValue)
 Initializes the WWDG peripheral.
void WWDG_SetCounter (uint8_t Counter)
 Refreshes the WWDG peripheral.
void WWDG_SetWindowValue (uint8_t WindowValue)
 Sets the WWDG window value.
void WWDG_SWReset (void)
 Generates immediate WWDG RESET.

Detailed Description

This file contains all functions prototype and macros for the WWDG peripheral.

Author:
MCD Application Team
Version:
V2.3.0
Date:
16-June-2017
Attention:

© COPYRIGHT 2014 STMicroelectronics

Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at:

http://www.st.com/software_license_agreement_liberty_v2

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file stm8s_wwdg.h.

STM8 Standard Peripherals Library: Footer

 

 

 

      For complete documentation on STM8 8-bit Microcontrollers platform visit www.st.com