This file contains all the functions prototypes for the BKP firmware library. More...
#include "stm32f10x.h"
Go to the source code of this file.
Macros | |
#define | BKP_DR1 ((uint16_t)0x0004) |
#define | BKP_DR10 ((uint16_t)0x0028) |
#define | BKP_DR11 ((uint16_t)0x0040) |
#define | BKP_DR12 ((uint16_t)0x0044) |
#define | BKP_DR13 ((uint16_t)0x0048) |
#define | BKP_DR14 ((uint16_t)0x004C) |
#define | BKP_DR15 ((uint16_t)0x0050) |
#define | BKP_DR16 ((uint16_t)0x0054) |
#define | BKP_DR17 ((uint16_t)0x0058) |
#define | BKP_DR18 ((uint16_t)0x005C) |
#define | BKP_DR19 ((uint16_t)0x0060) |
#define | BKP_DR2 ((uint16_t)0x0008) |
#define | BKP_DR20 ((uint16_t)0x0064) |
#define | BKP_DR21 ((uint16_t)0x0068) |
#define | BKP_DR22 ((uint16_t)0x006C) |
#define | BKP_DR23 ((uint16_t)0x0070) |
#define | BKP_DR24 ((uint16_t)0x0074) |
#define | BKP_DR25 ((uint16_t)0x0078) |
#define | BKP_DR26 ((uint16_t)0x007C) |
#define | BKP_DR27 ((uint16_t)0x0080) |
#define | BKP_DR28 ((uint16_t)0x0084) |
#define | BKP_DR29 ((uint16_t)0x0088) |
#define | BKP_DR3 ((uint16_t)0x000C) |
#define | BKP_DR30 ((uint16_t)0x008C) |
#define | BKP_DR31 ((uint16_t)0x0090) |
#define | BKP_DR32 ((uint16_t)0x0094) |
#define | BKP_DR33 ((uint16_t)0x0098) |
#define | BKP_DR34 ((uint16_t)0x009C) |
#define | BKP_DR35 ((uint16_t)0x00A0) |
#define | BKP_DR36 ((uint16_t)0x00A4) |
#define | BKP_DR37 ((uint16_t)0x00A8) |
#define | BKP_DR38 ((uint16_t)0x00AC) |
#define | BKP_DR39 ((uint16_t)0x00B0) |
#define | BKP_DR4 ((uint16_t)0x0010) |
#define | BKP_DR40 ((uint16_t)0x00B4) |
#define | BKP_DR41 ((uint16_t)0x00B8) |
#define | BKP_DR42 ((uint16_t)0x00BC) |
#define | BKP_DR5 ((uint16_t)0x0014) |
#define | BKP_DR6 ((uint16_t)0x0018) |
#define | BKP_DR7 ((uint16_t)0x001C) |
#define | BKP_DR8 ((uint16_t)0x0020) |
#define | BKP_DR9 ((uint16_t)0x0024) |
#define | BKP_RTCOutputSource_Alarm ((uint16_t)0x0100) |
#define | BKP_RTCOutputSource_CalibClock ((uint16_t)0x0080) |
#define | BKP_RTCOutputSource_None ((uint16_t)0x0000) |
#define | BKP_RTCOutputSource_Second ((uint16_t)0x0300) |
#define | BKP_TamperPinLevel_High ((uint16_t)0x0000) |
#define | BKP_TamperPinLevel_Low ((uint16_t)0x0001) |
#define | IS_BKP_CALIBRATION_VALUE(VALUE) ((VALUE) <= 0x7F) |
#define | IS_BKP_DR(DR) |
#define | IS_BKP_RTC_OUTPUT_SOURCE(SOURCE) |
#define | IS_BKP_TAMPER_PIN_LEVEL(LEVEL) |
Functions | |
void | BKP_ClearFlag (void) |
Clears Tamper Pin Event pending flag. More... | |
void | BKP_ClearITPendingBit (void) |
Clears Tamper Pin Interrupt pending bit. More... | |
void | BKP_DeInit (void) |
Deinitializes the BKP peripheral registers to their default reset values. More... | |
FlagStatus | BKP_GetFlagStatus (void) |
Checks whether the Tamper Pin Event flag is set or not. More... | |
ITStatus | BKP_GetITStatus (void) |
Checks whether the Tamper Pin Interrupt has occurred or not. More... | |
void | BKP_ITConfig (FunctionalState NewState) |
Enables or disables the Tamper Pin Interrupt. More... | |
uint16_t | BKP_ReadBackupRegister (uint16_t BKP_DR) |
Reads data from the specified Data Backup Register. More... | |
void | BKP_RTCOutputConfig (uint16_t BKP_RTCOutputSource) |
Select the RTC output source to output on the Tamper pin. More... | |
void | BKP_SetRTCCalibrationValue (uint8_t CalibrationValue) |
Sets RTC Clock Calibration value. More... | |
void | BKP_TamperPinCmd (FunctionalState NewState) |
Enables or disables the Tamper Pin activation. More... | |
void | BKP_TamperPinLevelConfig (uint16_t BKP_TamperPinLevel) |
Configures the Tamper Pin active level. More... | |
void | BKP_WriteBackupRegister (uint16_t BKP_DR, uint16_t Data) |
Writes user data to the specified Data Backup Register. More... | |
This file contains all the functions prototypes for the BKP firmware library.
THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
Definition in file stm32f10x_bkp.h.