STM32F0xx Standard Peripherals Firmware Library
|
Header for main.c module. More...
#include "stm32f0xx.h"
#include "stm32072b_eval.h"
Go to the source code of this file.
Defines | |
#define | STATE_OVER_THRESHOLD 0x00000001 |
#define | STATE_UNDER_THRESHOLD 0x00000003 |
#define | STATE_WITHIN_THRESHOLD 0x00000002 |
Functions | |
void | CheckState (void) |
check input voltage level: within the thresholds, above the upper threshold or under the lower threshold |
Detailed Description
Header for main.c module.
- Author:
- MCD Application Team
- Version:
- V1.4.0
- Date:
- 24-July-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 STM32F0xx_StdPeriph_Examples/COMP/COMP_AnalogWatchdog/main.h.
Define Documentation
#define STATE_OVER_THRESHOLD 0x00000001 |
Definition at line 45 of file STM32F0xx_StdPeriph_Examples/COMP/COMP_AnalogWatchdog/main.h.
Referenced by CheckState(), and main().
#define STATE_UNDER_THRESHOLD 0x00000003 |
Definition at line 47 of file STM32F0xx_StdPeriph_Examples/COMP/COMP_AnalogWatchdog/main.h.
Referenced by CheckState(), and main().
#define STATE_WITHIN_THRESHOLD 0x00000002 |
Definition at line 46 of file STM32F0xx_StdPeriph_Examples/COMP/COMP_AnalogWatchdog/main.h.
Referenced by CheckState(), and main().