STM8S/A Standard Peripherals Firmware Library
|
This file contains the main function for IWDG Reset example. More...
Go to the source code of this file.
Functions | |
static void | CLK_Config (void) |
Configure system clock to run at 16Mhz. | |
static void | GPIO_Config (void) |
Initialize LED1 and Key Button mounted on the evaluation board. | |
static void | IWDG_Config (void) |
Configures the IWDG to generate a Reset if it is not refreshed at the correct time. | |
static uint32_t | LSIMeasurment (void) |
Measure the LSI frequency using timer IC1 and update the calibration registers. | |
void | main (void) |
Main program. | |
Variables | |
__IO uint32_t | LsiFreq = 0 |
Detailed Description
This file contains the main function for IWDG Reset example.
- Author:
- MCD Application Team
- Version:
- V2.2.0
- Date:
- 30-September-2014
- 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_StdPeriph_Examples/IWDG/IWDG_Example/main.c.