GNU Radio 3.6.5 C++ API

fcd.h File Reference

#include <fcd_api.h>
#include <inttypes.h>

Go to the source code of this file.

Classes

struct  FCD_CAPS_STRUCT
 FCD capabilities that depend on both hardware and firmware. More...

Defines

#define EXTERN   extern
#define ASSIGN(x)

Enumerations

enum  FCD_MODE_ENUM { FCD_MODE_NONE, FCD_MODE_BL, FCD_MODE_APP }
 

FCD mode enumeration.

More...

Functions

EXTERN FCD_API FCD_MODE_ENUM fcdGetMode (void)
EXTERN FCD_API FCD_MODE_ENUM fcdGetFwVerStr (char *str)
EXTERN FCD_API FCD_MODE_ENUM fcdGetCaps (FCD_CAPS_STRUCT *fcd_caps)
EXTERN FCD_API FCD_MODE_ENUM fcdGetCapsStr (char *caps_str)
EXTERN FCD_API FCD_MODE_ENUM fcdAppReset (void)
EXTERN FCD_API FCD_MODE_ENUM fcdAppSetFreqkHz (int nFreq)
EXTERN FCD_API FCD_MODE_ENUM fcdAppSetFreq (int nFreq)
EXTERN FCD_API FCD_MODE_ENUM fcdAppSetParam (uint8_t u8Cmd, uint8_t *pu8Data, uint8_t u8len)
EXTERN FCD_API FCD_MODE_ENUM fcdAppGetParam (uint8_t u8Cmd, uint8_t *pu8Data, uint8_t u8len)
EXTERN FCD_API FCD_MODE_ENUM fcdBlReset (void)
EXTERN FCD_API FCD_MODE_ENUM fcdBlErase (void)
EXTERN FCD_API FCD_MODE_ENUM fcdBlWriteFirmware (char *pc, int64_t n64Size)
EXTERN FCD_API FCD_MODE_ENUM fcdBlVerifyFirmware (char *pc, int64_t n64Size)

Define Documentation

#define ASSIGN (   x)
#define EXTERN   extern

Enumeration Type Documentation

FCD mode enumeration.

Enumerator:
FCD_MODE_NONE 

No FCD detected.

FCD_MODE_BL 

FCD present in bootloader mode.

FCD_MODE_APP 

FCD present in aplpication mode.


Function Documentation

EXTERN FCD_API FCD_MODE_ENUM fcdAppGetParam ( uint8_t  u8Cmd,
uint8_t pu8Data,
uint8_t  u8len 
)
EXTERN FCD_API FCD_MODE_ENUM fcdAppReset ( void  )
EXTERN FCD_API FCD_MODE_ENUM fcdAppSetFreq ( int  nFreq)
EXTERN FCD_API FCD_MODE_ENUM fcdAppSetFreqkHz ( int  nFreq)
EXTERN FCD_API FCD_MODE_ENUM fcdAppSetParam ( uint8_t  u8Cmd,
uint8_t pu8Data,
uint8_t  u8len 
)
EXTERN FCD_API FCD_MODE_ENUM fcdBlErase ( void  )
EXTERN FCD_API FCD_MODE_ENUM fcdBlReset ( void  )
EXTERN FCD_API FCD_MODE_ENUM fcdBlVerifyFirmware ( char *  pc,
int64_t  n64Size 
)
EXTERN FCD_API FCD_MODE_ENUM fcdBlWriteFirmware ( char *  pc,
int64_t  n64Size 
)
EXTERN FCD_API FCD_MODE_ENUM fcdGetCaps ( FCD_CAPS_STRUCT fcd_caps)
EXTERN FCD_API FCD_MODE_ENUM fcdGetCapsStr ( char *  caps_str)
EXTERN FCD_API FCD_MODE_ENUM fcdGetFwVerStr ( char *  str)
EXTERN FCD_API FCD_MODE_ENUM fcdGetMode ( void  )