Paparazzi UAS
v5.10_stable-5-g83a0da5-dirty
Paparazzi is a free software Unmanned Aircraft System.
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
tacho_mb.h
Go to the documentation of this file.
1
#ifndef TACHO_MB_H
2
#define TACHO_MB_H
3
4
#include "
std.h
"
5
6
extern
void
tacho_mb_init
(
void
);
7
8
extern
uint32_t
t_duration
;
9
10
#define TACHO_MB_ISR() { \
11
static uint32_t tmb_last; \
12
uint32_t t_now = T0CR0; \
13
t_duration = t_now - tmb_last; \
14
tmb_last = t_now; \
15
LED_TOGGLE(1); \
16
}
17
18
#endif
/* TACHO_MB_H */
uint32_t
unsigned long uint32_t
Definition:
types.h:18
std.h
tacho_mb_init
void tacho_mb_init(void)
Definition:
tacho_mb.c:12
t_duration
uint32_t t_duration
Definition:
tacho_mb.c:5
sw
airborne
arch
lpc21
tacho_mb.h
Generated on Wed Aug 28 2019 16:28:54 for Paparazzi UAS by
1.8.8