MX Foundation 4
MXF_DEVICE_INFO Struct Reference

Device Information Structure. More...

#include <mxf_base.h>

Data Fields

char name [64]
 
uint64 deviceIndex
 
uint64 deviceType
 
uint64 deviceSeries
 
uint64 deviceId
 
char deviceRev [64]
 
uint64 busNumber
 
uint64 deviceNumber
 
uint64 bootDone
 
uint64 master
 
uint64 extRef
 
uint64 sramSize
 
uint64 sdramSize
 
uint64 moduleCount
 
uint64 revisionCount
 
uint64 dhcpStatus
 
uint64 reserved [14]
 
MXF_REV revisions [MXF_FLASH_REV_MAX]
 
MXF_DEVICE_REGION regions [MXF_REGION_MAX]
 
MXF_DEVICE_MODULE_INFO modules [MXF_MODULE_MAX]
 
char ipAddress [32]
 
char ipNetMask [32]
 
uint64 reserved4 [32]
 

Detailed Description

Field Documentation

char MXF_DEVICE_INFO::name[64]

Device name

Examples:
device_info.c.
uint64 MXF_DEVICE_INFO::deviceIndex

Device index

Examples:
device_info.c.
uint64 MXF_DEVICE_INFO::deviceType

Device type

Constant Description
MXF_DEVICE_FLEXMULTI_664 FlexMulti 664
MXF_DEVICE_FLEX1553_PCIE Flex1553-PCIe
MXF_DEVICE_FLEXMULTI_1553 FlexMulti 1553
MXF_DEVICE_FLEXMULTI_629 FlexMulti 629
MXF_DEVICE_FLEXMULTI_429 FlexMulti 429
MXF_DEVICE_FLEXMULTI FlexMulti
MXF_DEVICE_PCIE502 PCIe 502 carrier
MXF_DEVICE_PXIE500 PXIe 500 carrier
MXF_DEVICE_FMOB429_PLUS FlexMobile 429+
MXF_DEVICE_PMC429 MAXPMC 429
MXF_DEVICE_XMC429 MAXXMC 429
MXF_DEVICE_FLEXMAX_3U FlexMAX 3U
MXF_DEVICE_FLEXMAX_1U FlexMAX 1U
uint64 MXF_DEVICE_INFO::deviceSeries

Device series

Constant Description
MXF_DEVICE_SERIES_FLEX Flex series
MXF_DEVICE_SERIES_S500 500 series carrier
MXF_DEVICE_SERIES_FLEXMOBILE FlexMobile series
MXF_DEVICE_SERIES_FLEXMAX FlexMAX series
uint64 MXF_DEVICE_INFO::deviceId

Device ID

char MXF_DEVICE_INFO::deviceRev[64]

Device Revision

Examples:
device_info.c.
uint64 MXF_DEVICE_INFO::busNumber

PCI Bus Number

uint64 MXF_DEVICE_INFO::deviceNumber

PCI device number

uint64 MXF_DEVICE_INFO::bootDone

BOOT done status (0: boot failed, 1: boot successful)

uint64 MXF_DEVICE_INFO::master

Device master status (0: not master, 1: master)

uint64 MXF_DEVICE_INFO::extRef

Device external clock status (0: external clock detected, 1: no external clock detected)

uint64 MXF_DEVICE_INFO::sramSize

SRAM size (bytes)

uint64 MXF_DEVICE_INFO::sdramSize

SDRAM size (bytes)

uint64 MXF_DEVICE_INFO::moduleCount

Number of modules in "modules" array

Examples:
device_info.c, and write_read_async.c.
uint64 MXF_DEVICE_INFO::revisionCount

Number of revisions in "revisions" array

Examples:
device_info.c.
uint64 MXF_DEVICE_INFO::dhcpStatus

DHCP status

Constant Description
MXF_DEVICE_INFO_DHCP_STATUS_ENABLED DHCP enabled
MXF_DEVICE_INFO_DHCP_STATUS_SUCCESS DHCP request successful
uint64 MXF_DEVICE_INFO::reserved[14]

Reserved for future use

MXF_REV MXF_DEVICE_INFO::revisions[MXF_FLASH_REV_MAX]

Revisions information array

Examples:
device_info.c.
MXF_DEVICE_REGION MXF_DEVICE_INFO::regions[MXF_REGION_MAX]

Regions array

char MXF_DEVICE_INFO::ipAddress[32]

Current IP address. Useful only for device with Ethernet port.

char MXF_DEVICE_INFO::ipNetMask[32]

Current IP Net Mask. Useful only for device with Ethernet port.

uint64 MXF_DEVICE_INFO::reserved4[32]

Reserved for future use

Updated 10/23/2023