armOS  0.1.0
Minimal ARM Operating System for the Raspberry Pi - Documentation generated for Pi 4.
timer.h
Go to the documentation of this file.
1 
7 #ifndef TIMER_H
8 #define TIMER_H
9 
10 #include <stdint.h>
11 
16 #define LED_MSEC_IRQ 200
17 
30 void timer_1_init(uint32_t msec);
43 void timer_3_init(uint32_t msec);
44 
51 void timer_1_stop();
58 void timer_3_stop();
59 
71 void handle_timer_1_irq();
83 void handle_timer_3_irq();
84 
94 uint64_t timer_get_ticks();
95 
105 void timer_msleep (uint32_t msec);
106 
107 #endif
handle_timer_1_irq
void handle_timer_1_irq()
Definition: timer.c:60
timer_1_stop
void timer_1_stop()
Definition: timer.c:48
timer_msleep
void timer_msleep(uint32_t msec)
Definition: timer.c:116
timer_get_ticks
uint64_t timer_get_ticks()
Definition: timer.c:98
timer_1_init
void timer_1_init(uint32_t msec)
Definition: timer.c:23
handle_timer_3_irq
void handle_timer_3_irq()
Definition: timer.c:79
timer_3_init
void timer_3_init(uint32_t msec)
Definition: timer.c:35
timer_3_stop
void timer_3_stop()
Definition: timer.c:54