STM32F2 Standard Peripheral bibliotheek  1.0
ST Microelectronics bibliotheek documentatie voor de STM32F2 Standard Peripheral Library
 All Data Structures Files Functions Variables Enumerations Enumerator Groups
Tampers configuration functions

Tampers configuration functions. More...

Functions

void RTC_TamperTriggerConfig (uint32_t RTC_Tamper, uint32_t RTC_TamperTrigger)
 Configures the select Tamper pin edge. More...
 
void RTC_TamperCmd (uint32_t RTC_Tamper, FunctionalState NewState)
 Enables or Disables the Tamper detection. More...
 

Detailed Description

Tampers configuration functions.

 ===============================================================================
                       Tampers configuration functions
 ===============================================================================  

Function Documentation

void RTC_TamperCmd ( uint32_t  RTC_Tamper,
FunctionalState  NewState 
)

Enables or Disables the Tamper detection.

Parameters
RTC_Tamper,:Selected tamper pin. This parameter can be RTC_Tamper_1.
NewState,:new state of the tamper pin. This parameter can be: ENABLE or DISABLE.
Return values
None
void RTC_TamperTriggerConfig ( uint32_t  RTC_Tamper,
uint32_t  RTC_TamperTrigger 
)

Configures the select Tamper pin edge.

Parameters
RTC_Tamper,:Selected tamper pin. This parameter can be RTC_Tamper_1.
RTC_TamperTrigger,:Specifies the trigger on the tamper pin that stimulates tamper event. This parameter can be one of the following values:
  • RTC_TamperTrigger_RisingEdge: Rising Edge of the tamper pin causes tamper event.
  • RTC_TamperTrigger_FallingEdge: Falling Edge of the tamper pin causes tamper event.
Return values
None