STM32F10x Standard Peripherals Library
3.5.0
|
Functions | |
void | BKP_DeInit (void) |
Deinitializes the BKP peripheral registers to their default reset values. | |
void | BKP_TamperPinLevelConfig (uint16_t BKP_TamperPinLevel) |
Configures the Tamper Pin active level. | |
void | BKP_TamperPinCmd (FunctionalState NewState) |
Enables or disables the Tamper Pin activation. | |
void | BKP_ITConfig (FunctionalState NewState) |
Enables or disables the Tamper Pin Interrupt. | |
void | BKP_RTCOutputConfig (uint16_t BKP_RTCOutputSource) |
Select the RTC output source to output on the Tamper pin. | |
void | BKP_SetRTCCalibrationValue (uint8_t CalibrationValue) |
Sets RTC Clock Calibration value. | |
void | BKP_WriteBackupRegister (uint16_t BKP_DR, uint16_t Data) |
Writes user data to the specified Data Backup Register. | |
uint16_t | BKP_ReadBackupRegister (uint16_t BKP_DR) |
Reads data from the specified Data Backup Register. | |
FlagStatus | BKP_GetFlagStatus (void) |
Checks whether the Tamper Pin Event flag is set or not. | |
void | BKP_ClearFlag (void) |
Clears Tamper Pin Event pending flag. | |
ITStatus | BKP_GetITStatus (void) |
Checks whether the Tamper Pin Interrupt has occurred or not. | |
void | BKP_ClearITPendingBit (void) |
Clears Tamper Pin Interrupt pending bit. |
void BKP_ClearFlag | ( | void | ) |
Clears Tamper Pin Event pending flag.
None |
None |
Definition at line 269 of file stm32f10x_bkp.c.
void BKP_ClearITPendingBit | ( | void | ) |
Clears Tamper Pin Interrupt pending bit.
None |
None |
Definition at line 290 of file stm32f10x_bkp.c.
void BKP_DeInit | ( | void | ) |
Deinitializes the BKP peripheral registers to their default reset values.
None |
None |
Definition at line 120 of file stm32f10x_bkp.c.
FlagStatus BKP_GetFlagStatus | ( | void | ) |
Checks whether the Tamper Pin Event flag is set or not.
None |
The | new state of the Tamper Pin Event flag (SET or RESET). |
Definition at line 259 of file stm32f10x_bkp.c.
ITStatus BKP_GetITStatus | ( | void | ) |
Checks whether the Tamper Pin Interrupt has occurred or not.
None |
The | new state of the Tamper Pin Interrupt (SET or RESET). |
Definition at line 280 of file stm32f10x_bkp.c.
void BKP_ITConfig | ( | FunctionalState | NewState | ) |
Enables or disables the Tamper Pin Interrupt.
NewState,: | new state of the Tamper Pin Interrupt. This parameter can be: ENABLE or DISABLE. |
None |
Definition at line 160 of file stm32f10x_bkp.c.
uint16_t BKP_ReadBackupRegister | ( | uint16_t | BKP_DR | ) |
Reads data from the specified Data Backup Register.
BKP_DR,: | specifies the Data Backup Register. This parameter can be BKP_DRx where x:[1, 42] |
The | content of the specified Data Backup Register |
Definition at line 241 of file stm32f10x_bkp.c.
void BKP_RTCOutputConfig | ( | uint16_t | BKP_RTCOutputSource | ) |
Select the RTC output source to output on the Tamper pin.
BKP_RTCOutputSource,: | specifies the RTC output source. This parameter can be one of the following values:
|
None |
Definition at line 180 of file stm32f10x_bkp.c.
void BKP_SetRTCCalibrationValue | ( | uint8_t | CalibrationValue | ) |
Sets RTC Clock Calibration value.
CalibrationValue,: | specifies the RTC Clock Calibration value. This parameter must be a number between 0 and 0x7F. |
None |
Definition at line 201 of file stm32f10x_bkp.c.
void BKP_TamperPinCmd | ( | FunctionalState | NewState | ) |
Enables or disables the Tamper Pin activation.
NewState,: | new state of the Tamper Pin activation. This parameter can be: ENABLE or DISABLE. |
None |
Definition at line 147 of file stm32f10x_bkp.c.
void BKP_TamperPinLevelConfig | ( | uint16_t | BKP_TamperPinLevel | ) |
Configures the Tamper Pin active level.
BKP_TamperPinLevel,: | specifies the Tamper Pin active level. This parameter can be one of the following values:
|
None |
Definition at line 134 of file stm32f10x_bkp.c.
void BKP_WriteBackupRegister | ( | uint16_t | BKP_DR, |
uint16_t | Data | ||
) |
Writes user data to the specified Data Backup Register.
BKP_DR,: | specifies the Data Backup Register. This parameter can be BKP_DRx where x:[1, 42] |
Data,: | data to write |
None |
Definition at line 222 of file stm32f10x_bkp.c.