Paparazzi UAS
v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
|
Viking Motorsports Engine Control Unit demo module see https://wiki.paparazziuav.org/wiki/VMS_ECU for more details. More...
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 |
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.
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 | ) |
Definition at line 190 of file vms_ecu_demo.c.
References ADC_1, ADC_2, ADC_3, ADC_4, adc_buf_1, adc_buf_2, adc_buf_3, adc_buf_4, adc_buf_channel(), ain_1, ain_2, ain_3, ain_4, ams_status, cancfg, dac1cfg1, dac1cfg2, dac_1, dac_2, dac_ref1, dac_ref2, DEFAULT_AV_NB_SAMPLE, GPIOA, pwr_ready, pwr_stdby, rtds, stb_in, and stg_in.
void vms_ecu_demo_periodic | ( | void | ) |
Definition at line 248 of file vms_ecu_demo.c.
References adc_buf_1, adc_buf_2, adc_buf_3, adc_buf_4, ADC_VGAIN, ADC_VREF_MULT, ain_1, ain_2, ain_3, ain_4, ams_status, adc_buf::av_nb_sample, gpio_clear(), gpio_set(), GPIOD, GPIOE, pwr_ready, pwr_stdby, rtds, stb_in, stg_in, and adc_buf::sum.
void vms_ecu_demo_UpdateDac1 | ( | uint16_t | val | ) |
Reset sweep number.
Definition at line 326 of file vms_ecu_demo.c.
void vms_ecu_demo_UpdateDac2 | ( | uint16_t | val | ) |
Definition at line 332 of file vms_ecu_demo.c.
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().