STM32F0xx Standard Peripherals Firmware Library: RTC_Timer

STM32F0xx Standard Peripherals Library

STM32F0xx Standard Peripherals Firmware Library

Functions

void BusFault_Handler (void)
 This function handles Bus Fault exception.
void DebugMon_Handler (void)
 This function handles Debug Monitor exception.
void EXTI0_1_IRQHandler (void)
 This function handles External line 0 interrupt request.
void EXTI4_15_IRQHandler (void)
 This function handles External line 10 to 15 interrupts request.
void HardFault_Handler (void)
 This function handles Hard Fault exception.
int main (void)
 Main program.
void MemManage_Handler (void)
 This function handles Memory Manage exception.
void NMI_Handler (void)
 This function handles NMI exception.
void PendSV_Handler (void)
 This function handles PendSVC exception.
static void RTC_AlarmConfig (void)
 Configures the RTC Alarm.
static void RTC_Config (void)
 Configures the RTC peripheral and select the clock source.
void RTC_IRQHandler (void)
 This function handles RTC Alarm interrupt (A and B) request.
void SVC_Handler (void)
 This function handles SVCall exception.
void SysTick_Handler (void)
 This function handles SysTick Handler.
void UsageFault_Handler (void)
 This function handles Usage Fault exception.

Variables

__IO uint8_t ALARM_Occured = 0
__IO uint8_t ALARM_Occured
__IO uint32_t RTCAlarmCount = 0

Function Documentation

void BusFault_Handler ( void  )

This function handles Bus Fault exception.

Parameters:
None
Return values:
None

Definition at line 94 of file STM32F0xx_StdPeriph_Examples/RTC/RTC_Timer/stm32f0xx_it.c.

void DebugMon_Handler ( void  )

This function handles Debug Monitor exception.

Parameters:
None
Return values:
None

Definition at line 129 of file STM32F0xx_StdPeriph_Examples/RTC/RTC_Timer/stm32f0xx_it.c.

void EXTI0_1_IRQHandler ( void  )

This function handles External line 0 interrupt request.

This function handles EXTI 10 to 15 request.

Parameters:
None
Return values:
None

Definition at line 179 of file STM32F0xx_StdPeriph_Examples/RTC/RTC_Timer/stm32f0xx_it.c.

void EXTI4_15_IRQHandler ( void  )

This function handles External line 10 to 15 interrupts request.

This function handles EXTI 6 request.

Parameters:
None
Return values:
None

Definition at line 159 of file STM32F0xx_StdPeriph_Examples/RTC/RTC_Timer/stm32f0xx_it.c.

void HardFault_Handler ( void  )

This function handles Hard Fault exception.

Parameters:
None
Return values:
None

Definition at line 68 of file STM32F0xx_StdPeriph_Examples/RTC/RTC_Timer/stm32f0xx_it.c.

int main ( void  )

Main program.

Parameters:
None
Return values:
None

< At this stage the microcontroller clock setting is already configured, this is done through SystemInit() function which is called from startup file (startup_stm32f0xx.s) before to branch to application main. To reconfigure the default setting of SystemInit() function, refer to system_stm32f0xx.c file

Definition at line 56 of file STM32F0xx_StdPeriph_Examples/RTC/RTC_Timer/main.c.

References ALARM_Occured, MESSAGE1, MESSAGE2, MESSAGE3, RTC_AlarmConfig(), RTC_Config(), RTCAlarmCount, and tmp.

void MemManage_Handler ( void  )

This function handles Memory Manage exception.

Parameters:
None
Return values:
None

Definition at line 81 of file STM32F0xx_StdPeriph_Examples/RTC/RTC_Timer/stm32f0xx_it.c.

void NMI_Handler ( void  )

This function handles NMI exception.

Parameters:
None
Return values:
None

Definition at line 59 of file STM32F0xx_StdPeriph_Examples/RTC/RTC_Timer/stm32f0xx_it.c.

void PendSV_Handler ( void  )

This function handles PendSVC exception.

Parameters:
None
Return values:
None

Definition at line 138 of file STM32F0xx_StdPeriph_Examples/RTC/RTC_Timer/stm32f0xx_it.c.

static void RTC_AlarmConfig ( void  ) [static]

Configures the RTC Alarm.

Parameters:
None
Return values:
None

Definition at line 219 of file STM32F0xx_StdPeriph_Examples/RTC/RTC_Timer/main.c.

References EXTI_InitStructure, and NVIC_InitStructure.

Referenced by main().

static void RTC_Config ( void  ) [static]

Configures the RTC peripheral and select the clock source.

Parameters:
None
Return values:
None

Definition at line 174 of file STM32F0xx_StdPeriph_Examples/RTC/RTC_Timer/main.c.

References RTC_InitStructure.

Referenced by main().

void RTC_IRQHandler ( void  )

This function handles RTC Alarm interrupt (A and B) request.

This function handles RTC Auto wake-up interrupt request.

Parameters:
None
Return values:
None

Definition at line 206 of file STM32F0xx_StdPeriph_Examples/RTC/RTC_Timer/stm32f0xx_it.c.

References ALARM_Occured.

void SVC_Handler ( void  )

This function handles SVCall exception.

Parameters:
None
Return values:
None

Definition at line 120 of file STM32F0xx_StdPeriph_Examples/RTC/RTC_Timer/stm32f0xx_it.c.

void SysTick_Handler ( void  )

This function handles SysTick Handler.

Parameters:
None
Return values:
None

Definition at line 147 of file STM32F0xx_StdPeriph_Examples/RTC/RTC_Timer/stm32f0xx_it.c.

void UsageFault_Handler ( void  )

This function handles Usage Fault exception.

Parameters:
None
Return values:
None

Definition at line 107 of file STM32F0xx_StdPeriph_Examples/RTC/RTC_Timer/stm32f0xx_it.c.


Variable Documentation

__IO uint8_t ALARM_Occured = 0

Definition at line 42 of file STM32F0xx_StdPeriph_Examples/RTC/RTC_Timer/main.c.

Referenced by main(), and RTC_IRQHandler().

__IO uint8_t ALARM_Occured

Definition at line 42 of file STM32F0xx_StdPeriph_Examples/RTC/RTC_Timer/main.c.

Referenced by main(), and RTC_IRQHandler().

__IO uint32_t RTCAlarmCount = 0

Definition at line 43 of file STM32F0xx_StdPeriph_Examples/RTC/RTC_Timer/main.c.

Referenced by main().

STM32L1xx Standard Peripherals Library: Footer

 

 

 For complete documentation on STM32 Microcontrollers visit www.st.com/STM32