STM8S/A Standard Peripherals Drivers
|
This file contains all the functions for the AWU peripheral. More...
#include "stm8s_awu.h"
Go to the source code of this file.
Functions | |
void | AWU_Cmd (FunctionalState NewState) |
Enable or disable the AWU peripheral. | |
void | AWU_DeInit (void) |
Deinitializes the AWU peripheral registers to their default reset values. | |
FlagStatus | AWU_GetFlagStatus (void) |
Returns status of the AWU peripheral flag. | |
void | AWU_IdleModeEnable (void) |
Configures AWU in Idle mode to reduce power consumption. | |
void | AWU_Init (AWU_Timebase_TypeDef AWU_TimeBase) |
Initializes the AWU peripheral according to the specified parameters. | |
void | AWU_LSICalibrationConfig (uint32_t LSIFreqHz) |
Update APR register with the measured LSI frequency. | |
Variables | |
CONST uint8_t | APR_Array [17] |
Contains the different values to write in the APR register (used by AWU_Init function) | |
CONST uint8_t | TBR_Array [17] |
Contains the different values to write in the TBR register (used by AWU_Init function) |
Detailed Description
This file contains all the functions for the AWU peripheral.
- 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_awu.c.