|
cursada_mc2
Base de control de temperatura para EDU-CIAA-NXP
|
#include "timer_driver.h"
Include dependency graph for timer_driver.c:Go to the source code of this file.
Functions | |
| void | board_timer_init (uint32_t timer_value_ms) |
| Inicializa y arranca el temporizador RIT con un periodo dado. | |
| void | board_timer_irq_handler (void) |
| Handler de bajo nivel del RIT para mantener el tick del sistema. | |
| uint32_t | board_timer_get_ticks (void) |
| Devuelve la cantidad de ticks acumulados por el RIT. | |
Variables | |
| static volatile uint32_t | board_timer_ticks_ = 0U |
| uint32_t board_timer_get_ticks | ( | void | ) |
Cuando el temporizador se configura con periodo de 1 ms, este valor se interpreta como tiempo en milisegundos desde la inicializacion.
Definition at line 32 of file timer_driver.c.
References board_timer_ticks_.
Referenced by app_init(), and app_process().
| void board_timer_init | ( | uint32_t | timer_value_ms | ) |
| timer_value_ms | Periodo del temporizador en milisegundos. |
Definition at line 16 of file timer_driver.c.
References board_timer_ticks_.
Referenced by app_init().
| void board_timer_irq_handler | ( | void | ) |
Debe llamarse desde la ISR asociada al temporizador.
Definition at line 26 of file timer_driver.c.
References board_timer_ticks_.
Referenced by RIT_Handler().
|
static |
Definition at line 14 of file timer_driver.c.
Referenced by board_timer_get_ticks(), board_timer_init(), and board_timer_irq_handler().