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

STM8S/A

stm8s_rst.h File Reference

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

#include "stm8s.h"

Go to the source code of this file.

Defines

#define IS_RST_FLAG_OK(FLAG)
 Macro used by the assert function to check the different functions parameters.

Enumerations

enum  RST_Flag_TypeDef {
  RST_FLAG_EMCF = (uint8_t)0x10, RST_FLAG_SWIMF = (uint8_t)0x08, RST_FLAG_ILLOPF = (uint8_t)0x04, RST_FLAG_IWDGF = (uint8_t)0x02,
  RST_FLAG_WWDGF = (uint8_t)0x01
}

Functions

void RST_ClearFlag (RST_Flag_TypeDef RST_Flag)
 Clears the specified RST flag.
FlagStatus RST_GetFlagStatus (RST_Flag_TypeDef RST_Flag)
 Checks whether the specified RST flag is set or not.

Detailed Description

This file contains all functions prototype and macros for the RST 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_rst.h.

STM8 Standard Peripherals Library: Footer

 

 

 

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