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
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
mykonosGpioErr_t MYKONOS_setAuxAdcChannel(mykonosDevice_t *device, mykonosAuxAdcChannels_t auxAdcChannel)
Sets the selected channel of the auxiliary ADC.
Definition mykonos_gpio.c:2590
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
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
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
mykonosGpioErr_t MYKONOS_setupGpio3v3(mykonosDevice_t *device)
Sets the Mykonos 3.3 VDC GPIO configuration registers.
Definition mykonos_gpio.c:3097
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
mykonosGpioErr_t MYKONOS_setupTempSensor(mykonosDevice_t *device, mykonosTempSensorConfig_t *tempSensor)
Sets up the Temperature Sensor.
Definition mykonos_gpio.c:4551
mykonosGpioErr_t MYKONOS_getCmosDrv(mykonosDevice_t *device, mykonosCmosPadDrvStr_t *spiDrv)
This function gets the programmed CMOS output driver.
Definition mykonos_gpio.c:5264
mykonosGpioErr_t MYKONOS_setArmGpioPins(mykonosDevice_t *device)
Sets the input and output GPIO pin selections for ARM related signals.
Definition mykonos_gpio.c:2355
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
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
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
mykonosGpioErr_t MYKONOS_getGpioOe(mykonosDevice_t *device, uint32_t *gpioOutEn)
Gets the Mykonos low voltage GPIO output pins direction.
Definition mykonos_gpio.c:2962
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
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
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
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
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
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
mykonosGpioErr_t MYKONOS_getFloatPointFrmt(mykonosDevice_t *device, mykonosFloatPntFrmt_t *floatFrmt)
Floating point formatter setup function.
Definition mykonos_gpio.c:4217
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
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
mykonosGpioErr_t MYKONOS_setFloatPointFrmt(mykonosDevice_t *device, mykonosFloatPntFrmt_t *floatFrmt)
Floating point formatter enable and setup function.
Definition mykonos_gpio.c:4117
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
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
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
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
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
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
mykonosGpioErr_t MYKONOS_setupGpio(mykonosDevice_t *device)
Sets the Mykonos low voltage GPIO configuration registers.
Definition mykonos_gpio.c:2835
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
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
mykonosGpioErr_t MYKONOS_setRxGainCompensation(mykonosDevice_t *device, mykonosGainComp_t *gainComp, uint8_t enable)
Gain compensation enable and setup function.
Definition mykonos_gpio.c:3421
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
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
mykonosGpioErr_t MYKONOS_getGpioDrv(mykonosDevice_t *device, uint32_t *gpioDrv)
This function gets the GPIOs drive strength.
Definition mykonos_gpio.c:4914
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
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
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
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
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
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
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
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
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
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
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
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
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
mykonosGpioErr_t MYKONOS_setGpioPinLevel(mykonosDevice_t *device, uint32_t gpioPinLevel)
Sets the Mykonos low voltage GPIO output pins level.
Definition mykonos_gpio.c:2116
mykonosGpioErr_t MYKONOS_setCmosDrv(mykonosDevice_t *device, mykonosCmosPadDrvStr_t spiDrv)
This function sets the CMOS output driver.
Definition mykonos_gpio.c:5222
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
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
mykonosGpioErr_t MYKONOS_readAuxAdc(mykonosDevice_t *device, uint16_t *adcCode)
Reads from the selected channel of the auxiliary ADC.
Definition mykonos_gpio.c:2647
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
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
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
mykonosGpioErr_t MYKONOS_getGpio3v3Oe(mykonosDevice_t *device, uint16_t *gpio3v3OutEn)
Reads the Mykonos 3.3 VDC GPIO pin direction.
Definition mykonos_gpio.c:3289
mykonosGpioErr_t MYKONOS_setupAuxAdcs(mykonosDevice_t *device, uint8_t adcDecimation, uint8_t enable)
Sets up the auxiliary ADC.
Definition mykonos_gpio.c:2505
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
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
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
mykonosGpioErr_t MYKONOS_startTempMeasurement(mykonosDevice_t *device)
Initiates temperature measurement.
Definition mykonos_gpio.c:4701
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
mykonosGpioErr_t MYKONOS_setupAuxDacs(mykonosDevice_t *device)
Sets up the 10 AuxDACs on the Mykonos device.
Definition mykonos_gpio.c:2696
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
Definition ad9361_util.h:63
Data structure to hold Mykonos device settings.
Definition t_mykonos.h:1696
Data structure to hold floating point formatter settings for the floating point number generation.
Definition t_mykonos_gpio.h:314
Data structure to hold Gain compensation settings for the main receive channels.
Definition t_mykonos_gpio.h:266
Data structure to hold Gain compensation settings for the observation channel.
Definition t_mykonos_gpio.h:291
Data structure used to configure the on-die Temperature Sensor.
Definition t_mykonos_gpio.h:346
Data structure used to store Temperature Sensor related values.
Definition t_mykonos_gpio.h:361
Contains type definitions for Mykonos API.
mykonosGpioSelect_t
Enum for Mykonos low voltage GPIO available pins.
Definition t_mykonos.h:573
Mykonos GPIO error handling and type defines.
mykonosRxSlicer_t
Enum of possible Rx Slicer pin combinations.
Definition t_mykonos_gpio.h:208
mykonosObsRxSlicer_t
Enum of possible observation channel Slicer pin combinations.
Definition t_mykonos_gpio.h:219
mykonosCmosPadDrvStr_t
Enumerated list of CMOS pads drive strength options.
Definition t_mykonos_gpio.h:239
mykonosAuxAdcChannels_t
Enumerated list for Aux ADCs.
Definition t_mykonos_gpio.h:252
mykonosGpioSlewRate_t
Enum of possible GPIO slew rate settings.
Definition t_mykonos_gpio.h:228
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:31