first commit
This commit is contained in:
+1384
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,47 @@
|
||||
/* -*- mode: c; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4; coding: utf-8 -*- */
|
||||
/************************************************************************************
|
||||
** **
|
||||
** mcHF QRP Transceiver **
|
||||
** K Atanassov - M0NKA 2014 **
|
||||
** **
|
||||
**---------------------------------------------------------------------------------**
|
||||
** **
|
||||
** File name: **
|
||||
** Description: **
|
||||
** Last Modified: **
|
||||
** Licence: GNU GPLv3 **
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __CAT_DRIVER_H
|
||||
#define __CAT_DRIVER_H
|
||||
|
||||
#include "uhsdr_types.h"
|
||||
|
||||
typedef enum
|
||||
{
|
||||
CAT_DISCONNECTED = 0,
|
||||
CAT_CONNECTED
|
||||
} CatInterfaceState;
|
||||
|
||||
typedef enum
|
||||
{
|
||||
UNKNOWN = 0,
|
||||
FT817 = 1
|
||||
} CatInterfaceProtocol;
|
||||
|
||||
|
||||
// Exports
|
||||
|
||||
CatInterfaceState CatDriver_GetInterfaceState(void);
|
||||
|
||||
int CatDriver_InterfaceBufferAddData(uint8_t c);
|
||||
|
||||
void CatDriver_HandleProtocol(void);
|
||||
|
||||
bool CatDriver_CloneOutStart(void);
|
||||
bool CatDriver_CloneInStart(void);
|
||||
|
||||
bool CatDriver_CWKeyPressed(void);
|
||||
bool CatDriver_CatPttActive(void);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user