no-OS
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
mwc.h File Reference
#include <assert.h>
#include "no_os_gpio.h"
#include "no_os_eeprom.h"
#include "iio.h"
#include "iio_hmc630x.h"
#include "hmc630x.h"
#include "no_os_pid.h"
Include dependency graph for mwc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mwc_iio_dev
 
struct  mwc_iio_init_param
 
struct  nvmp
 
union  nvmp255
 

Macros

#define NVMP_AREA_ADDRESS(n)
 

Enumerations

enum  admv96xx_id {
  ID_ADMV96X1 = 1 ,
  ID_ADMV96X3 = 3 ,
  ID_ADMV96X5 = 5
}
 
enum  mwc_iio_attr_id {
  MWC_IIO_ATTR_TX_AUTOTUNING ,
  MWC_IIO_ATTR_TX_TARGET ,
  MWC_IIO_ATTR_TX_TOLERANCE ,
  MWC_IIO_ATTR_RX_AUTOTUNING ,
  MWC_IIO_ATTR_RX_TARGET ,
  MWC_IIO_ATTR_RX_TOLERANCE ,
  MWC_IIO_ATTR_TX_AUTO_IFVGA ,
  MWC_IIO_ATTR_RX_AUTO_IFVGA_RFLNA ,
  MWC_IIO_ATTR_RESET ,
  MWC_IIO_ATTR_SAVE
}
 

Functions

int mwc_iio_init (struct mwc_iio_dev **iio_dev, struct mwc_iio_init_param *init_param)
 
int mwc_iio_remove (struct mwc_iio_dev *desc)
 
int mwc_tx_rx_reset (struct mwc_iio_dev *mwc)
 
int mwc_algorithms (struct mwc_iio_dev *mwc)
 
int mwc_save_to_eeprom (struct mwc_iio_dev *mwc, uint16_t address)
 

Variables

const union nvmp255 factory_defaults_template
 

Macro Definition Documentation

◆ NVMP_AREA_ADDRESS

#define NVMP_AREA_ADDRESS ( n)
Value:
(256 * (n))

Enumeration Type Documentation

◆ admv96xx_id

Enumerator
ID_ADMV96X1 
ID_ADMV96X3 
ID_ADMV96X5 

◆ mwc_iio_attr_id

Enumerator
MWC_IIO_ATTR_TX_AUTOTUNING 
MWC_IIO_ATTR_TX_TARGET 
MWC_IIO_ATTR_TX_TOLERANCE 
MWC_IIO_ATTR_RX_AUTOTUNING 
MWC_IIO_ATTR_RX_TARGET 
MWC_IIO_ATTR_RX_TOLERANCE 
MWC_IIO_ATTR_TX_AUTO_IFVGA 
MWC_IIO_ATTR_RX_AUTO_IFVGA_RFLNA 
MWC_IIO_ATTR_RESET 
MWC_IIO_ATTR_SAVE 

Function Documentation

◆ mwc_algorithms()

int mwc_algorithms ( struct mwc_iio_dev * mwc)

◆ mwc_iio_init()

int mwc_iio_init ( struct mwc_iio_dev ** iio_dev,
struct mwc_iio_init_param * init_param )
Here is the caller graph for this function:

◆ mwc_iio_remove()

int mwc_iio_remove ( struct mwc_iio_dev * desc)

◆ mwc_save_to_eeprom()

int mwc_save_to_eeprom ( struct mwc_iio_dev * mwc,
uint16_t address )

◆ mwc_tx_rx_reset()

int mwc_tx_rx_reset ( struct mwc_iio_dev * mwc)
Here is the caller graph for this function:

Variable Documentation

◆ factory_defaults_template

const union nvmp255 factory_defaults_template
extern