Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
This measures the rssi pwm signal from a Digi XTend radio modem and sends a message with the info. More...
#include "modules/datalink/xtend_rssi.h"
#include "mcu_periph/pwm_input.h"
#include "mcu_periph/sys_time.h"
#include "mcu_periph/uart.h"
#include "pprzlink/messages.h"
#include "modules/datalink/downlink.h"
Go to the source code of this file.
Macros | |
#define | XTEND_RSSI_PWM_PERIOD_USEC 8320 |
#define | XTEND_RSSI_PWM_ARRAY_INDEX (XTEND_RSSI_PWM_INPUT_CHANNEL - 1) |
Functions | |
void | xtend_rssi_periodic (void) |
This measures the rssi pwm signal from a Digi XTend radio modem and sends a message with the info.
Definition in file xtend_rssi.c.
#define XTEND_RSSI_PWM_ARRAY_INDEX (XTEND_RSSI_PWM_INPUT_CHANNEL - 1) |
Definition at line 42 of file xtend_rssi.c.
#define XTEND_RSSI_PWM_PERIOD_USEC 8320 |
Definition at line 40 of file xtend_rssi.c.
void xtend_rssi_periodic | ( | void | ) |
Definition at line 44 of file xtend_rssi.c.
References cpu_ticks_of_usec(), datalink_time, DefaultChannel, DefaultDevice, pwm_input_duty_tics, pwm_input_duty_valid, XTEND_RSSI_PWM_ARRAY_INDEX, and XTEND_RSSI_PWM_PERIOD_USEC.