Add RANGEFINDER and OPTICALFLOW MT build option (#14042)
[betaflight.git] / src / main / drivers / vtx_rtc6705.h
blobbc56c0352b5822f8b4a3f03526f6b449ae59b1f6
1 /*
2 * This file is part of Cleanflight and Betaflight.
4 * Cleanflight and Betaflight are free software. You can redistribute
5 * this software and/or modify this software under the terms of the
6 * GNU General Public License as published by the Free Software
7 * Foundation, either version 3 of the License, or (at your option)
8 * any later version.
10 * Cleanflight and Betaflight are distributed in the hope that they
11 * will be useful, but WITHOUT ANY WARRANTY; without even the implied
12 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 * See the GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this software.
18 * If not, see <http://www.gnu.org/licenses/>.
22 * Author: Giles Burgess (giles@multiflite.co.uk)
24 * This source code is provided as is and can be used/modified so long
25 * as this header is maintained with the file at all times.
28 #pragma once
30 #include <stdint.h>
32 #include "pg/vtx_io.h"
34 #define VTX_RTC6705_POWER_COUNT 2
36 #define VTX_RTC6705_FREQ_MIN 5600
37 #define VTX_RTC6705_FREQ_MAX 5950
39 #define VTX_RTC6705_BOOT_DELAY 350 // milliseconds
41 bool rtc6705IOInit(const vtxIOConfig_t *vtxIOConfig);
42 void rtc6705SetFrequency(uint16_t freq);
43 void rtc6705SetRFPower(uint8_t rf_power);
44 void rtc6705Disable(void);
45 void rtc6705Enable(void);