Paparazzi UAS  v4.0.4_stable-3-gf39211a
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
trig_ext_hw.c File Reference
#include "std.h"
#include "mcu_periph/sys_time.hw.h"
#include "LPC21xx.h"
#include "trig_ext_hw.h"
+ Include dependency graph for trig_ext_hw.c:

Go to the source code of this file.

Functions

void TRIG_ISR ()
 
void trig_ext_init (void)
 

Variables

uint32_t trigger_t0
 
uint32_t delta_t0
 
volatile bool_t trig_ext_valid
 

Function Documentation

void trig_ext_init ( void  )

Definition at line 25 of file trig_ext_hw.c.

References FALSE, PPM_CCR_CRF, PPM_CCR_CRI, PPM_CCR_CRR, PPM_PINSEL, PPM_PINSEL_BIT, PPM_PINSEL_VAL, T0CCR, and trig_ext_valid.

Referenced by trigger_ext_init().

+ Here is the caller graph for this function:

void TRIG_ISR ( void  )

Variable Documentation

uint32_t delta_t0

Definition at line 9 of file trig_ext_hw.c.

Referenced by TRIG_ISR(), and trigger_ext_periodic().

volatile bool_t trig_ext_valid

Definition at line 10 of file trig_ext_hw.c.

Referenced by trig_ext_init(), TRIG_ISR(), and trigger_ext_periodic().

uint32_t trigger_t0

Definition at line 8 of file trig_ext_hw.c.

Referenced by TRIG_ISR(), and windturbine_periodic().