Paparazzi UAS  v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
vms_ecu_demo.h File Reference

Viking Motorsports Engine Control Unit demo module see https://wiki.paparazziuav.org/wiki/VMS_ECU for more details. More...

#include "std.h"
#include "mcu_periph/adc.h"
+ Include dependency graph for vms_ecu_demo.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void vms_ecu_demo_init (void)
 
void vms_ecu_demo_periodic (void)
 
void vms_ecu_demo_downlink (void)
 
void vms_ecu_demo_UpdateDac1 (uint16_t val)
 Reset sweep number. More...
 
void vms_ecu_demo_UpdateDac2 (uint16_t val)
 

Variables

bool ams_status
 
bool pwr_ready
 
bool pwr_stdby
 
bool rtds
 
uint16_t dac_1
 
uint16_t dac_2
 

Detailed Description

Viking Motorsports Engine Control Unit demo module see https://wiki.paparazziuav.org/wiki/VMS_ECU for more details.

Definition in file vms_ecu_demo.h.

Function Documentation

void vms_ecu_demo_downlink ( void  )

Definition at line 315 of file vms_ecu_demo.c.

References ain_1, ain_2, ain_3, ain_4, DefaultChannel, DefaultDevice, stb_in, and stg_in.

void vms_ecu_demo_init ( void  )
void vms_ecu_demo_periodic ( void  )
void vms_ecu_demo_UpdateDac1 ( uint16_t  val)

Reset sweep number.

Definition at line 326 of file vms_ecu_demo.c.

References dac_1, dac_ref1, and val.

void vms_ecu_demo_UpdateDac2 ( uint16_t  val)

Definition at line 332 of file vms_ecu_demo.c.

References dac_2, dac_ref2, and val.

Variable Documentation

bool ams_status

Definition at line 97 of file vms_ecu_demo.c.

Referenced by vms_ecu_demo_init(), and vms_ecu_demo_periodic().

uint16_t dac_1

Definition at line 76 of file vms_ecu_demo.c.

Referenced by vms_ecu_demo_init(), and vms_ecu_demo_UpdateDac1().

uint16_t dac_2

Definition at line 77 of file vms_ecu_demo.c.

Referenced by vms_ecu_demo_init(), and vms_ecu_demo_UpdateDac2().

bool pwr_ready

Definition at line 98 of file vms_ecu_demo.c.

Referenced by vms_ecu_demo_init(), and vms_ecu_demo_periodic().

bool pwr_stdby

Definition at line 99 of file vms_ecu_demo.c.

Referenced by vms_ecu_demo_init(), and vms_ecu_demo_periodic().

bool rtds

Definition at line 100 of file vms_ecu_demo.c.

Referenced by vms_ecu_demo_init(), and vms_ecu_demo_periodic().