Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
tacho_mb.h File Reference
#include "std.h"
+ Include dependency graph for tacho_mb.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define TACHO_MB_ISR()
 

Functions

void tacho_mb_init (void)
 

Variables

uint32_t t_duration
 

Macro Definition Documentation

◆ TACHO_MB_ISR

#define TACHO_MB_ISR ( )
Value:
{ \
static uint32_t tmb_last; \
uint32_t t_now = T0CR0; \
t_duration = t_now - tmb_last; \
tmb_last = t_now; \
LED_TOGGLE(1); \
}

Definition at line 10 of file tacho_mb.h.

Function Documentation

◆ tacho_mb_init()

void tacho_mb_init ( void  )

Variable Documentation

◆ t_duration

uint32_t t_duration

Definition at line 5 of file tacho_mb.c.

T0CR0
#define T0CR0
Definition: LPC21xx.h:61
uint32_t
unsigned long uint32_t
Definition: types.h:18