no-OS
Classes | Enumerations
t_mykonos_dbgjesd.h File Reference

Contains definitions and structure declarations for mykonos_dbgjesd.c. More...

#include "common.h"
Include dependency graph for t_mykonos_dbgjesd.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mykonosLaneErr_t
 Data structure to hold the error counters per a given lane. More...
 
struct  mykonosDeframerStatus_t
 Data structure to hold the deframer status. More...
 

Enumerations

enum  mykonosDbgErr_t {
  MYKONOS_ERR_DBG_OK = 0,
  MYKONOS_ERR_DBG_FAIL = 1,
  MYKONOS_ERR_DBG_ILLEGAL_LANE_NUMBER,
  MYKONOS_ERR_DBG_ILLEGAL_ERROR_TYPE,
  MYKONOS_ERR_DBG_ILLEGAL_ERROR_SELECTED,
  MYKONOS_ERR_DBG_ILLEGAL_JESD_CORE,
  MYKONOS_ERR_DBG_ILLEGAL_DATA_POINTER,
  MYKONOS_ERR_DBG_NULL_PARM,
  MYKONOS_ERR_DBG_ERROR_SYNC_MASK,
  MYKONOS_ERR_DBG_ERROR_IRQ_MASK,
  MYKONOS_ERR_DBG_ERROR_THRESHOLD,
  MYKONOS_ERR_DBG_ILLEGAL_FRAMER_PATTERN,
  MYKONOS_ERR_DBG_ILLEGAL_ENABLE,
  MYKONOS_ERR_DBG_PATTERN_GEN_NOT_ENABLED,
  MYKONOS_ERR_DBG_ILLEGAL_TOGGLE,
  MYKONOS_ERR_DBG_PATTERN_GEN_NULL_PATTERN,
  MYKONOS_ERR_DBG_PATTERN_GEN_NULL_ENABLE,
  MYKONOS_ERR_DBG_PATTERN_GEN_NULL_TOGGLE,
  MYKONOS_ERR_DBG_ZERO_DATA_INV_LANE,
  MYKONOS_ERR_DBG_ZERO_DATA_LANE_NULL,
  MYKONOS_ERR_DBG_FRAMER_SEL_BASE_ADD_NULL,
  MYKONOS_ERR_DBG_FRAMER_ILLEGAL_JESD_CORE,
  MYKONOS_ERR_DBG_NUMBER_OF_ERRORS
}
 Enum of unique error codes from the Mykonos DBG API functions. Each error condition in the library should get its own enum value to allow easy debug of errors. More...
 
enum  mykonos_jesdcore_t {
  MYK_FRAMER = 0,
  MYK_DEFRAMER = 1,
  MYK_OBS_FRAMER = 2
}
 Enum to select Jesd core. More...
 
enum  mykonosLaneSel_t {
  MYK_LANE_0 = 0,
  MYK_LANE_1 = 1,
  MYK_LANE_2 = 2,
  MYK_LANE_3 = 3
}
 Enum to set the Lane. More...
 
enum  mykonosCtrSel_t {
  MYK_BAD_DISP_CNTR = 0,
  MYK_NIT_CNTR = 1,
  MYK_UEKC_CNTR = 2
}
 Enum to set the Lane. More...
 
enum  mykonosSyncMasks_t {
  MYK_SYNC_BADDISP = 0x04,
  MYK_SYNC_NIT = 0x02,
  MYK_SYNC_UEKC = 0x01
}
 Enum for the IRQ mask. More...
 
enum  mykonosIrqMasks_t {
  MYK_IRQ_CMM = 0x08,
  MYK_IRQ_BADDISP = 0x04,
  MYK_IRQ_NIT = 0x02,
  MYK_IRQ_UEKC = 0x01
}
 Enum for the IRQ mask. More...
 
enum  mykonosHandleType_t {
  MYK_CLEAR = 1,
  MYK_RESET = 2,
  MYK_CLEAR_RESET = 3
}
 Enum for the error handling type. More...
 
enum  mykonosErrType_t {
  MYK_CMM = 0x7B,
  MYK_BADDISP = 0x6D,
  MYK_NIT = 0x6E,
  MYK_UEKC = 0x6F
}
 Enum for the error type. More...
 

Detailed Description

Contains definitions and structure declarations for mykonos_dbgjesd.c.

Mykonos API version: 1.5.2.3566

Enumeration Type Documentation

◆ mykonos_jesdcore_t

Enum to select Jesd core.

Enumerator
MYK_FRAMER 

Framer for the main receive channel

MYK_DEFRAMER 

Deframer for Tx channel

MYK_OBS_FRAMER 

Framer for the observation channel

◆ mykonosCtrSel_t

Enum to set the Lane.

Enumerator
MYK_BAD_DISP_CNTR 

Bad disparity

MYK_NIT_CNTR 

Not in table

MYK_UEKC_CNTR 

Unexpected K character

◆ mykonosDbgErr_t

Enum of unique error codes from the Mykonos DBG API functions. Each error condition in the library should get its own enum value to allow easy debug of errors.

Legal Disclaimer Copyright 2015-2017 Analog Devices Inc. Released under the AD9371 API license, for more information see the "LICENSE.txt" file in this zip file.

Enumerator
MYKONOS_ERR_DBG_OK 
MYKONOS_ERR_DBG_FAIL 
MYKONOS_ERR_DBG_ILLEGAL_LANE_NUMBER 
MYKONOS_ERR_DBG_ILLEGAL_ERROR_TYPE 
MYKONOS_ERR_DBG_ILLEGAL_ERROR_SELECTED 
MYKONOS_ERR_DBG_ILLEGAL_JESD_CORE 
MYKONOS_ERR_DBG_ILLEGAL_DATA_POINTER 
MYKONOS_ERR_DBG_NULL_PARM 
MYKONOS_ERR_DBG_ERROR_SYNC_MASK 
MYKONOS_ERR_DBG_ERROR_IRQ_MASK 
MYKONOS_ERR_DBG_ERROR_THRESHOLD 
MYKONOS_ERR_DBG_ILLEGAL_FRAMER_PATTERN 
MYKONOS_ERR_DBG_ILLEGAL_ENABLE 
MYKONOS_ERR_DBG_PATTERN_GEN_NOT_ENABLED 
MYKONOS_ERR_DBG_ILLEGAL_TOGGLE 
MYKONOS_ERR_DBG_PATTERN_GEN_NULL_PATTERN 
MYKONOS_ERR_DBG_PATTERN_GEN_NULL_ENABLE 
MYKONOS_ERR_DBG_PATTERN_GEN_NULL_TOGGLE 
MYKONOS_ERR_DBG_ZERO_DATA_INV_LANE 
MYKONOS_ERR_DBG_ZERO_DATA_LANE_NULL 
MYKONOS_ERR_DBG_FRAMER_SEL_BASE_ADD_NULL 
MYKONOS_ERR_DBG_FRAMER_ILLEGAL_JESD_CORE 
MYKONOS_ERR_DBG_NUMBER_OF_ERRORS 

◆ mykonosErrType_t

Enum for the error type.

Enumerator
MYK_CMM 

configuration mismatch

MYK_BADDISP 

Bad disparity

MYK_NIT 

Not in table

MYK_UEKC 

Unexpected K character

◆ mykonosHandleType_t

Enum for the error handling type.

Enumerator
MYK_CLEAR 

Clear error handling type

MYK_RESET 

Reset error handling type

MYK_CLEAR_RESET 

Clear and Reset error handling type

◆ mykonosIrqMasks_t

Enum for the IRQ mask.

Enumerator
MYK_IRQ_CMM 

Configuration mismatch mask enable

MYK_IRQ_BADDISP 

Bad disparity mask enable

MYK_IRQ_NIT 

Not in table

MYK_IRQ_UEKC 

Unexpected K character

◆ mykonosLaneSel_t

Enum to set the Lane.

Enumerator
MYK_LANE_0 

Lane 0

MYK_LANE_1 

Lane 1

MYK_LANE_2 

Lane 2

MYK_LANE_3 

Lane 3

◆ mykonosSyncMasks_t

Enum for the IRQ mask.

Enumerator
MYK_SYNC_BADDISP 

Bad disparity mask enable

MYK_SYNC_NIT 

Not in table

MYK_SYNC_UEKC 

Unexpected K character