FSM thermostat
interr.c File Reference

Interrupt service routines for the STM32F4 platform. More...

#include "stm32f4xx.h"
#include "port_system.h"
#include "port_led.h"
#include "port_temp_sensor.h"

Go to the source code of this file.

Functions

void SysTick_Handler (void)
 Interrupt service routine for the System tick timer (SysTick). More...
 
void TIM2_IRQHandler (void)
 Interrupt service routine for the TIM2 timer. More...
 
void ADC_IRQHandler (void)
 Interrupt service routine for all the ADCs. More...
 

Detailed Description

Interrupt service routines for the STM32F4 platform.

Author
Josué Pagán (j.pag.nosp@m.an@u.nosp@m.pm.es)
Date
2024-04-01

Definition in file interr.c.

Function Documentation

◆ ADC_IRQHandler()

void ADC_IRQHandler ( void  )

Interrupt service routine for all the ADCs.

Note
This ISR is called when any ADC generates an interrupt.

Definition at line 51 of file interr.c.

◆ SysTick_Handler()

void SysTick_Handler ( void  )

Interrupt service routine for the System tick timer (SysTick).

Note
This ISR is called when the SysTick timer generates an interrupt. The program flow jumps to this ISR and increments the tick counter by one millisecond.
Warning
The variable msTicks must be declared volatile! Just because it is modified by a call of an ISR, in order to avoid race conditions . Added to the definition after static.

Definition at line 26 of file interr.c.

◆ TIM2_IRQHandler()

void TIM2_IRQHandler ( void  )

Interrupt service routine for the TIM2 timer.

Note
This ISR is called when the TIM2 timer generates an interrupt.

Definition at line 37 of file interr.c.