dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
tbs_smartaudio.c File Reference

This module configures the video transmitter. More...

#include "openpilot.h"
#include "pios_thread.h"
#include "pios_crc.h"
#include "vtxinfo.h"

Go to the source code of this file.

Data Structures

struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 

Macros

#define NUM_TBS_CH   40
 

Enumerations

enum  TBS_VTX_PROTOCOL { UNKNOWN, TBS_SMARTAUDIO_1, TBS_SMARTAUDIO_2 }
 

Functions

static int32_t tbsvtx_tx_msg (uintptr_t usart_id, uint8_t *buff, uint8_t n_bytes)
 
int32_t tbsvtx_rx_msg (uintptr_t usart_id, uint8_t n_bytes, uint8_t *buff, uint16_t timeout)
 
int32_t tbsvtx_get_state (uintptr_t usart_id, VTXInfoData *info)
 
int32_t tbsvtx_set_freq (uintptr_t usart_id, uint16_t frequency)
 
static int32_t tbsvtx_set_mode (uintptr_t usart_id, uint8_t mode)
 
int32_t tbsvtx_set_power (uintptr_t usart_id, uint16_t power)
 

Variables

const uint16_t TBS_CH [NUM_TBS_CH]
 
static enum TBS_VTX_PROTOCOL vtx_protocol = UNKNOWN
 

Detailed Description

This module configures the video transmitter.

Author
dRonin, http://dRonin.org/, Copyright (C) 2016
See Also
The GNU Public License (GPL) Version 3

Definition in file tbs_smartaudio.c.