no-OS
mykonos_gpio.h
Go to the documentation of this file.
1 
15 #ifndef MYKONOSGPIO_H_
16 #define MYKONOSGPIO_H_
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
22 #include "t_mykonos.h"
23 #include "t_mykonos_gpio.h"
24 
25 /*
26  *****************************************************************************
27  * GPIO functions
28  *****************************************************************************
29  */
30 
31 /* GPIO CMOS and SPI setting Functions */
34 
37 
40 
41 
42 /* Monitor output Functions */
43 mykonosGpioErr_t MYKONOS_setGpioMonitorOut(mykonosDevice_t *device, uint8_t monitorIndex, uint8_t monitorMask);
44 mykonosGpioErr_t MYKONOS_getGpioMonitorOut(mykonosDevice_t *device, uint8_t *monitorIndex, uint8_t *monitorMask);
45 
46 /* RX GPIO Functions */
47 mykonosGpioErr_t MYKONOS_setRx1GainCtrlPin(mykonosDevice_t *device, uint8_t incStep, uint8_t decStep, mykonosGpioSelect_t rx1GainIncPin, mykonosGpioSelect_t rx1GainDecPin, uint8_t enable);
48 mykonosGpioErr_t MYKONOS_setRx2GainCtrlPin(mykonosDevice_t *device, uint8_t incStep, uint8_t decStep, mykonosGpioSelect_t rx2GainIncPin, mykonosGpioSelect_t rx2GainDecPin, uint8_t enable);
49 mykonosGpioErr_t MYKONOS_getRx1GainCtrlPin(mykonosDevice_t *device, uint8_t *incStep, uint8_t *decStep, mykonosGpioSelect_t *rx1GainIncPin, mykonosGpioSelect_t *rx1GainDecPin, uint8_t *enable);
50 mykonosGpioErr_t MYKONOS_getRx2GainCtrlPin(mykonosDevice_t *device, uint8_t *incStep, uint8_t *decStep, mykonosGpioSelect_t *rx2GainIncPin, mykonosGpioSelect_t *rx2GainDecPin, uint8_t *enable);
51 
56 
61 
62 /* TX GPIO Functions */
63 mykonosGpioErr_t MYKONOS_setTx1AttenCtrlPin(mykonosDevice_t *device, uint8_t stepSize, mykonosGpioSelect_t tx1AttenIncPin, mykonosGpioSelect_t tx1AttenDecPin, uint8_t enable, uint8_t useTx1ForTx2);
64 mykonosGpioErr_t MYKONOS_setTx2AttenCtrlPin(mykonosDevice_t *device, uint8_t stepSize, mykonosGpioSelect_t tx2AttenIncPin, mykonosGpioSelect_t tx2AttenDecPin, uint8_t enable);
65 mykonosGpioErr_t MYKONOS_getTx1AttenCtrlPin(mykonosDevice_t *device, uint8_t *stepSize, mykonosGpioSelect_t *tx1AttenIncPin, mykonosGpioSelect_t *tx1AttenDecPin, uint8_t *enable, uint8_t *useTx1ForTx2);
66 mykonosGpioErr_t MYKONOS_getTx2AttenCtrlPin(mykonosDevice_t *device, uint8_t *stepSize, mykonosGpioSelect_t *tx2AttenIncPin, mykonosGpioSelect_t *tx2AttenDecPin, uint8_t *enable, uint8_t *useTx1ForTx2);
67 
68 mykonosGpioErr_t MYKONOS_spi2GpioSetup(mykonosDevice_t *device, uint8_t enable, uint8_t updateTxAttenPinSelect);
69 
70 /* GPIO memory source Functions */
74 
75 /* Gain Compensation Functions */
78 
81 
82 /* SLICER Functions */
83 mykonosGpioErr_t MYKONOS_setRxSlicerCtrl(mykonosDevice_t *device, uint8_t slicerStep, mykonosRxSlicer_t rx1Pins, mykonosRxSlicer_t rx2Pins, uint8_t enable);
84 mykonosGpioErr_t MYKONOS_getRxSlicerCtrl(mykonosDevice_t *device, uint8_t *slicerStep, mykonosRxSlicer_t *rx1Pins, mykonosRxSlicer_t *rx2Pins, uint8_t *enable);
85 
86 mykonosGpioErr_t MYKONOS_setObsRxSlicerCtrl(mykonosDevice_t *device, uint8_t slicerStep, mykonosObsRxSlicer_t obsRxPins, uint8_t enable);
87 mykonosGpioErr_t MYKONOS_getObsRxSlicerCtrl(mykonosDevice_t *device, uint8_t *slicerStep, mykonosObsRxSlicer_t *obsRxPins, uint8_t *enable);
88 
89 /* Floating Point Formatter Functions */
92 
93 mykonosGpioErr_t MYKONOS_setRxEnFloatPntFrmt (mykonosDevice_t *device, uint8_t rx1Att, uint8_t rx2Att, uint8_t enable);
94 mykonosGpioErr_t MYKONOS_getRxEnFloatPntFrmt (mykonosDevice_t *device, uint8_t *rx1Att, uint8_t *rx2Att, uint8_t *enable);
95 
96 mykonosGpioErr_t MYKONOS_setOrxEnFloatPntFrmt (mykonosDevice_t *device, uint8_t orxAtt, uint8_t enable);
97 mykonosGpioErr_t MYKONOS_getOrxEnFloatPntFrmt (mykonosDevice_t *device, uint8_t *orxAtt, uint8_t *enable);
98 
99 /*
100  *****************************************************************************
101  * General Purpose Interrupt functions
102  *****************************************************************************
103  */
106 
107 /*
108  *****************************************************************************
109  * ARM GPIO usage functions
110  *****************************************************************************
111  */
113 
114 /*
115  *****************************************************************************
116  * AuxADC/AuxDAC functions
117  *****************************************************************************
118  */
119 mykonosGpioErr_t MYKONOS_setupAuxAdcs(mykonosDevice_t *device, uint8_t adcDecimation, uint8_t enable);
123 mykonosGpioErr_t MYKONOS_writeAuxDac(mykonosDevice_t *device, uint8_t auxDacIndex, uint16_t auxDacCode);
124 
125 /*
126  *****************************************************************************
127  * GPIO3v3 functions
128  *****************************************************************************
129  */
131 
134 
136 
139 
142 
143 /*
144  *****************************************************************************
145  * GPIO helper functions
146  *****************************************************************************
147  */
149 mykonosGpioErr_t MYKONOS_setGpioOe(mykonosDevice_t *device, uint32_t gpioOutEn, uint32_t gpioUsedMask);
151 
154 
155 /*
156  *****************************************************************************
157  * Temperature Sensor functions
158  *****************************************************************************
159  */
162 
165 
166 const char* getGpioMykonosErrorMessage(mykonosGpioErr_t errorCode);
167 
168 #ifdef __cplusplus
169 }
170 #endif
171 
172 #endif /* MYKONOSGPIO_H_ */
MYKONOS_ADDR_AGC_ORX_SNRX_GPIO_SEL
#define MYKONOS_ADDR_AGC_ORX_SNRX_GPIO_SEL
Definition: mykonos_macros.h:276
mykonosTempSensorConfig_t
Data structure used to configure the on-die Temperature Sensor.
Definition: t_mykonos_gpio.h:345
MYKONOS_getGpioPinLevel
mykonosGpioErr_t MYKONOS_getGpioPinLevel(mykonosDevice_t *device, uint32_t *gpioPinLevel)
Reads the Mykonos low voltage GPIO pin levels and returns their contents in a single 32-bit word.
Definition: mykonos_gpio.c:2150
MYKONOS_setRxGainCompensation
mykonosGpioErr_t MYKONOS_setRxGainCompensation(mykonosDevice_t *device, mykonosGainComp_t *gainComp, uint8_t enable)
Gain compensation enable and setup function.
Definition: mykonos_gpio.c:3421
MYKONOS_getGpioDrv
mykonosGpioErr_t MYKONOS_getGpioDrv(mykonosDevice_t *device, uint32_t *gpioDrv)
This function gets the GPIOs drive strength.
Definition: mykonos_gpio.c:4914
MYKONOS_getGpioOe
mykonosGpioErr_t MYKONOS_getGpioOe(mykonosDevice_t *device, uint32_t *gpioOutEn)
Gets the Mykonos low voltage GPIO output pins direction.
Definition: mykonos_gpio.c:2962
mykonos_gpio.h
Contains macro definitions and function prototypes for mykonos_gpio.c.
MYKONOS_ERR_OBS_RX_GAINCOMP_SET_NULL_STRUCT
@ MYKONOS_ERR_OBS_RX_GAINCOMP_SET_NULL_STRUCT
Definition: t_mykonos_gpio.h:120
MYKONOS_ERR_FLOATFRMT_SET_INV_RX2ATT
@ MYKONOS_ERR_FLOATFRMT_SET_INV_RX2ATT
Definition: t_mykonos_gpio.h:159
MYKONOS_ADDR_TEMP_SENSOR_CONFIG
#define MYKONOS_ADDR_TEMP_SENSOR_CONFIG
Definition: mykonos_macros.h:548
mykonosTempSensorConfig_t::tempWindow
uint8_t tempWindow
Definition: t_mykonos_gpio.h:352
MYKONOS_ADDR_FLOATING_POINT_ORX_CTRL
#define MYKONOS_ADDR_FLOATING_POINT_ORX_CTRL
Definition: mykonos_macros.h:456
MYKONOS_ERR_GETTX1PIN_EN_NULL_PARM
@ MYKONOS_ERR_GETTX1PIN_EN_NULL_PARM
Definition: t_mykonos_gpio.h:71
mykonosTempSensorStatus_t::tempCode
int16_t tempCode
Definition: t_mykonos_gpio.h:362
MYKONOS_ADDR_FLOATING_POINT_RX_CTRL
#define MYKONOS_ADDR_FLOATING_POINT_RX_CTRL
Definition: mykonos_macros.h:455
MYKONOS_setupGpio3v3
mykonosGpioErr_t MYKONOS_setupGpio3v3(mykonosDevice_t *device)
Sets the Mykonos 3.3 VDC GPIO configuration registers.
Definition: mykonos_gpio.c:3097
MYKONOS_ERR_GETRX1PIN_DECSTEP_NULL_PARM
@ MYKONOS_ERR_GETRX1PIN_DECSTEP_NULL_PARM
Definition: t_mykonos_gpio.h:52
mykonosTempSensorConfig_t::overrideFusedOffset
uint8_t overrideFusedOffset
Definition: t_mykonos_gpio.h:350
MYK_SLEWRATE_NONE
@ MYK_SLEWRATE_NONE
Definition: t_mykonos_gpio.h:229
MYKONOS_ADDR_AUXDAC_0_WORD_MSB
#define MYKONOS_ADDR_AUXDAC_0_WORD_MSB
Definition: mykonos_macros.h:534
MYKONOS_ADDR_SOURCE_CONTROL_EXTRA_BITS
#define MYKONOS_ADDR_SOURCE_CONTROL_EXTRA_BITS
Definition: mykonos_macros.h:519
MYKGPIO18
@ MYKGPIO18
Definition: t_mykonos.h:593
MYKONOS_ERR_CMOS_DRV_NULL_PARAM
@ MYKONOS_ERR_CMOS_DRV_NULL_PARAM
Definition: t_mykonos_gpio.h:201
MYKONOS_setRxGainCompensation
mykonosGpioErr_t MYKONOS_setRxGainCompensation(mykonosDevice_t *device, mykonosGainComp_t *gainComp, uint8_t enable)
Gain compensation enable and setup function.
Definition: mykonos_gpio.c:3421
MYKONOS_getObsRxAgcEnSyncPin
mykonosGpioErr_t MYKONOS_getObsRxAgcEnSyncPin(mykonosDevice_t *device, mykonosGpioSelect_t *obsRxAgcSyncPin)
This API function gets the pin configuration for AGC Sync gain control of observation channel.
Definition: mykonos_gpio.c:1599
MYKONOS_setRxAgcEnSyncPin
mykonosGpioErr_t MYKONOS_setRxAgcEnSyncPin(mykonosDevice_t *device, mykonosGpioSelect_t rx1AgcSyncPin, mykonosGpioSelect_t rx2AgcSyncPin)
This API function set the pins for sync AGC gain control.
Definition: mykonos_gpio.c:1353
MYKONOS_setAuxAdcChannel
mykonosGpioErr_t MYKONOS_setAuxAdcChannel(mykonosDevice_t *device, mykonosAuxAdcChannels_t auxAdcChannel)
Sets the selected channel of the auxiliary ADC.
Definition: mykonos_gpio.c:2590
MYKONOS_ADDR_GPIO_SPI_SRC_7_0
#define MYKONOS_ADDR_GPIO_SPI_SRC_7_0
Definition: mykonos_macros.h:511
MYKONOS_ERR_GPIO_HYBRID_RX2_PIN_NULL_PARM
@ MYKONOS_ERR_GPIO_HYBRID_RX2_PIN_NULL_PARM
Definition: t_mykonos_gpio.h:178
mykonosObsRxGainComp_t
Data structure to hold Gain compensation settings for the observation channel.
Definition: t_mykonos_gpio.h:290
MYKONOS_ERR_GPIO_AGC_SYNC_RX1_PIN_NULL_PARM
@ MYKONOS_ERR_GPIO_AGC_SYNC_RX1_PIN_NULL_PARM
Definition: t_mykonos_gpio.h:188
HYBRID
@ HYBRID
Definition: t_mykonos.h:802
MYK_CMOSPAD_DRV_1X
@ MYK_CMOSPAD_DRV_1X
Definition: t_mykonos_gpio.h:240
MYKONOS_setObsRxAgcEnSyncPin
mykonosGpioErr_t MYKONOS_setObsRxAgcEnSyncPin(mykonosDevice_t *device, mykonosGpioSelect_t obsRxAgcSyncPin)
This API function set the pins for AGC gain Sync control.
Definition: mykonos_gpio.c:1537
mykonosObsRxGainComp_t::compStep
uint8_t compStep
Definition: t_mykonos_gpio.h:295
mykonosAuxAdcChannels_t
mykonosAuxAdcChannels_t
Enumerated list for Aux ADCs.
Definition: t_mykonos_gpio.h:251
MYKONOS_ERR_GETGPIO3V3OUT_NULL_PARM
@ MYKONOS_ERR_GETGPIO3V3OUT_NULL_PARM
Definition: t_mykonos_gpio.h:90
MYKONOS_ADDR_GPIO_DIR_CTL_7_0
#define MYKONOS_ADDR_GPIO_DIR_CTL_7_0
Definition: mykonos_macros.h:508
MYKONOS_ERR_GPIO_HYBRID_ORX_PIN
@ MYKONOS_ERR_GPIO_HYBRID_ORX_PIN
Definition: t_mykonos_gpio.h:182
mykonosFloatPntFrmt_t::expBits
uint8_t expBits
Definition: t_mykonos_gpio.h:330
MYKONOS_getGpio3v3Oe
mykonosGpioErr_t MYKONOS_getGpio3v3Oe(mykonosDevice_t *device, uint16_t *gpio3v3OutEn)
Reads the Mykonos 3.3 VDC GPIO pin direction.
Definition: mykonos_gpio.c:3289
MYKONOS_setGpioSourceCtrl
mykonosGpioErr_t MYKONOS_setGpioSourceCtrl(mykonosDevice_t *device, uint32_t gpioSrcCtrl)
Sets the Mykonos GPIO source control for different GPIO functionality.
Definition: mykonos_gpio.c:3006
MYKONOS_ERR_FLOATFRMT_INV_ORXEN
@ MYKONOS_ERR_FLOATFRMT_INV_ORXEN
Definition: t_mykonos_gpio.h:162
RX1_ENABLE_ACK_SIGNALID
#define RX1_ENABLE_ACK_SIGNALID
Definition: mykonos_macros.h:688
MYKONOS_getOrxEnFloatPntFrmt
mykonosGpioErr_t MYKONOS_getOrxEnFloatPntFrmt(mykonosDevice_t *device, uint8_t *orxAtt, uint8_t *enable)
Floating point formatter enable and setup function.
Definition: mykonos_gpio.c:4491
CMB_writeToLog
commonErr_t CMB_writeToLog(ADI_LOGLEVEL level, uint8_t deviceIndex, uint32_t errorCode, const char *comment)
Definition: common.c:250
mykonosFloatPntFrmt_t::dataFormat
uint8_t dataFormat
Definition: t_mykonos_gpio.h:324
MYKONOS_ADDR_GPIO_3V3_SPI_READ_7_0
#define MYKONOS_ADDR_GPIO_3V3_SPI_READ_7_0
Definition: mykonos_macros.h:503
MYKONOS_writeAuxDac
mykonosGpioErr_t MYKONOS_writeAuxDac(mykonosDevice_t *device, uint8_t auxDacIndex, uint16_t auxDacCode)
Writes the current AuxDAC code for a particular AuxDAC.
Definition: mykonos_gpio.c:2776
MYKONOS_ERR_INV_AUX_ADC_CHAN_PARM
@ MYKONOS_ERR_INV_AUX_ADC_CHAN_PARM
Definition: t_mykonos_gpio.h:108
MYKGPIO7
@ MYKGPIO7
Definition: t_mykonos.h:582
MYKONOS_ADDR_RX2_GAIN_COMP_OFFSET
#define MYKONOS_ADDR_RX2_GAIN_COMP_OFFSET
Definition: mykonos_macros.h:446
MYKONOS_ADDR_TEMP_SENSOR_READ
#define MYKONOS_ADDR_TEMP_SENSOR_READ
Definition: mykonos_macros.h:547
MYKONOS_setupAuxDacs
mykonosGpioErr_t MYKONOS_setupAuxDacs(mykonosDevice_t *device)
Sets up the 10 AuxDACs on the Mykonos device.
Definition: mykonos_gpio.c:2696
MYKONOS_ERR_GPIO_OK
@ MYKONOS_ERR_GPIO_OK
Definition: t_mykonos_gpio.h:32
MYKONOS_getRxAgcEnSyncPin
mykonosGpioErr_t MYKONOS_getRxAgcEnSyncPin(mykonosDevice_t *device, mykonosGpioSelect_t *rx1AgcSyncPin, mykonosGpioSelect_t *rx2AgcSyncPin)
This API function gets the GPIO pin configuration for AGC gain sync control of RX1 and RX2.
Definition: mykonos_gpio.c:1439
MYKONOS_ERR_SPI2_INV_GPIO
@ MYKONOS_ERR_SPI2_INV_GPIO
Definition: t_mykonos_gpio.h:74
MYKONOS_setFloatPointFrmt
mykonosGpioErr_t MYKONOS_setFloatPointFrmt(mykonosDevice_t *device, mykonosFloatPntFrmt_t *floatFrmt)
Floating point formatter enable and setup function.
Definition: mykonos_gpio.c:4117
MYKONOS_ERR_TPCTX1_GPIO_DECPIN_INV_PARAM
@ MYKONOS_ERR_TPCTX1_GPIO_DECPIN_INV_PARAM
Definition: t_mykonos_gpio.h:60
MYKONOS_getTx1AttenCtrlPin
mykonosGpioErr_t MYKONOS_getTx1AttenCtrlPin(mykonosDevice_t *device, uint8_t *stepSize, mykonosGpioSelect_t *tx1AttenIncPin, mykonosGpioSelect_t *tx1AttenDecPin, uint8_t *enable, uint8_t *useTx1ForTx2)
This API function returns the configuration TX1 attenuation Pin control.
Definition: mykonos_gpio.c:1793
MYK_CMOSPAD_DRV_2X
@ MYK_CMOSPAD_DRV_2X
Definition: t_mykonos_gpio.h:241
MYKGPIO5
@ MYKGPIO5
Definition: t_mykonos.h:580
MYKONOS_ERR_SETUPTEMPSENSOR_INV_TEMPDECIMATION
@ MYKONOS_ERR_SETUPTEMPSENSOR_INV_TEMPDECIMATION
Definition: t_mykonos_gpio.h:167
MYKONOS_ERR_SETUPTEMPSENSOR_INV_TEMPWINDOW
@ MYKONOS_ERR_SETUPTEMPSENSOR_INV_TEMPWINDOW
Definition: t_mykonos_gpio.h:169
MYKONOS_ERR_FLOATFRMT_INV_LEADING
@ MYKONOS_ERR_FLOATFRMT_INV_LEADING
Definition: t_mykonos_gpio.h:150
MYKONOS_ERR_FLOATFRMT_NULL_STRUCT
@ MYKONOS_ERR_FLOATFRMT_NULL_STRUCT
Definition: t_mykonos_gpio.h:144
MYKONOS_ERR_FLOATFRMT_NULL_ORXENABLE
@ MYKONOS_ERR_FLOATFRMT_NULL_ORXENABLE
Definition: t_mykonos_gpio.h:164
MYKONOS_getTempSensorConfig
mykonosGpioErr_t MYKONOS_getTempSensorConfig(mykonosDevice_t *device, mykonosTempSensorConfig_t *tempSensor)
Reads from the Temperature Sensor registers and populates device data structure.
Definition: mykonos_gpio.c:4644
MYKONOS_ERR_GPIO3V3OUTEN_NULL_PARM
@ MYKONOS_ERR_GPIO3V3OUTEN_NULL_PARM
Definition: t_mykonos_gpio.h:93
MYKONOS_ERR_GAINCOMP_INV_EN
@ MYKONOS_ERR_GAINCOMP_INV_EN
Definition: t_mykonos_gpio.h:118
MYKONOS_getRx1GainCtrlPin
mykonosGpioErr_t MYKONOS_getRx1GainCtrlPin(mykonosDevice_t *device, uint8_t *incStep, uint8_t *decStep, mykonosGpioSelect_t *rx1GainIncPin, mykonosGpioSelect_t *rx1GainDecPin, uint8_t *enable)
This API function returns the configuration RX1 gain Pin control.
Definition: mykonos_gpio.c:705
MYKONOS_waitArmCmdStatus
mykonosErr_t MYKONOS_waitArmCmdStatus(mykonosDevice_t *device, uint8_t opCode, uint32_t timeoutMs, uint8_t *cmdStatByte)
Mykonos ARM command status wait function polls command status until opcode completes.
Definition: mykonos.c:16128
ADIHAL_LOG_ERROR
@ ADIHAL_LOG_ERROR
Definition: common.h:51
MYKONOS_ERR_GPIO_AGC_SYNC_RX2_PIN_NULL_PARM
@ MYKONOS_ERR_GPIO_AGC_SYNC_RX2_PIN_NULL_PARM
Definition: t_mykonos_gpio.h:189
MYKONOS_ADDR_AUX_DAC_LATCH_CONTROL
#define MYKONOS_ADDR_AUX_DAC_LATCH_CONTROL
Definition: mykonos_macros.h:533
MYKONOS_setGpioSlewRate
mykonosGpioErr_t MYKONOS_setGpioSlewRate(mykonosDevice_t *device, mykonosGpioSelect_t gpioSelect, mykonosGpioSlewRate_t slewRate)
This function sets the slew rate for the required GPIOs.
Definition: mykonos_gpio.c:5002
MYKONOS_ERR_GETRX2PIN_INCPIN_NULL_PARM
@ MYKONOS_ERR_GETRX2PIN_INCPIN_NULL_PARM
Definition: t_mykonos_gpio.h:48
MYKONOS_ARM_SET_OPCODE
#define MYKONOS_ARM_SET_OPCODE
Definition: mykonos_macros.h:655
MYKONOS_ERR_GPIO_AGC_SYNC_RX2_PIN
@ MYKONOS_ERR_GPIO_AGC_SYNC_RX2_PIN
Definition: t_mykonos_gpio.h:187
MYKONOS_spi2GpioSetup
mykonosGpioErr_t MYKONOS_spi2GpioSetup(mykonosDevice_t *device, uint8_t enable, uint8_t updateTxAttenPinSelect)
This API function configures and enables the secondary SPI port.
Definition: mykonos_gpio.c:5329
MYKONOS_ADDR_CONFIGURATION_CONTROL_1
#define MYKONOS_ADDR_CONFIGURATION_CONTROL_1
Definition: mykonos_macros.h:155
MYKONOS_sendArmCommand
mykonosErr_t MYKONOS_sendArmCommand(mykonosDevice_t *device, uint8_t opCode, uint8_t *extendedData, uint8_t extendedDataNumBytes)
Sends a command to the Mykonos ARM processor.
Definition: mykonos.c:15925
MYKONOS_setFloatPointFrmt
mykonosGpioErr_t MYKONOS_setFloatPointFrmt(mykonosDevice_t *device, mykonosFloatPntFrmt_t *floatFrmt)
Floating point formatter enable and setup function.
Definition: mykonos_gpio.c:4117
MYKONOS_ADDR_SOURCE_CONTROL_LOWER_BYTE
#define MYKONOS_ADDR_SOURCE_CONTROL_LOWER_BYTE
Definition: mykonos_macros.h:517
MYKONOS_ERR_GETGPIOMON_MONITORMASK_NULL_PARM
@ MYKONOS_ERR_GETGPIOMON_MONITORMASK_NULL_PARM
Definition: t_mykonos_gpio.h:37
MYKONOS_ERR_GETRX2PIN_DECSTEP_NULL_PARM
@ MYKONOS_ERR_GETRX2PIN_DECSTEP_NULL_PARM
Definition: t_mykonos_gpio.h:47
MYKONOS_GPIO_SLEW_CTL_1
#define MYKONOS_GPIO_SLEW_CTL_1
Definition: mykonos_macros.h:28
MYKONOS_setAuxAdcChannel
mykonosGpioErr_t MYKONOS_setAuxAdcChannel(mykonosDevice_t *device, mykonosAuxAdcChannels_t auxAdcChannel)
Sets the selected channel of the auxiliary ADC.
Definition: mykonos_gpio.c:2590
MYKONOS_ERR_CMOS_DRV_INV_PARAM
@ MYKONOS_ERR_CMOS_DRV_INV_PARAM
Definition: t_mykonos_gpio.h:200
MYKGPIO14
@ MYKGPIO14
Definition: t_mykonos.h:589
MYKONOS_getGpioMonitorOut
mykonosGpioErr_t MYKONOS_getGpioMonitorOut(mykonosDevice_t *device, uint8_t *monitorIndex, uint8_t *monitorMask)
This API function reads the GPIO monitor index from Mykonos.
Definition: mykonos_gpio.c:540
MYKONOS_ERR_GETRX1PIN_INCSTEP_NULL_PARM
@ MYKONOS_ERR_GETRX1PIN_INCSTEP_NULL_PARM
Definition: t_mykonos_gpio.h:51
ORX_MODE_1_SIGNALID
#define ORX_MODE_1_SIGNALID
Definition: mykonos_macros.h:686
MYKONOS_GPIO_DRV_CTL_0
#define MYKONOS_GPIO_DRV_CTL_0
Definition: mykonos_macros.h:25
MYKONOS_ERR_GPIO_AGC_SYNC_RX1_PIN
@ MYKONOS_ERR_GPIO_AGC_SYNC_RX1_PIN
Definition: t_mykonos_gpio.h:186
MYKONOS_ADDR_GPIO_SPI_READ_18_16
#define MYKONOS_ADDR_GPIO_SPI_READ_18_16
Definition: mykonos_macros.h:516
VCODIV_2
@ VCODIV_2
Definition: t_mykonos.h:697
MYKONOS_ERR_GETTX1PIN_STEP_NULL_PARM
@ MYKONOS_ERR_GETTX1PIN_STEP_NULL_PARM
Definition: t_mykonos_gpio.h:68
MYKONOS_ERR_GETRX1PIN_EN_NULL_PARM
@ MYKONOS_ERR_GETRX1PIN_EN_NULL_PARM
Definition: t_mykonos_gpio.h:55
MYKONOS_ADDR_DPD_SNF_RX_GAIN_COMP_OFFSET
#define MYKONOS_ADDR_DPD_SNF_RX_GAIN_COMP_OFFSET
Definition: mykonos_macros.h:450
MYKONOS_ERR_GETTX2PIN_INC_NULL_PARM
@ MYKONOS_ERR_GETTX2PIN_INC_NULL_PARM
Definition: t_mykonos_gpio.h:64
MYKONOS_getGpio3v3PinLevel
mykonosGpioErr_t MYKONOS_getGpio3v3PinLevel(mykonosDevice_t *device, uint16_t *gpio3v3PinLevel)
Reads the Mykonos 3.3 VDC GPIO pin levels for BITBANG mode.
Definition: mykonos_gpio.c:3217
device
Definition: ad9361_util.h:69
MYKONOS_getGpioDrv
mykonosGpioErr_t MYKONOS_getGpioDrv(mykonosDevice_t *device, uint32_t *gpioDrv)
This function gets the GPIOs drive strength.
Definition: mykonos_gpio.c:4914
MYKONOS_getGpio3v3SourceCtrl
mykonosGpioErr_t MYKONOS_getGpio3v3SourceCtrl(mykonosDevice_t *device, uint16_t *gpio3v3SrcCtrl)
Reads the Mykonos 3v3 GPIO source control for different GPIO functionality.
Definition: mykonos_gpio.c:3372
MYK_CMOSPAD_DRV_3X
@ MYK_CMOSPAD_DRV_3X
Definition: t_mykonos_gpio.h:242
MYKONOS_ERR_GETTX1PIN_INC_NULL_PARM
@ MYKONOS_ERR_GETTX1PIN_INC_NULL_PARM
Definition: t_mykonos_gpio.h:69
MYKONOS_ERR_FLOATFRMT_SET_INV_RX1ATT
@ MYKONOS_ERR_FLOATFRMT_SET_INV_RX1ATT
Definition: t_mykonos_gpio.h:158
MYKONOS_ERR_GETRX2PIN_EN_NULL_PARM
@ MYKONOS_ERR_GETRX2PIN_EN_NULL_PARM
Definition: t_mykonos_gpio.h:50
MYKONOS_ERR_TPCTX2_GPIO_DECPIN_INV_PARAM
@ MYKONOS_ERR_TPCTX2_GPIO_DECPIN_INV_PARAM
Definition: t_mykonos_gpio.h:57
MYKONOS_writeAuxDac
mykonosGpioErr_t MYKONOS_writeAuxDac(mykonosDevice_t *device, uint8_t auxDacIndex, uint16_t auxDacCode)
Writes the current AuxDAC code for a particular AuxDAC.
Definition: mykonos_gpio.c:2776
MYKONOS_ERR_GAINCOMP_INV_RX2_OFFSET
@ MYKONOS_ERR_GAINCOMP_INV_RX2_OFFSET
Definition: t_mykonos_gpio.h:116
MYKONOS_getTx2AttenCtrlPin
mykonosGpioErr_t MYKONOS_getTx2AttenCtrlPin(mykonosDevice_t *device, uint8_t *stepSize, mykonosGpioSelect_t *tx2AttenIncPin, mykonosGpioSelect_t *tx2AttenDecPin, uint8_t *enable, uint8_t *useTx1ForTx2)
This API function returns the configuration TX2 attenuation Pin control.
Definition: mykonos_gpio.c:2014
MYKGPIO3
@ MYKGPIO3
Definition: t_mykonos.h:578
MYKONOS_ERR_GETGPIO_OE_NULL_PARM
@ MYKONOS_ERR_GETGPIO_OE_NULL_PARM
Definition: t_mykonos_gpio.h:82
MYKONOS_ERR_SET_ARMGPIO_PINS_INV_GPIOPIN
@ MYKONOS_ERR_SET_ARMGPIO_PINS_INV_GPIOPIN
Definition: t_mykonos_gpio.h:100
MYKONOS_setGpio3v3PinLevel
mykonosGpioErr_t MYKONOS_setGpio3v3PinLevel(mykonosDevice_t *device, uint16_t gpio3v3PinLevel)
If the GPIO3v3 pins are setup for BITBANG mode, this function sets the output pin levels per pin.
Definition: mykonos_gpio.c:3146
MYKONOS_ERR_GPIO_HYBRID_RX1_PIN
@ MYKONOS_ERR_GPIO_HYBRID_RX1_PIN
Definition: t_mykonos_gpio.h:175
MYKONOS_ERR_GETRX1PIN_DECPIN_NULL_PARM
@ MYKONOS_ERR_GETRX1PIN_DECPIN_NULL_PARM
Definition: t_mykonos_gpio.h:54
MYKONOS_ERR_GPIO_OE_INV_PARAM
@ MYKONOS_ERR_GPIO_OE_INV_PARAM
Definition: t_mykonos_gpio.h:83
mykonosObsRxGainComp_t::obsRxOffset
uint8_t obsRxOffset
Definition: t_mykonos_gpio.h:292
MYKONOS_readTempSensor
mykonosGpioErr_t MYKONOS_readTempSensor(mykonosDevice_t *device, mykonosTempSensorStatus_t *tempStatus)
Reads temperature code and statuses from the Temperature Sensor registers.
Definition: mykonos_gpio.c:4755
MYKONOS_ADDR_TX_TPC_CONFIG
#define MYKONOS_ADDR_TX_TPC_CONFIG
Definition: mykonos_macros.h:490
TX1_ENABLE_ACK_SIGNALID
#define TX1_ENABLE_ACK_SIGNALID
Definition: mykonos_macros.h:690
MYKONOS_ADDR_AUX_ADC_SEL
#define MYKONOS_ADDR_AUX_ADC_SEL
Definition: mykonos_macros.h:540
mykonosGpio3v3Mode_t
mykonosGpio3v3Mode_t
Enum to set the GPIO3v3 mode.
Definition: t_mykonos.h:880
MYKONOS_ADDR_TEMP_SENSOR_OFFSET
#define MYKONOS_ADDR_TEMP_SENSOR_OFFSET
Definition: mykonos_macros.h:544
MYKONOS_ADDR_DPD_SNF_RX_SLCR_PIN_CFG
#define MYKONOS_ADDR_DPD_SNF_RX_SLCR_PIN_CFG
Definition: mykonos_macros.h:452
ORX_MODE_0_SIGNALID
#define ORX_MODE_0_SIGNALID
Definition: mykonos_macros.h:685
MYKONOS_ERR_INV_GP_INT_MASK_PARM
@ MYKONOS_ERR_INV_GP_INT_MASK_PARM
Definition: t_mykonos_gpio.h:87
MYKONOS_ADDR_TEMP_SENSOR_CONTROL_LSB
#define MYKONOS_ADDR_TEMP_SENSOR_CONTROL_LSB
Definition: mykonos_macros.h:545
MYKONOS_ERR_GETTX1PIN_DEC_NULL_PARM
@ MYKONOS_ERR_GETTX1PIN_DEC_NULL_PARM
Definition: t_mykonos_gpio.h:70
MYKONOS_ADDR_GPIO_SPI_READ_7_0
#define MYKONOS_ADDR_GPIO_SPI_READ_7_0
Definition: mykonos_macros.h:514
MYKONOS_getCmosDrv
mykonosGpioErr_t MYKONOS_getCmosDrv(mykonosDevice_t *device, mykonosCmosPadDrvStr_t *cmosDrv)
This function gets the programmed CMOS output driver.
Definition: mykonos_gpio.c:5264
ADIHAL_LOG_MESSAGE
@ ADIHAL_LOG_MESSAGE
Definition: common.h:49
MYKONOS_getRx2GainCtrlPin
mykonosGpioErr_t MYKONOS_getRx2GainCtrlPin(mykonosDevice_t *device, uint8_t *incStep, uint8_t *decStep, mykonosGpioSelect_t *rx2GainIncPin, mykonosGpioSelect_t *rx2GainDecPin, uint8_t *enable)
This API function returns the configuration RX2 gain Pin control.
Definition: mykonos_gpio.c:913
MYKONOS_getRxHybridGainChangePin
mykonosGpioErr_t MYKONOS_getRxHybridGainChangePin(mykonosDevice_t *device, mykonosGpioSelect_t *rx1GainChangePin, mykonosGpioSelect_t *rx2GainChangePin)
This API function gets the pin configuration for hybrid gain control of RX1 and RX2.
Definition: mykonos_gpio.c:1115
MYKONOS_ADDR_AUX_ADC_CFG
#define MYKONOS_ADDR_AUX_ADC_CFG
Definition: mykonos_macros.h:537
MYKONOS_setGpio3v3PinLevel
mykonosGpioErr_t MYKONOS_setGpio3v3PinLevel(mykonosDevice_t *device, uint16_t gpio3v3PinLevel)
If the GPIO3v3 pins are setup for BITBANG mode, this function sets the output pin levels per pin.
Definition: mykonos_gpio.c:3146
RX2_ENABLE_ACK_SIGNALID
#define RX2_ENABLE_ACK_SIGNALID
Definition: mykonos_macros.h:689
MYKGPIO2
@ MYKGPIO2
Definition: t_mykonos.h:577
MYKONOS_GPIO_SLEW_CTL_3
#define MYKONOS_GPIO_SLEW_CTL_3
Definition: mykonos_macros.h:30
MYKONOS_spi2GpioSetup
mykonosGpioErr_t MYKONOS_spi2GpioSetup(mykonosDevice_t *device, uint8_t enable, uint8_t updateTxAttenPinSelect)
This API function configures and enables the secondary SPI port.
Definition: mykonos_gpio.c:5329
MYKONOS_readTempSensor
mykonosGpioErr_t MYKONOS_readTempSensor(mykonosDevice_t *device, mykonosTempSensorStatus_t *tempStatus)
Reads temperature code and statuses from the Temperature Sensor registers.
Definition: mykonos_gpio.c:4755
GPIO_5_6_7
@ GPIO_5_6_7
Definition: t_mykonos_gpio.h:210
MYKONOS_getGpio3v3SetLevel
mykonosGpioErr_t MYKONOS_getGpio3v3SetLevel(mykonosDevice_t *device, uint16_t *gpio3v3SetLevel)
Reads the Mykonos 3.3 VDC GPIO pin output levels for BITBANG mode.
Definition: mykonos_gpio.c:3175
MYKONOS_ADDR_AUX_ADC_BUFFER_CONFIG_0
#define MYKONOS_ADDR_AUX_ADC_BUFFER_CONFIG_0
Definition: mykonos_macros.h:541
t_mykonos_gpio.h
Mykonos GPIO error handling and type defines.
MYKONOS_ERR_SET_GPIO_3V3_INV_MODE
@ MYKONOS_ERR_SET_GPIO_3V3_INV_MODE
Definition: t_mykonos_gpio.h:94
MYKONOS_ERR_SLICER_EN_INV
@ MYKONOS_ERR_SLICER_EN_INV
Definition: t_mykonos_gpio.h:130
MYKONOS_setupGpio
mykonosGpioErr_t MYKONOS_setupGpio(mykonosDevice_t *device)
Sets the Mykonos low voltage GPIO configuration registers.
Definition: mykonos_gpio.c:2835
MYKONOS_VERBOSE
#define MYKONOS_VERBOSE
Definition: mykonos_user.h:24
mykonos_user.h
Contains macro definitions and global structure declarations for mykonos_user.c.
MYKONOS_ERR_FLOATFRMT_NULL_RX1ATT
@ MYKONOS_ERR_FLOATFRMT_NULL_RX1ATT
Definition: t_mykonos_gpio.h:154
MYKONOS_ERR_GETRX1PIN_INCPIN_NULL_PARM
@ MYKONOS_ERR_GETRX1PIN_INCPIN_NULL_PARM
Definition: t_mykonos_gpio.h:53
CMB_SPIWriteByte
commonErr_t CMB_SPIWriteByte(spiSettings_t *spiSettings, uint16_t addr, uint8_t data)
Definition: common.c:173
MYKONOS_ERR_MGCRX1_GPIO_INCPIN_INV_PARAM
@ MYKONOS_ERR_MGCRX1_GPIO_INCPIN_INV_PARAM
Definition: t_mykonos_gpio.h:44
MYKONOS_ERR_SET_ARMGPIO_PINS_INV_SIGNALID
@ MYKONOS_ERR_SET_ARMGPIO_PINS_INV_SIGNALID
Definition: t_mykonos_gpio.h:99
mykonosFloatPntFrmt_t::encNan
uint8_t encNan
Definition: t_mykonos_gpio.h:327
MYKONOS_ERR_SLICER_OBS_RXPIN_NULL_PARM
@ MYKONOS_ERR_SLICER_OBS_RXPIN_NULL_PARM
Definition: t_mykonos_gpio.h:142
MYKONOS_ERR_GETGPIO3V3SPI_NULL_PARM
@ MYKONOS_ERR_GETGPIO3V3SPI_NULL_PARM
Definition: t_mykonos_gpio.h:92
mykonosGpioErr_t
mykonosGpioErr_t
Enum of unique error codes from the Mykonos GPIO API functions. Each error condition in the library s...
Definition: t_mykonos_gpio.h:30
MYKONOS_ERR_GAINCOMP_NULL_STRUCT
@ MYKONOS_ERR_GAINCOMP_NULL_STRUCT
Definition: t_mykonos_gpio.h:112
MYKONOS_getGpio3v3SetLevel
mykonosGpioErr_t MYKONOS_getGpio3v3SetLevel(mykonosDevice_t *device, uint16_t *gpio3v3SetLevel)
Reads the Mykonos 3.3 VDC GPIO pin output levels for BITBANG mode.
Definition: mykonos_gpio.c:3175
MYKONOS_ADDR_GPIO_3V3_SPI_SRC_15_8
#define MYKONOS_ADDR_GPIO_3V3_SPI_SRC_15_8
Definition: mykonos_macros.h:502
MYKONOS_getGpio3v3PinLevel
mykonosGpioErr_t MYKONOS_getGpio3v3PinLevel(mykonosDevice_t *device, uint16_t *gpio3v3PinLevel)
Reads the Mykonos 3.3 VDC GPIO pin levels for BITBANG mode.
Definition: mykonos_gpio.c:3217
MYKONOS_setupTempSensor
mykonosGpioErr_t MYKONOS_setupTempSensor(mykonosDevice_t *device, mykonosTempSensorConfig_t *tempSensor)
Sets up the Temperature Sensor.
Definition: mykonos_gpio.c:4551
MYK_AUXADC_0
@ MYK_AUXADC_0
Definition: t_mykonos_gpio.h:253
MYKONOS_ERR_MGCRX2_STEP_INV_PARAM
@ MYKONOS_ERR_MGCRX2_STEP_INV_PARAM
Definition: t_mykonos_gpio.h:42
MYKONOS_setGpio3v3SourceCtrl
mykonosGpioErr_t MYKONOS_setGpio3v3SourceCtrl(mykonosDevice_t *device, uint16_t gpio3v3SrcCtrl)
Sets the Mykonos GPIO 3.3 VDC source control for different GPIO fucntionality.
Definition: mykonos_gpio.c:3330
MYKONOS_ADDR_FLOATING_POINT_CFG
#define MYKONOS_ADDR_FLOATING_POINT_CFG
Definition: mykonos_macros.h:454
MYKONOS_getGpio3v3SourceCtrl
mykonosGpioErr_t MYKONOS_getGpio3v3SourceCtrl(mykonosDevice_t *device, uint16_t *gpio3v3SrcCtrl)
Reads the Mykonos 3v3 GPIO source control for different GPIO functionality.
Definition: mykonos_gpio.c:3372
MYKONOS_getGpioSourceCtrl
mykonosGpioErr_t MYKONOS_getGpioSourceCtrl(mykonosDevice_t *device, uint32_t *gpioSrcCtrl)
Reads the Mykonos GPIO source control for different GPIO functionality.
Definition: mykonos_gpio.c:3051
MYKONOS_ADDR_AUX_ADC_READ_MSB
#define MYKONOS_ADDR_AUX_ADC_READ_MSB
Definition: mykonos_macros.h:538
MYKGPIO4
@ MYKGPIO4
Definition: t_mykonos.h:579
MYKONOS_ERR_MONITOR_OUT_INDEX_RANGE
@ MYKONOS_ERR_MONITOR_OUT_INDEX_RANGE
Definition: t_mykonos_gpio.h:35
MYKONOS_setupGpio
mykonosGpioErr_t MYKONOS_setupGpio(mykonosDevice_t *device)
Sets the Mykonos low voltage GPIO configuration registers.
Definition: mykonos_gpio.c:2835
mykonosCmosPadDrvStr_t
mykonosCmosPadDrvStr_t
Enumerated list of CMOS pads drive strength options.
Definition: t_mykonos_gpio.h:238
MYKONOS_ADDR_GP_INTERRUPT_MASK_0
#define MYKONOS_ADDR_GP_INTERRUPT_MASK_0
Definition: mykonos_macros.h:525
MYKONOS_ADDR_AUX_ADC_BUFFER_CONFIG_1
#define MYKONOS_ADDR_AUX_ADC_BUFFER_CONFIG_1
Definition: mykonos_macros.h:542
MYKONOS_ADDR_GPIO_3V3_DIR_CTL_15_8
#define MYKONOS_ADDR_GPIO_3V3_DIR_CTL_15_8
Definition: mykonos_macros.h:500
MYKONOS_setTx2AttenCtrlPin
mykonosGpioErr_t MYKONOS_setTx2AttenCtrlPin(mykonosDevice_t *device, uint8_t stepSize, mykonosGpioSelect_t tx2AttenIncPin, mykonosGpioSelect_t tx2AttenDecPin, uint8_t enable)
This API function configures the GPIO inputs for controlling Tx attenuation settings.
Definition: mykonos_gpio.c:1915
MYKONOS_ERR_MGCRX1_GPIO_DECPIN_INV_PARAM
@ MYKONOS_ERR_MGCRX1_GPIO_DECPIN_INV_PARAM
Definition: t_mykonos_gpio.h:43
MYKGPIONAN
@ MYKGPIONAN
Definition: t_mykonos.h:574
MYKONOS_setArmGpioPins
mykonosGpioErr_t MYKONOS_setArmGpioPins(mykonosDevice_t *device)
Sets the input and output GPIO pin selections for ARM related signals.
Definition: mykonos_gpio.c:2355
MYKONOS_setGpioDrv
mykonosGpioErr_t MYKONOS_setGpioDrv(mykonosDevice_t *device, uint32_t gpioDrv)
This function sets the drive strength for the required GPIOs.
Definition: mykonos_gpio.c:4829
MYKONOS_ADDR_GPIO_3V3_DIR_CTL_7_0
#define MYKONOS_ADDR_GPIO_3V3_DIR_CTL_7_0
Definition: mykonos_macros.h:499
CMB_SPIReadField
commonErr_t CMB_SPIReadField(spiSettings_t *spiSettings, uint16_t addr, uint8_t *field_val, uint8_t mask, uint8_t start_bit)
Definition: common.c:236
MYKONOS_setupAuxAdcs
mykonosGpioErr_t MYKONOS_setupAuxAdcs(mykonosDevice_t *device, uint8_t adcDecimation, uint8_t enable)
Sets up the auxiliary ADC.
Definition: mykonos_gpio.c:2505
MYKGPIO8
@ MYKGPIO8
Definition: t_mykonos.h:583
MYKONOS_getGpioPinLevel
mykonosGpioErr_t MYKONOS_getGpioPinLevel(mykonosDevice_t *device, uint32_t *gpioPinLevel)
Reads the Mykonos low voltage GPIO pin levels and returns their contents in a single 32-bit word.
Definition: mykonos_gpio.c:2150
MYKONOS_ERR_INV_AUX_ADC_DEC_PARM
@ MYKONOS_ERR_INV_AUX_ADC_DEC_PARM
Definition: t_mykonos_gpio.h:110
GPIO_16_15_14
@ GPIO_16_15_14
Definition: t_mykonos_gpio.h:221
MYKONOS_setGpioOe
mykonosGpioErr_t MYKONOS_setGpioOe(mykonosDevice_t *device, uint32_t gpioOutEn, uint32_t gpioUsedMask)
Sets the Mykonos low voltage GPIO output pins direction.
Definition: mykonos_gpio.c:2902
MYKONOS_getGpioSourceCtrl
mykonosGpioErr_t MYKONOS_getGpioSourceCtrl(mykonosDevice_t *device, uint32_t *gpioSrcCtrl)
Reads the Mykonos GPIO source control for different GPIO functionality.
Definition: mykonos_gpio.c:3051
TX_OBS_SELECT_SIGNALID
#define TX_OBS_SELECT_SIGNALID
Definition: mykonos_macros.h:695
MYKONOS_ERR_OBS_GAIN_CONTROL_NOT_AGC
@ MYKONOS_ERR_OBS_GAIN_CONTROL_NOT_AGC
Definition: t_mykonos_gpio.h:190
MYKONOS_ADDR_AGC_MANUAL_GAIN_CFG
#define MYKONOS_ADDR_AGC_MANUAL_GAIN_CFG
Definition: mykonos_macros.h:250
VCODIV_1
@ VCODIV_1
Definition: t_mykonos.h:695
MYKONOS_getRxHybridGainChangePin
mykonosGpioErr_t MYKONOS_getRxHybridGainChangePin(mykonosDevice_t *device, mykonosGpioSelect_t *rx1GainChangePin, mykonosGpioSelect_t *rx2GainChangePin)
This API function gets the pin configuration for hybrid gain control of RX1 and RX2.
Definition: mykonos_gpio.c:1115
MYKONOS_ERR_OBS_RX_GAINCOMP_INV_OFFSET
@ MYKONOS_ERR_OBS_RX_GAINCOMP_INV_OFFSET
Definition: t_mykonos_gpio.h:123
MYKONOS_setTx1AttenCtrlPin
mykonosGpioErr_t MYKONOS_setTx1AttenCtrlPin(mykonosDevice_t *device, uint8_t stepSize, mykonosGpioSelect_t tx1AttenIncPin, mykonosGpioSelect_t tx1AttenDecPin, uint8_t enable, uint8_t useTx1ForTx2)
This API function configures the GPIO inputs for controlling Tx attenuation settings.
Definition: mykonos_gpio.c:1683
MYKONOS_ERR_SETUPAUXDAC_INV_AUXDACCODE
@ MYKONOS_ERR_SETUPAUXDAC_INV_AUXDACCODE
Definition: t_mykonos_gpio.h:105
MYKONOS_ADDR_SOURCE_CONTROL_UPPER_BYTE
#define MYKONOS_ADDR_SOURCE_CONTROL_UPPER_BYTE
Definition: mykonos_macros.h:518
MYKONOS_ERR_SETUPTEMPSENSOR_INV_OFFSET
@ MYKONOS_ERR_SETUPTEMPSENSOR_INV_OFFSET
Definition: t_mykonos_gpio.h:168
MYKONOS_ERR_SLICER_OBS_RX_STEP_NULL_PARM
@ MYKONOS_ERR_SLICER_OBS_RX_STEP_NULL_PARM
Definition: t_mykonos_gpio.h:141
MYKONOS_ADDR_GPIO_DIR_CTL_15_8
#define MYKONOS_ADDR_GPIO_DIR_CTL_15_8
Definition: mykonos_macros.h:509
mykonosFloatPntFrmt_t::roundMode
uint8_t roundMode
Definition: t_mykonos_gpio.h:315
MYKONOS_ERR_FLOATFRMT_SET_NULL_STRUCT
@ MYKONOS_ERR_FLOATFRMT_SET_NULL_STRUCT
Definition: t_mykonos_gpio.h:145
MYKGPIO0
@ MYKGPIO0
Definition: t_mykonos.h:575
MYKONOS_getObsRxSlicerCtrl
mykonosGpioErr_t MYKONOS_getObsRxSlicerCtrl(mykonosDevice_t *device, uint8_t *slicerStep, mykonosObsRxSlicer_t *obsRxPins, uint8_t *enable)
This function will get the programmed Slicer control for observation channel.
Definition: mykonos_gpio.c:4027
MYKONOS_getCmosDrv
mykonosGpioErr_t MYKONOS_getCmosDrv(mykonosDevice_t *device, mykonosCmosPadDrvStr_t *spiDrv)
This function gets the programmed CMOS output driver.
Definition: mykonos_gpio.c:5264
MYKONOS_ERR_SLICER_RX1PIN_NULL_PARM
@ MYKONOS_ERR_SLICER_RX1PIN_NULL_PARM
Definition: t_mykonos_gpio.h:132
MYKONOS_startTempMeasurement
mykonosGpioErr_t MYKONOS_startTempMeasurement(mykonosDevice_t *device)
Initiates temperature measurement.
Definition: mykonos_gpio.c:4701
MYKONOS_ERR_FLOATFRMT_NULL_ENABLE
@ MYKONOS_ERR_FLOATFRMT_NULL_ENABLE
Definition: t_mykonos_gpio.h:156
MYKONOS_ERR_SLICER_EN_NULL_PARM
@ MYKONOS_ERR_SLICER_EN_NULL_PARM
Definition: t_mykonos_gpio.h:135
MYKGPIO15
@ MYKGPIO15
Definition: t_mykonos.h:590
MYKONOS_ADDR_GPIO_3V3_MSB_SRC_CTL
#define MYKONOS_ADDR_GPIO_3V3_MSB_SRC_CTL
Definition: mykonos_macros.h:506
MYKONOS_ERR_SET_GPIO_1V8_INV_POINTER
@ MYKONOS_ERR_SET_GPIO_1V8_INV_POINTER
Definition: t_mykonos_gpio.h:77
MYKONOS_ERR_OBS_RX_GAINCOMP_INV_EN
@ MYKONOS_ERR_OBS_RX_GAINCOMP_INV_EN
Definition: t_mykonos_gpio.h:122
MYKONOS_ERR_FLOATFRMT_INV_ROUND_MODE
@ MYKONOS_ERR_FLOATFRMT_INV_ROUND_MODE
Definition: t_mykonos_gpio.h:146
MYKONOS_ADDR_PDAUXDAC_MANUAL_IN_5_0
#define MYKONOS_ADDR_PDAUXDAC_MANUAL_IN_5_0
Definition: mykonos_macros.h:531
MYKONOS_setRx1GainCtrlPin
mykonosGpioErr_t MYKONOS_setRx1GainCtrlPin(mykonosDevice_t *device, uint8_t incStep, uint8_t decStep, mykonosGpioSelect_t rx1GainIncPin, mykonosGpioSelect_t rx1GainDecPin, uint8_t enable)
This API function configures the GPIO inputs for controlling RX gain.
Definition: mykonos_gpio.c:617
MYKONOS_getObsRxHybridGainChangePin
mykonosGpioErr_t MYKONOS_getObsRxHybridGainChangePin(mykonosDevice_t *device, mykonosGpioSelect_t *obsRxGainChangePin)
This API function gets the pin configuration for hybrid gain control of observation channel.
Definition: mykonos_gpio.c:1276
MYKONOS_ERR_GETGPIOMON_INDEX_NULL_PARM
@ MYKONOS_ERR_GETGPIOMON_INDEX_NULL_PARM
Definition: t_mykonos_gpio.h:36
MYKONOS_setOrxEnFloatPntFrmt
mykonosGpioErr_t MYKONOS_setOrxEnFloatPntFrmt(mykonosDevice_t *device, uint8_t orxAtt, uint8_t enable)
Floating point formatter enable function for ORx channel.
Definition: mykonos_gpio.c:4429
MYKONOS_setupTempSensor
mykonosGpioErr_t MYKONOS_setupTempSensor(mykonosDevice_t *device, mykonosTempSensorConfig_t *tempSensor)
Sets up the Temperature Sensor.
Definition: mykonos_gpio.c:4551
MYKONOS_getGpioSlewRate
mykonosGpioErr_t MYKONOS_getGpioSlewRate(mykonosDevice_t *device, mykonosGpioSelect_t gpioSelect, mykonosGpioSlewRate_t *slewRate)
This function gets the GPIO slew rate setting.
Definition: mykonos_gpio.c:5116
mykonosTempSensorStatus_t
Data structure used to store Temperature Sensor related values.
Definition: t_mykonos_gpio.h:360
MYKONOS_setRx2GainCtrlPin
mykonosGpioErr_t MYKONOS_setRx2GainCtrlPin(mykonosDevice_t *device, uint8_t incStep, uint8_t decStep, mykonosGpioSelect_t rx2GainIncPin, mykonosGpioSelect_t rx2GainDecPin, uint8_t enable)
This API function configures the GPIO inputs for controlling RX gain.
Definition: mykonos_gpio.c:825
MYKONOS_GPIO_DRV_CTL_1
#define MYKONOS_GPIO_DRV_CTL_1
Definition: mykonos_macros.h:26
MYKONOS_getGpio3v3Oe
mykonosGpioErr_t MYKONOS_getGpio3v3Oe(mykonosDevice_t *device, uint16_t *gpio3v3OutEn)
Reads the Mykonos 3.3 VDC GPIO pin direction.
Definition: mykonos_gpio.c:3289
MYKONOS_setGpio3v3SourceCtrl
mykonosGpioErr_t MYKONOS_setGpio3v3SourceCtrl(mykonosDevice_t *device, uint16_t gpio3v3SrcCtrl)
Sets the Mykonos GPIO 3.3 VDC source control for different GPIO fucntionality.
Definition: mykonos_gpio.c:3330
MYKONOS_setGpioSourceCtrl
mykonosGpioErr_t MYKONOS_setGpioSourceCtrl(mykonosDevice_t *device, uint32_t gpioSrcCtrl)
Sets the Mykonos GPIO source control for different GPIO functionality.
Definition: mykonos_gpio.c:3006
MYKONOS_setObsRxSlicerCtrl
mykonosGpioErr_t MYKONOS_setObsRxSlicerCtrl(mykonosDevice_t *device, uint8_t slicerStep, mykonosObsRxSlicer_t obsRxPins, uint8_t enable)
Slicer control over GPIO inputs for the observation channel.
Definition: mykonos_gpio.c:3954
CMB_SPIWriteField
commonErr_t CMB_SPIWriteField(spiSettings_t *spiSettings, uint16_t addr, uint8_t field_val, uint8_t mask, uint8_t start_bit)
Definition: common.c:219
MYK_AUXADC_0_DIV2
@ MYK_AUXADC_0_DIV2
Definition: t_mykonos_gpio.h:257
MYKONOS_ERR_WRITEAUXDAC_INV_AUXDACINDEX
@ MYKONOS_ERR_WRITEAUXDAC_INV_AUXDACINDEX
Definition: t_mykonos_gpio.h:107
MYKONOS_GPIO_SLEW_CTL_0
#define MYKONOS_GPIO_SLEW_CTL_0
Definition: mykonos_macros.h:27
MYKGPIO13
@ MYKGPIO13
Definition: t_mykonos.h:588
MYKONOS_ERR_GAINCOMP_INV_RX1_OFFSET
@ MYKONOS_ERR_GAINCOMP_INV_RX1_OFFSET
Definition: t_mykonos_gpio.h:115
MYKONOS_ERR_FLOATFRMT_INV_RX1ATT
@ MYKONOS_ERR_FLOATFRMT_INV_RX1ATT
Definition: t_mykonos_gpio.h:151
MYKONOS_getRx2GainCtrlPin
mykonosGpioErr_t MYKONOS_getRx2GainCtrlPin(mykonosDevice_t *device, uint8_t *incStep, uint8_t *decStep, mykonosGpioSelect_t *rx2GainIncPin, mykonosGpioSelect_t *rx2GainDecPin, uint8_t *enable)
This API function returns the configuration RX2 gain Pin control.
Definition: mykonos_gpio.c:913
MYKONOS_setObsRxHybridGainChangePin
mykonosGpioErr_t MYKONOS_setObsRxHybridGainChangePin(mykonosDevice_t *device, mykonosGpioSelect_t obsRxGainChangePin)
This API function set the pins for hybrid gain control.
Definition: mykonos_gpio.c:1214
MYKONOS_setupAuxDacs
mykonosGpioErr_t MYKONOS_setupAuxDacs(mykonosDevice_t *device)
Sets up the 10 AuxDACs on the Mykonos device.
Definition: mykonos_gpio.c:2696
MYKONOS_setArmGpioPins
mykonosGpioErr_t MYKONOS_setArmGpioPins(mykonosDevice_t *device)
Sets the input and output GPIO pin selections for ARM related signals.
Definition: mykonos_gpio.c:2355
MYKONOS_ERR_READTEMPSENSOR_NULL_PARAM
@ MYKONOS_ERR_READTEMPSENSOR_NULL_PARAM
Definition: t_mykonos_gpio.h:171
MYKONOS_ERR_READAUXADC_NULL_PARAM
@ MYKONOS_ERR_READAUXADC_NULL_PARAM
Definition: t_mykonos_gpio.h:104
MYKONOS_setOrxEnFloatPntFrmt
mykonosGpioErr_t MYKONOS_setOrxEnFloatPntFrmt(mykonosDevice_t *device, uint8_t orxAtt, uint8_t enable)
Floating point formatter enable function for ORx channel.
Definition: mykonos_gpio.c:4429
MYKONOS_ERR_GAIN_CONTROL_NOT_AGC
@ MYKONOS_ERR_GAIN_CONTROL_NOT_AGC
Definition: t_mykonos_gpio.h:185
VCODIV_3
@ VCODIV_3
Definition: t_mykonos.h:698
MYKONOS_getGpioSlewRate
mykonosGpioErr_t MYKONOS_getGpioSlewRate(mykonosDevice_t *device, mykonosGpioSelect_t gpioSelect, mykonosGpioSlewRate_t *slewRate)
This function gets the GPIO slew rate setting.
Definition: mykonos_gpio.c:5116
MYKONOS_ERR_GPIO_AGC_SYNC_ORX_PIN
@ MYKONOS_ERR_GPIO_AGC_SYNC_ORX_PIN
Definition: t_mykonos_gpio.h:191
MYKONOS_setGpioPinLevel
mykonosGpioErr_t MYKONOS_setGpioPinLevel(mykonosDevice_t *device, uint32_t gpioPinLevel)
Sets the Mykonos low voltage GPIO output pins level.
Definition: mykonos_gpio.c:2116
MYKONOS_ADDR_AGC_GAIN_CHANGE_GPIO_SEL
#define MYKONOS_ADDR_AGC_GAIN_CHANGE_GPIO_SEL
Definition: mykonos_macros.h:247
MYKONOS_ADDR_GP_INTERRUPT_READ_0
#define MYKONOS_ADDR_GP_INTERRUPT_READ_0
Definition: mykonos_macros.h:527
MYKONOS_ERR_SETUPAUXDAC_NULL_PARAM
@ MYKONOS_ERR_SETUPAUXDAC_NULL_PARAM
Definition: t_mykonos_gpio.h:102
MYKONOS_setGpioOe
mykonosGpioErr_t MYKONOS_setGpioOe(mykonosDevice_t *device, uint32_t gpioOutEn, uint32_t gpioUsedMask)
Sets the Mykonos low voltage GPIO output pins direction.
Definition: mykonos_gpio.c:2902
MYKONOS_GPIO_SLEW_CTL_2
#define MYKONOS_GPIO_SLEW_CTL_2
Definition: mykonos_macros.h:29
MYKONOS_getTempSensorConfig
mykonosGpioErr_t MYKONOS_getTempSensorConfig(mykonosDevice_t *device, mykonosTempSensorConfig_t *tempSensor)
Reads from the Temperature Sensor registers and populates device data structure.
Definition: mykonos_gpio.c:4644
MYKONOS_ADDR_GPIO_MONITOR_ENABLE
#define MYKONOS_ADDR_GPIO_MONITOR_ENABLE
Definition: mykonos_macros.h:522
MYKONOS_setGpio3v3Oe
mykonosGpioErr_t MYKONOS_setGpio3v3Oe(mykonosDevice_t *device, uint16_t gpio3v3OutEn)
This function sets the Pin direction control for the Mykonos 3.3 VDC GPIO.
Definition: mykonos_gpio.c:3257
MYKONOS_ADDR_PDAUXDAC_MANUAL_IN_9_6
#define MYKONOS_ADDR_PDAUXDAC_MANUAL_IN_9_6
Definition: mykonos_macros.h:532
ORX1_ENABLE_ACK_SIGNALID
#define ORX1_ENABLE_ACK_SIGNALID
Definition: mykonos_macros.h:692
MYKONOS_ERR_GPIO_GETSLEW_NULL_PARAM
@ MYKONOS_ERR_GPIO_GETSLEW_NULL_PARAM
Definition: t_mykonos_gpio.h:198
MYKONOS_ERR_SETUPAUXADC_INV_VCODIV
@ MYKONOS_ERR_SETUPAUXADC_INV_VCODIV
Definition: t_mykonos_gpio.h:109
MYK_CMOSPAD_DRV_5X
@ MYK_CMOSPAD_DRV_5X
Definition: t_mykonos_gpio.h:244
MYKONOS_setGpioSlewRate
mykonosGpioErr_t MYKONOS_setGpioSlewRate(mykonosDevice_t *device, mykonosGpioSelect_t gpioSelect, mykonosGpioSlewRate_t slewRate)
This function sets the slew rate for the required GPIOs.
Definition: mykonos_gpio.c:5002
MYKONOS_setTx1AttenCtrlPin
mykonosGpioErr_t MYKONOS_setTx1AttenCtrlPin(mykonosDevice_t *device, uint8_t stepSize, mykonosGpioSelect_t tx1AttenIncPin, mykonosGpioSelect_t tx1AttenDecPin, uint8_t enable, uint8_t useTx1ForTx2)
This API function configures the GPIO inputs for controlling Tx attenuation settings.
Definition: mykonos_gpio.c:1683
MYKONOS_ERR_GETTX2PIN_DEC_NULL_PARM
@ MYKONOS_ERR_GETTX2PIN_DEC_NULL_PARM
Definition: t_mykonos_gpio.h:65
GPIO_18_17_16
@ GPIO_18_17_16
Definition: t_mykonos_gpio.h:220
TX2_ENABLE_ACK_SIGNALID
#define TX2_ENABLE_ACK_SIGNALID
Definition: mykonos_macros.h:691
MYKONOS_ERR_GPIO_HYBRID_ORX_PIN_NULL_PARM
@ MYKONOS_ERR_GPIO_HYBRID_ORX_PIN_NULL_PARM
Definition: t_mykonos_gpio.h:183
MYKONOS_ERR_SLICER_OBS_RX_EN_INV
@ MYKONOS_ERR_SLICER_OBS_RX_EN_INV
Definition: t_mykonos_gpio.h:139
MYKONOS_ERR_SET_ARMGPIO_INV_POINTER
@ MYKONOS_ERR_SET_ARMGPIO_INV_POINTER
Definition: t_mykonos_gpio.h:97
MYKONOS_setObsRxGainCompensation
mykonosGpioErr_t MYKONOS_setObsRxGainCompensation(mykonosDevice_t *device, mykonosObsRxGainComp_t *gainComp, uint8_t enable)
Gain compensation enable and setup function for the observation channel.
Definition: mykonos_gpio.c:3579
MYKONOS_setGpioPinLevel
mykonosGpioErr_t MYKONOS_setGpioPinLevel(mykonosDevice_t *device, uint32_t gpioPinLevel)
Sets the Mykonos low voltage GPIO output pins level.
Definition: mykonos_gpio.c:2116
MYKONOS_ERR_FLOATFRMT_INV_ORXATT
@ MYKONOS_ERR_FLOATFRMT_INV_ORXATT
Definition: t_mykonos_gpio.h:161
MYKONOS_setGpio3v3Oe
mykonosGpioErr_t MYKONOS_setGpio3v3Oe(mykonosDevice_t *device, uint16_t gpio3v3OutEn)
This function sets the Pin direction control for the Mykonos 3.3 VDC GPIO.
Definition: mykonos_gpio.c:3257
MYKONOS_ADDR_GPIO_3V3_LSB_SRC_CTL
#define MYKONOS_ADDR_GPIO_3V3_LSB_SRC_CTL
Definition: mykonos_macros.h:505
MYKONOS_ADDR_AGC_MANUAL_GAIN_GPIO_SEL
#define MYKONOS_ADDR_AGC_MANUAL_GAIN_GPIO_SEL
Definition: mykonos_macros.h:251
mykonosTempSensorStatus_t::tempValid
uint8_t tempValid
Definition: t_mykonos_gpio.h:367
MYKONOS_ERR_SLICER_INV_RX2_SEL
@ MYKONOS_ERR_SLICER_INV_RX2_SEL
Definition: t_mykonos_gpio.h:129
MYKONOS_ERR_GETTX2PIN_TX1TX2_NULL_PARM
@ MYKONOS_ERR_GETTX2PIN_TX1TX2_NULL_PARM
Definition: t_mykonos_gpio.h:67
MYKONOS_ERR_SET_GPIO_3V3_INV_POINTER
@ MYKONOS_ERR_SET_GPIO_3V3_INV_POINTER
Definition: t_mykonos_gpio.h:91
mykonosGpioSelect_t
mykonosGpioSelect_t
Enum for Mykonos low voltage GPIO available pins.
Definition: t_mykonos.h:572
MYKONOS_getGpioSetLevel
mykonosGpioErr_t MYKONOS_getGpioSetLevel(mykonosDevice_t *device, uint32_t *gpioPinSetLevel)
Reads the Mykonos GPIO pin output levels for BITBANG mode.
Definition: mykonos_gpio.c:2193
MYKONOS_setGpioDrv
mykonosGpioErr_t MYKONOS_setGpioDrv(mykonosDevice_t *device, uint32_t gpioDrv)
This function sets the drive strength for the required GPIOs.
Definition: mykonos_gpio.c:4829
MYKONOS_setCmosDrv
mykonosGpioErr_t MYKONOS_setCmosDrv(mykonosDevice_t *device, mykonosCmosPadDrvStr_t cmosDrv)
This function sets the CMOS output driver.
Definition: mykonos_gpio.c:5222
MYKONOS_setupAuxAdcs
mykonosGpioErr_t MYKONOS_setupAuxAdcs(mykonosDevice_t *device, uint8_t adcDecimation, uint8_t enable)
Sets up the auxiliary ADC.
Definition: mykonos_gpio.c:2505
MYKONOS_ERR_SLICER_OBS_RX_STEP_OUT_OF_RANGE
@ MYKONOS_ERR_SLICER_OBS_RX_STEP_OUT_OF_RANGE
Definition: t_mykonos_gpio.h:138
MYKONOS_ADDR_GPIO_3V3_SPI_READ_15_8
#define MYKONOS_ADDR_GPIO_3V3_SPI_READ_15_8
Definition: mykonos_macros.h:504
MYKGPIO17
@ MYKGPIO17
Definition: t_mykonos.h:592
VCODIV_1p5
@ VCODIV_1p5
Definition: t_mykonos.h:696
MYKONOS_ERR_GAIN_CONTROL_NOT_HYBRID
@ MYKONOS_ERR_GAIN_CONTROL_NOT_HYBRID
Definition: t_mykonos_gpio.h:174
MYKONOS_setObsRxGainCompensation
mykonosGpioErr_t MYKONOS_setObsRxGainCompensation(mykonosDevice_t *device, mykonosObsRxGainComp_t *gainComp, uint8_t enable)
Gain compensation enable and setup function for the observation channel.
Definition: mykonos_gpio.c:3579
MYKONOS_getObsRxGainCompensation
mykonosGpioErr_t MYKONOS_getObsRxGainCompensation(mykonosDevice_t *device, mykonosObsRxGainComp_t *gainComp, uint8_t *enabled)
Get gain compensation setup and enabled function for the observation channel.
Definition: mykonos_gpio.c:3660
mykonos_macros.h
Contains address and miscellaneous macro definitions for Mykonos API.
MYKONOS_ERR_GETTX2PIN_EN_NULL_PARM
@ MYKONOS_ERR_GETTX2PIN_EN_NULL_PARM
Definition: t_mykonos_gpio.h:66
mykonosDevice_t
Data structure to hold Mykonos device settings.
Definition: t_mykonos.h:1695
mykonosObsRxSlicer_t
mykonosObsRxSlicer_t
Enum of possible observation channel Slicer pin combinations.
Definition: t_mykonos_gpio.h:218
MYKONOS_getObsRxAgcEnSyncPin
mykonosGpioErr_t MYKONOS_getObsRxAgcEnSyncPin(mykonosDevice_t *device, mykonosGpioSelect_t *obsRxAgcSyncPin)
This API function gets the pin configuration for AGC Sync gain control of observation channel.
Definition: mykonos_gpio.c:1599
MYKONOS_setRxAgcEnSyncPin
mykonosGpioErr_t MYKONOS_setRxAgcEnSyncPin(mykonosDevice_t *device, mykonosGpioSelect_t rx1AgcSyncPin, mykonosGpioSelect_t rx2AgcSyncPin)
This API function set the pins for sync AGC gain control.
Definition: mykonos_gpio.c:1353
MYKONOS_ADDR_PDAUXDAC_MANUAL_CONTROL_5_0
#define MYKONOS_ADDR_PDAUXDAC_MANUAL_CONTROL_5_0
Definition: mykonos_macros.h:529
SRX_ENABLE_ACK_SIGNALID
#define SRX_ENABLE_ACK_SIGNALID
Definition: mykonos_macros.h:694
MYKONOS_ERR_SET_GPIO_3V3_INV_SRC_CTRL
@ MYKONOS_ERR_SET_GPIO_3V3_INV_SRC_CTRL
Definition: t_mykonos_gpio.h:95
GPIO_8_9_10
@ GPIO_8_9_10
Definition: t_mykonos_gpio.h:211
MYKONOS_getTx2AttenCtrlPin
mykonosGpioErr_t MYKONOS_getTx2AttenCtrlPin(mykonosDevice_t *device, uint8_t *stepSize, mykonosGpioSelect_t *tx2AttenIncPin, mykonosGpioSelect_t *tx2AttenDecPin, uint8_t *enable, uint8_t *useTx1ForTx2)
This API function returns the configuration TX2 attenuation Pin control.
Definition: mykonos_gpio.c:2014
mykonosGainComp_t
Data structure to hold Gain compensation settings for the main receive channels.
Definition: t_mykonos_gpio.h:265
MYKONOS_ADDR_TEMP_SENSOR_CONTROL_MSB
#define MYKONOS_ADDR_TEMP_SENSOR_CONTROL_MSB
Definition: mykonos_macros.h:546
MYKONOS_ADDR_GP_INTERRUPT_READ_1
#define MYKONOS_ADDR_GP_INTERRUPT_READ_1
Definition: mykonos_macros.h:526
MYKONOS_setRxSlicerCtrl
mykonosGpioErr_t MYKONOS_setRxSlicerCtrl(mykonosDevice_t *device, uint8_t slicerStep, mykonosRxSlicer_t rx1Pins, mykonosRxSlicer_t rx2Pins, uint8_t enable)
Slicer control over GPIO inputs.
Definition: mykonos_gpio.c:3744
MYKONOS_setRxHybridGainChangePin
mykonosGpioErr_t MYKONOS_setRxHybridGainChangePin(mykonosDevice_t *device, mykonosGpioSelect_t rx1GainChangePin, mykonosGpioSelect_t rx2GainChangePin)
This API function set the pins for hybrid gain control.
Definition: mykonos_gpio.c:1028
MYKONOS_getRxGainCompensation
mykonosGpioErr_t MYKONOS_getRxGainCompensation(mykonosDevice_t *device, mykonosGainComp_t *gainComp, uint8_t *enabled)
Get gain compensation setup and enabled function.
Definition: mykonos_gpio.c:3510
MYKONOS_ERR_GPIO_HYBRID_RX1_PIN_NULL_PARM
@ MYKONOS_ERR_GPIO_HYBRID_RX1_PIN_NULL_PARM
Definition: t_mykonos_gpio.h:177
MYKONOS_ERR_MGCRX2_GPIO_DECPIN_INV_PARAM
@ MYKONOS_ERR_MGCRX2_GPIO_DECPIN_INV_PARAM
Definition: t_mykonos_gpio.h:39
MYKONOS_ERR_OBS_RX_GAINCOMP_INV_STEP
@ MYKONOS_ERR_OBS_RX_GAINCOMP_INV_STEP
Definition: t_mykonos_gpio.h:124
MYKONOS_ERR_TPCTX1_GPIO_INCPIN_INV_PARAM
@ MYKONOS_ERR_TPCTX1_GPIO_INCPIN_INV_PARAM
Definition: t_mykonos_gpio.h:61
MYKONOS_ERR_WRITEAUXDAC_INV_AUXDACCODE
@ MYKONOS_ERR_WRITEAUXDAC_INV_AUXDACCODE
Definition: t_mykonos_gpio.h:106
MYKONOS_ERR_GPIO_SLEW_RATE_INV_PARAM
@ MYKONOS_ERR_GPIO_SLEW_RATE_INV_PARAM
Definition: t_mykonos_gpio.h:197
MYKONOS_ERR_GAINCOMP_INV_STEP
@ MYKONOS_ERR_GAINCOMP_INV_STEP
Definition: t_mykonos_gpio.h:117
MYKONOS_ERR_SLICER_STEP_OUT_OF_RANGE
@ MYKONOS_ERR_SLICER_STEP_OUT_OF_RANGE
Definition: t_mykonos_gpio.h:127
MYK_CMOSPAD_DRV_4X
@ MYK_CMOSPAD_DRV_4X
Definition: t_mykonos_gpio.h:243
MYKONOS_ERR_GETGPIOSETLEVEL_NULL_PARM
@ MYKONOS_ERR_GETGPIOSETLEVEL_NULL_PARM
Definition: t_mykonos_gpio.h:79
MYKONOS_getOrxEnFloatPntFrmt
mykonosGpioErr_t MYKONOS_getOrxEnFloatPntFrmt(mykonosDevice_t *device, uint8_t *orxAtt, uint8_t *enable)
Floating point formatter enable and setup function.
Definition: mykonos_gpio.c:4491
mykonosGainComp_t::compStep
uint8_t compStep
Definition: t_mykonos_gpio.h:273
MYKONOS_ADDR_GP_INTERRUPT_MASK_1
#define MYKONOS_ADDR_GP_INTERRUPT_MASK_1
Definition: mykonos_macros.h:524
MYKONOS_ERR_GETTX1PIN_TX1TX2_NULL_PARM
@ MYKONOS_ERR_GETTX1PIN_TX1TX2_NULL_PARM
Definition: t_mykonos_gpio.h:72
MYKONOS_ERR_TPCTX2_GPIO_STEP_INV_PARAM
@ MYKONOS_ERR_TPCTX2_GPIO_STEP_INV_PARAM
Definition: t_mykonos_gpio.h:59
MYKONOS_getFloatPointFrmt
mykonosGpioErr_t MYKONOS_getFloatPointFrmt(mykonosDevice_t *device, mykonosFloatPntFrmt_t *floatFrmt)
Floating point formatter setup function.
Definition: mykonos_gpio.c:4217
MYKONOS_ERR_OBS_RX_GAINCOMP_EN_NULL_PARAM
@ MYKONOS_ERR_OBS_RX_GAINCOMP_EN_NULL_PARAM
Definition: t_mykonos_gpio.h:121
MYKONOS_getRxGainCompensation
mykonosGpioErr_t MYKONOS_getRxGainCompensation(mykonosDevice_t *device, mykonosGainComp_t *gainComp, uint8_t *enabled)
Get gain compensation setup and enabled function.
Definition: mykonos_gpio.c:3510
MYKONOS_readGpInterruptStatus
mykonosGpioErr_t MYKONOS_readGpInterruptStatus(mykonosDevice_t *device, uint16_t *status)
Reads the General Purpose (GP) interrupt status to determine what caused the GP Interrupt pin to asse...
Definition: mykonos_gpio.c:2310
MYKONOS_ADR_AUX_ADC_CLOCK_DIVIDE
#define MYKONOS_ADR_AUX_ADC_CLOCK_DIVIDE
Definition: mykonos_macros.h:536
MYKONOS_ERR_MGCRX1_STEP_INV_PARAM
@ MYKONOS_ERR_MGCRX1_STEP_INV_PARAM
Definition: t_mykonos_gpio.h:45
CMB_SPIReadByte
commonErr_t CMB_SPIReadByte(spiSettings_t *spiSettings, uint16_t addr, uint8_t *readdata)
Definition: common.c:202
MYKGPIO1
@ MYKGPIO1
Definition: t_mykonos.h:576
MYKONOS_ADDR_PDAUXDAC_MANUAL_CONTROL_9_6
#define MYKONOS_ADDR_PDAUXDAC_MANUAL_CONTROL_9_6
Definition: mykonos_macros.h:530
AGC
@ AGC
Definition: t_mykonos.h:801
NULL
#define NULL
Definition: wrapper.h:64
MYKONOS_ERR_TPCTX2_GPIO_INCPIN_INV_PARAM
@ MYKONOS_ERR_TPCTX2_GPIO_INCPIN_INV_PARAM
Definition: t_mykonos_gpio.h:58
MYKGPIO12
@ MYKGPIO12
Definition: t_mykonos.h:587
MYKONOS_ERR_WRITEAUXDAC_NULL_AUXIO
@ MYKONOS_ERR_WRITEAUXDAC_NULL_AUXIO
Definition: t_mykonos_gpio.h:103
mykonosTempSensorConfig_t::tempDecimation
uint8_t tempDecimation
Definition: t_mykonos_gpio.h:347
MYKONOS_getRxSlicerCtrl
mykonosGpioErr_t MYKONOS_getRxSlicerCtrl(mykonosDevice_t *device, uint8_t *slicerStep, mykonosRxSlicer_t *rx1Pins, mykonosRxSlicer_t *rx2Pins, uint8_t *enable)
This function will get the programmed Slicer control for Rx1 and Rx2 channels.
Definition: mykonos_gpio.c:3840
MYKONOS_ERR_SET_ARMGPIO_PINS_ARMERROR
@ MYKONOS_ERR_SET_ARMGPIO_PINS_ARMERROR
Definition: t_mykonos_gpio.h:98
getGpioMykonosErrorMessage
const char * getGpioMykonosErrorMessage(mykonosGpioErr_t errorCode)
Helper function for return of character string based on 32-bit mykonosGpioErr_t enum value.
Definition: mykonos_gpio.c:37
MYKONOS_ERR_SLICER_INV_RX1_SEL
@ MYKONOS_ERR_SLICER_INV_RX1_SEL
Definition: t_mykonos_gpio.h:128
MYKONOS_setObsRxHybridGainChangePin
mykonosGpioErr_t MYKONOS_setObsRxHybridGainChangePin(mykonosDevice_t *device, mykonosGpioSelect_t obsRxGainChangePin)
This API function set the pins for hybrid gain control.
Definition: mykonos_gpio.c:1214
MYKONOS_setCmosDrv
mykonosGpioErr_t MYKONOS_setCmosDrv(mykonosDevice_t *device, mykonosCmosPadDrvStr_t spiDrv)
This function sets the CMOS output driver.
Definition: mykonos_gpio.c:5222
mykonosTempSensorStatus_t::windowExceeded
uint8_t windowExceeded
Definition: t_mykonos_gpio.h:363
MYKONOS_ERR_FLOATFRMT_INV_EXP_BITS
@ MYKONOS_ERR_FLOATFRMT_INV_EXP_BITS
Definition: t_mykonos_gpio.h:149
mykonosTempSensorConfig_t::offset
uint8_t offset
Definition: t_mykonos_gpio.h:349
MYKONOS_ERR_MGCRX2_GPIO_INCPIN_INV_PARAM
@ MYKONOS_ERR_MGCRX2_GPIO_INCPIN_INV_PARAM
Definition: t_mykonos_gpio.h:40
MYKONOS_getObsRxGainCompensation
mykonosGpioErr_t MYKONOS_getObsRxGainCompensation(mykonosDevice_t *device, mykonosObsRxGainComp_t *gainComp, uint8_t *enabled)
Get gain compensation setup and enabled function for the observation channel.
Definition: mykonos_gpio.c:3660
mykonosGpioSlewRate_t
mykonosGpioSlewRate_t
Enum of possible GPIO slew rate settings.
Definition: t_mykonos_gpio.h:227
mykonosGpioMode_t
mykonosGpioMode_t
Enum to set the low voltage GPIO mode.
Definition: t_mykonos.h:891
MYKGPIO11
@ MYKGPIO11
Definition: t_mykonos.h:586
MYKONOS_getGpioOe
mykonosGpioErr_t MYKONOS_getGpioOe(mykonosDevice_t *device, uint32_t *gpioOutEn)
Gets the Mykonos low voltage GPIO output pins direction.
Definition: mykonos_gpio.c:2962
MYKONOS_ERR_FLOATFRMT_INV_ENC_NAN
@ MYKONOS_ERR_FLOATFRMT_INV_ENC_NAN
Definition: t_mykonos_gpio.h:148
ORX_TRIGGER_SIGNALID
#define ORX_TRIGGER_SIGNALID
Definition: mykonos_macros.h:684
MYKGPIO9
@ MYKGPIO9
Definition: t_mykonos.h:584
MYKONOS_ERR_EN_MONITOR_OUT_NOT_ENABLED
@ MYKONOS_ERR_EN_MONITOR_OUT_NOT_ENABLED
Definition: t_mykonos_gpio.h:33
MYKONOS_ADDR_GPIO_MONITOR_INDEX
#define MYKONOS_ADDR_GPIO_MONITOR_INDEX
Definition: mykonos_macros.h:521
getGpioMykonosErrorMessage
const char * getGpioMykonosErrorMessage(mykonosGpioErr_t errorCode)
Helper function for return of character string based on 32-bit mykonosGpioErr_t enum value.
Definition: mykonos_gpio.c:37
MYKONOS_getRxEnFloatPntFrmt
mykonosGpioErr_t MYKONOS_getRxEnFloatPntFrmt(mykonosDevice_t *device, uint8_t *rx1Att, uint8_t *rx2Att, uint8_t *enable)
Floating point formatter setup function.
Definition: mykonos_gpio.c:4357
MYKONOS_setupGpio3v3
mykonosGpioErr_t MYKONOS_setupGpio3v3(mykonosDevice_t *device)
Sets the Mykonos 3.3 VDC GPIO configuration registers.
Definition: mykonos_gpio.c:3097
MYKONOS_setRxHybridGainChangePin
mykonosGpioErr_t MYKONOS_setRxHybridGainChangePin(mykonosDevice_t *device, mykonosGpioSelect_t rx1GainChangePin, mykonosGpioSelect_t rx2GainChangePin)
This API function set the pins for hybrid gain control.
Definition: mykonos_gpio.c:1028
MYKONOS_ERR_FLOATFRMT_SET_INV_EN
@ MYKONOS_ERR_FLOATFRMT_SET_INV_EN
Definition: t_mykonos_gpio.h:157
mykonos.h
Contains macro definitions and function prototypes for mykonos.c.
MYKONOS_ERR_GAINCOMP_EN_NULL_PARM
@ MYKONOS_ERR_GAINCOMP_EN_NULL_PARM
Definition: t_mykonos_gpio.h:113
MYKONOS_ERR_GET_GPIO_SOURCE_CONTROL_NULL_PARM
@ MYKONOS_ERR_GET_GPIO_SOURCE_CONTROL_NULL_PARM
Definition: t_mykonos_gpio.h:85
MYKONOS_ERR_READGPIOSPI_NULL_PARM
@ MYKONOS_ERR_READGPIOSPI_NULL_PARM
Definition: t_mykonos_gpio.h:80
MYKONOS_setRxEnFloatPntFrmt
mykonosGpioErr_t MYKONOS_setRxEnFloatPntFrmt(mykonosDevice_t *device, uint8_t rx1Att, uint8_t rx2Att, uint8_t enable)
Floating point formatter enable/disable Rx1 and Rx2 function.
Definition: mykonos_gpio.c:4285
MYKONOS_configGpInterrupt
mykonosGpioErr_t MYKONOS_configGpInterrupt(mykonosDevice_t *device, uint16_t gpMask)
Sets the General Purpose (GP) interrupt register bit mask to enable interrupt sources to assert the G...
Definition: mykonos_gpio.c:2252
MYKONOS_ERR_GPIO_HYBRID_RX2_PIN
@ MYKONOS_ERR_GPIO_HYBRID_RX2_PIN
Definition: t_mykonos_gpio.h:176
MYKONOS_readAuxAdc
mykonosGpioErr_t MYKONOS_readAuxAdc(mykonosDevice_t *device, uint16_t *adcCode)
Reads from the selected channel of the auxiliary ADC.
Definition: mykonos_gpio.c:2647
MYKONOS_ERR_OBS_RX_GAINCOMP_NULL_STRUCT
@ MYKONOS_ERR_OBS_RX_GAINCOMP_NULL_STRUCT
Definition: t_mykonos_gpio.h:125
mykonosTempSensorStatus_t::windowHiLo
uint8_t windowHiLo
Definition: t_mykonos_gpio.h:365
MYKONOS_getRxEnFloatPntFrmt
mykonosGpioErr_t MYKONOS_getRxEnFloatPntFrmt(mykonosDevice_t *device, uint8_t *rx1Att, uint8_t *rx2Att, uint8_t *enable)
Floating point formatter setup function.
Definition: mykonos_gpio.c:4357
MYKONOS_ADDR_GPIO_SPI_READ_15_8
#define MYKONOS_ADDR_GPIO_SPI_READ_15_8
Definition: mykonos_macros.h:515
MYKONOS_getGpioSetLevel
mykonosGpioErr_t MYKONOS_getGpioSetLevel(mykonosDevice_t *device, uint32_t *gpioPinSetLevel)
Reads the Mykonos GPIO pin output levels for BITBANG mode.
Definition: mykonos_gpio.c:2193
MYKONOS_ERR_SET_GPIO_1V8_INV_MODE
@ MYKONOS_ERR_SET_GPIO_1V8_INV_MODE
Definition: t_mykonos_gpio.h:81
MYKONOS_getFloatPointFrmt
mykonosGpioErr_t MYKONOS_getFloatPointFrmt(mykonosDevice_t *device, mykonosFloatPntFrmt_t *floatFrmt)
Floating point formatter setup function.
Definition: mykonos_gpio.c:4217
MYKONOS_ADDR_DPD_SNF_RX_GAIN_COMP_CFG
#define MYKONOS_ADDR_DPD_SNF_RX_GAIN_COMP_CFG
Definition: mykonos_macros.h:451
MYKONOS_readGpInterruptStatus
mykonosGpioErr_t MYKONOS_readGpInterruptStatus(mykonosDevice_t *device, uint16_t *status)
Reads the General Purpose (GP) interrupt status to determine what caused the GP Interrupt pin to asse...
Definition: mykonos_gpio.c:2310
MYKONOS_ADDR_GPIO_SPI_SRC_18_16
#define MYKONOS_ADDR_GPIO_SPI_SRC_18_16
Definition: mykonos_macros.h:513
MYKONOS_getObsRxSlicerCtrl
mykonosGpioErr_t MYKONOS_getObsRxSlicerCtrl(mykonosDevice_t *device, uint8_t *slicerStep, mykonosObsRxSlicer_t *obsRxPins, uint8_t *enable)
This function will get the programmed Slicer control for observation channel.
Definition: mykonos_gpio.c:4027
MYKONOS_ADDR_GPIO_3V3_SPI_SRC_7_0
#define MYKONOS_ADDR_GPIO_3V3_SPI_SRC_7_0
Definition: mykonos_macros.h:501
MYKONOS_ERR_SETUPTEMPSENSOR_NULL_PARAM
@ MYKONOS_ERR_SETUPTEMPSENSOR_NULL_PARAM
Definition: t_mykonos_gpio.h:166
MYKONOS_setRxEnFloatPntFrmt
mykonosGpioErr_t MYKONOS_setRxEnFloatPntFrmt(mykonosDevice_t *device, uint8_t rx1Att, uint8_t rx2Att, uint8_t enable)
Floating point formatter enable/disable Rx1 and Rx2 function.
Definition: mykonos_gpio.c:4285
GPIO_0_1_2
@ GPIO_0_1_2
Definition: t_mykonos_gpio.h:209
MYKONOS_startTempMeasurement
mykonosGpioErr_t MYKONOS_startTempMeasurement(mykonosDevice_t *device)
Initiates temperature measurement.
Definition: mykonos_gpio.c:4701
MYKONOS_getRxSlicerCtrl
mykonosGpioErr_t MYKONOS_getRxSlicerCtrl(mykonosDevice_t *device, uint8_t *slicerStep, mykonosRxSlicer_t *rx1Pins, mykonosRxSlicer_t *rx2Pins, uint8_t *enable)
This function will get the programmed Slicer control for Rx1 and Rx2 channels.
Definition: mykonos_gpio.c:3840
MYKONOS_readAuxAdc
mykonosGpioErr_t MYKONOS_readAuxAdc(mykonosDevice_t *device, uint16_t *adcCode)
Reads from the selected channel of the auxiliary ADC.
Definition: mykonos_gpio.c:2647
MYKONOS_ERR_GETGPIODRV_NULL_PARAM
@ MYKONOS_ERR_GETGPIODRV_NULL_PARAM
Definition: t_mykonos_gpio.h:194
MYKONOS_ERR_READTEMPSENSOR_NOT_LOCKED
@ MYKONOS_ERR_READTEMPSENSOR_NOT_LOCKED
Definition: t_mykonos_gpio.h:172
MYKONOS_ERR_GP_INT_STATUS_NULL_PARAM
@ MYKONOS_ERR_GP_INT_STATUS_NULL_PARAM
Definition: t_mykonos_gpio.h:88
MYKONOS_ERR_SLICER_STEP_NULL_PARM
@ MYKONOS_ERR_SLICER_STEP_NULL_PARM
Definition: t_mykonos_gpio.h:134
MYKONOS_ADDR_RX_GAIN_COMP_CFG
#define MYKONOS_ADDR_RX_GAIN_COMP_CFG
Definition: mykonos_macros.h:447
MYKONOS_ERR_GAINCOMP_SET_NULL_STRUCT
@ MYKONOS_ERR_GAINCOMP_SET_NULL_STRUCT
Definition: t_mykonos_gpio.h:114
MYKONOS_ADDR_RX_SLCR_PIN_CFG
#define MYKONOS_ADDR_RX_SLCR_PIN_CFG
Definition: mykonos_macros.h:448
MYKONOS_ERR_SLICER_RX2PIN_NULL_PARM
@ MYKONOS_ERR_SLICER_RX2PIN_NULL_PARM
Definition: t_mykonos_gpio.h:133
MYKONOS_setGpioMonitorOut
mykonosGpioErr_t MYKONOS_setGpioMonitorOut(mykonosDevice_t *device, uint8_t monitorIndex, uint8_t monitorMask)
This API function configures the monitor output function for the GPIOs.
Definition: mykonos_gpio.c:494
MYKGPIO16
@ MYKGPIO16
Definition: t_mykonos.h:591
MYKONOS_setRx1GainCtrlPin
mykonosGpioErr_t MYKONOS_setRx1GainCtrlPin(mykonosDevice_t *device, uint8_t incStep, uint8_t decStep, mykonosGpioSelect_t rx1GainIncPin, mykonosGpioSelect_t rx1GainDecPin, uint8_t enable)
This API function configures the GPIO inputs for controlling RX gain.
Definition: mykonos_gpio.c:617
ORX2_ENABLE_ACK_SIGNALID
#define ORX2_ENABLE_ACK_SIGNALID
Definition: mykonos_macros.h:693
MYKONOS_ERR_SLICER_INV_OBS_RX_SEL
@ MYKONOS_ERR_SLICER_INV_OBS_RX_SEL
Definition: t_mykonos_gpio.h:137
MYKONOS_setRxSlicerCtrl
mykonosGpioErr_t MYKONOS_setRxSlicerCtrl(mykonosDevice_t *device, uint8_t slicerStep, mykonosRxSlicer_t rx1Pins, mykonosRxSlicer_t rx2Pins, uint8_t enable)
Slicer control over GPIO inputs.
Definition: mykonos_gpio.c:3744
MYKONOS_getObsRxHybridGainChangePin
mykonosGpioErr_t MYKONOS_getObsRxHybridGainChangePin(mykonosDevice_t *device, mykonosGpioSelect_t *obsRxGainChangePin)
This API function gets the pin configuration for hybrid gain control of observation channel.
Definition: mykonos_gpio.c:1276
MYKONOS_ADDR_RX1_GAIN_COMP_OFFSET
#define MYKONOS_ADDR_RX1_GAIN_COMP_OFFSET
Definition: mykonos_macros.h:445
MYKONOS_getRxAgcEnSyncPin
mykonosGpioErr_t MYKONOS_getRxAgcEnSyncPin(mykonosDevice_t *device, mykonosGpioSelect_t *rx1AgcSyncPin, mykonosGpioSelect_t *rx2AgcSyncPin)
This API function gets the GPIO pin configuration for AGC gain sync control of RX1 and RX2.
Definition: mykonos_gpio.c:1439
MYKONOS_ADDR_TX_TPC_GPIO_CFG
#define MYKONOS_ADDR_TX_TPC_GPIO_CFG
Definition: mykonos_macros.h:491
MYKONOS_getTx1AttenCtrlPin
mykonosGpioErr_t MYKONOS_getTx1AttenCtrlPin(mykonosDevice_t *device, uint8_t *stepSize, mykonosGpioSelect_t *tx1AttenIncPin, mykonosGpioSelect_t *tx1AttenDecPin, uint8_t *enable, uint8_t *useTx1ForTx2)
This API function returns the configuration TX1 attenuation Pin control.
Definition: mykonos_gpio.c:1793
MYKONOS_setRx2GainCtrlPin
mykonosGpioErr_t MYKONOS_setRx2GainCtrlPin(mykonosDevice_t *device, uint8_t incStep, uint8_t decStep, mykonosGpioSelect_t rx2GainIncPin, mykonosGpioSelect_t rx2GainDecPin, uint8_t enable)
This API function configures the GPIO inputs for controlling RX gain.
Definition: mykonos_gpio.c:825
mykonosGainComp_t::rx1Offset
uint8_t rx1Offset
Definition: t_mykonos_gpio.h:267
MYKONOS_ADDR_GPIO_DIR_CTL_18_16
#define MYKONOS_ADDR_GPIO_DIR_CTL_18_16
Definition: mykonos_macros.h:510
MYKONOS_ERR_GPIO_DRV_INV_PARAM
@ MYKONOS_ERR_GPIO_DRV_INV_PARAM
Definition: t_mykonos_gpio.h:195
mykonosFloatPntFrmt_t
Data structure to hold floating point formatter settings for the floating point number generation.
Definition: t_mykonos_gpio.h:313
MYKONOS_setObsRxSlicerCtrl
mykonosGpioErr_t MYKONOS_setObsRxSlicerCtrl(mykonosDevice_t *device, uint8_t slicerStep, mykonosObsRxSlicer_t obsRxPins, uint8_t enable)
Slicer control over GPIO inputs for the observation channel.
Definition: mykonos_gpio.c:3954
MYKONOS_ADDR_AUX_ADC_READ_LSB
#define MYKONOS_ADDR_AUX_ADC_READ_LSB
Definition: mykonos_macros.h:539
t_mykonos.h
Contains type definitions for Mykonos API.
GPIO_11_12_13
@ GPIO_11_12_13
Definition: t_mykonos_gpio.h:212
MYKGPIO6
@ MYKGPIO6
Definition: t_mykonos.h:581
mykonosGainComp_t::rx2Offset
uint8_t rx2Offset
Definition: t_mykonos_gpio.h:270
mykonosRxSlicer_t
mykonosRxSlicer_t
Enum of possible Rx Slicer pin combinations.
Definition: t_mykonos_gpio.h:207
MYKONOS_getRx1GainCtrlPin
mykonosGpioErr_t MYKONOS_getRx1GainCtrlPin(mykonosDevice_t *device, uint8_t *incStep, uint8_t *decStep, mykonosGpioSelect_t *rx1GainIncPin, mykonosGpioSelect_t *rx1GainDecPin, uint8_t *enable)
This API function returns the configuration RX1 gain Pin control.
Definition: mykonos_gpio.c:705
mykonosFloatPntFrmt_t::leading
uint8_t leading
Definition: t_mykonos_gpio.h:338
MYKONOS_ADDR_GPIO_SPI_SRC_15_8
#define MYKONOS_ADDR_GPIO_SPI_SRC_15_8
Definition: mykonos_macros.h:512
MYKONOS_ERR_GETTX2PIN_STEP_NULL_PARM
@ MYKONOS_ERR_GETTX2PIN_STEP_NULL_PARM
Definition: t_mykonos_gpio.h:63
MYKONOS_ERR_FLOATFRMT_NULL_RX2ATT
@ MYKONOS_ERR_FLOATFRMT_NULL_RX2ATT
Definition: t_mykonos_gpio.h:155
MYKONOS_ERR_GPIO_SRC_PARAM_INV
@ MYKONOS_ERR_GPIO_SRC_PARAM_INV
Definition: t_mykonos_gpio.h:84
MYKONOS_ERR_AGC_OBS_NOT_IN_HYBRID
@ MYKONOS_ERR_AGC_OBS_NOT_IN_HYBRID
Definition: t_mykonos_gpio.h:181
MYKONOS_setObsRxAgcEnSyncPin
mykonosGpioErr_t MYKONOS_setObsRxAgcEnSyncPin(mykonosDevice_t *device, mykonosGpioSelect_t obsRxAgcSyncPin)
This API function set the pins for AGC gain Sync control.
Definition: mykonos_gpio.c:1537
MYKONOS_ERR_FLOATFRMT_INV_RX2ATT
@ MYKONOS_ERR_FLOATFRMT_INV_RX2ATT
Definition: t_mykonos_gpio.h:152
MYKONOS_setGpioMonitorOut
mykonosGpioErr_t MYKONOS_setGpioMonitorOut(mykonosDevice_t *device, uint8_t monitorIndex, uint8_t monitorMask)
This API function configures the monitor output function for the GPIOs.
Definition: mykonos_gpio.c:494
MYKONOS_ERR_FLOATFRMT_INV_DATA_FORMAT
@ MYKONOS_ERR_FLOATFRMT_INV_DATA_FORMAT
Definition: t_mykonos_gpio.h:147
ORX_MODE_2_SIGNALID
#define ORX_MODE_2_SIGNALID
Definition: mykonos_macros.h:687
MYKONOS_configGpInterrupt
mykonosGpioErr_t MYKONOS_configGpInterrupt(mykonosDevice_t *device, uint16_t gpMask)
Sets the General Purpose (GP) interrupt register bit mask to enable interrupt sources to assert the G...
Definition: mykonos_gpio.c:2252
MYKONOS_ERR_GPIO_AGC_SYNC_ORX_PIN_NULL_PARM
@ MYKONOS_ERR_GPIO_AGC_SYNC_ORX_PIN_NULL_PARM
Definition: t_mykonos_gpio.h:192
MYKONOS_ERR_GETRX2PIN_INCSTEP_NULL_PARM
@ MYKONOS_ERR_GETRX2PIN_INCSTEP_NULL_PARM
Definition: t_mykonos_gpio.h:46
MYKONOS_ADDR_TX_INCR_DECR_WORD
#define MYKONOS_ADDR_TX_INCR_DECR_WORD
Definition: mykonos_macros.h:489
MYKONOS_getGpioMonitorOut
mykonosGpioErr_t MYKONOS_getGpioMonitorOut(mykonosDevice_t *device, uint8_t *monitorIndex, uint8_t *monitorMask)
This API function reads the GPIO monitor index from Mykonos.
Definition: mykonos_gpio.c:540
MYKONOS_ERR_TPCTX1_GPIO_STEP_INV_PARAM
@ MYKONOS_ERR_TPCTX1_GPIO_STEP_INV_PARAM
Definition: t_mykonos_gpio.h:62
MYKGPIO10
@ MYKGPIO10
Definition: t_mykonos.h:585
MYKONOS_ERR_SLICER_OBS_RX_EN_NULL_PARM
@ MYKONOS_ERR_SLICER_OBS_RX_EN_NULL_PARM
Definition: t_mykonos_gpio.h:140
MYKONOS_ERR_GETRX2PIN_DECPIN_NULL_PARM
@ MYKONOS_ERR_GETRX2PIN_DECPIN_NULL_PARM
Definition: t_mykonos_gpio.h:49
MYKONOS_ERR_GETTEMPSENSORCFG_NULL_PARAM
@ MYKONOS_ERR_GETTEMPSENSORCFG_NULL_PARAM
Definition: t_mykonos_gpio.h:170
MYKONOS_setTx2AttenCtrlPin
mykonosGpioErr_t MYKONOS_setTx2AttenCtrlPin(mykonosDevice_t *device, uint8_t stepSize, mykonosGpioSelect_t tx2AttenIncPin, mykonosGpioSelect_t tx2AttenDecPin, uint8_t enable)
This API function configures the GPIO inputs for controlling Tx attenuation settings.
Definition: mykonos_gpio.c:1915
MYKONOS_ERR_FLOATFRMT_NULL_ORXATT
@ MYKONOS_ERR_FLOATFRMT_NULL_ORXATT
Definition: t_mykonos_gpio.h:163