mbgtools-lx  4.2.8
MBG_IO_PORT_INFO Struct Reference

IO Port Info. More...

#include <gpsdefs.h>

Data Fields

uint8_t num_types
 See MBG_IO_PORT_TYPE_INFO. More...
 
uint8_t conn_type
 See MBG_IO_PORT_CONN_TYPES. More...
 
uint8_t reserved_1
 Future use and padding, currently 0. More...
 
uint8_t align_rule_idx
 Index of the MBG_IO_PORT_INFO_IDX this port shall be optically aligned to. More...
 
uint16_t supp_op_modes
 See MBG_IO_PORT_OP_MODE_MSKS. More...
 
uint16_t supp_phys_grp_roles
 Supported roles in MBG_IO_PORT_STATUS::phys_grp_role, see MBG_IO_PORT_GRP_ROLE_MSKS. More...
 
uint8_t phys_grp
 Physical group number (i.e. SFP/RJ45 on HPS100), or MBG_NO_PHYS_GROUP. More...
 
uint8_t pos_col
 Column position of this port. More...
 
uint8_t pos_row
 Row position of this port. More...
 
uint8_t rear
 Indicates, whether the port is on the front or rear side. More...
 
uint32_t pols
 Pols which are used by this IO port, only if conn_type has more than 1 variable pol. More...
 
uint32_t flags
 Flags, see MBG_IO_PORT_INFO_MASKS. More...
 
uint32_t reserved_2 [2]
 Future use and padding, currently 0. More...
 
char use_str [16]
 Informational string for user interface, i.e. "NTP Status LED". More...
 
char rel_str [16]
 Internally used relation string, i.e. "lan0", "fpga0" or "/dev/ttyS0". More...
 
MBG_IO_PORT_SETTINGS settings
 See MBG_IO_PORT_SETTINGS. More...
 

Detailed Description

Field Documentation

◆ align_rule_idx

uint8_t MBG_IO_PORT_INFO::align_rule_idx

Index of the MBG_IO_PORT_INFO_IDX this port shall be optically aligned to.

Definition at line 20811 of file gpsdefs.h.

◆ conn_type

uint8_t MBG_IO_PORT_INFO::conn_type

See MBG_IO_PORT_CONN_TYPES.

Definition at line 20809 of file gpsdefs.h.

◆ flags

uint32_t MBG_IO_PORT_INFO::flags

Flags, see MBG_IO_PORT_INFO_MASKS.

Definition at line 20819 of file gpsdefs.h.

◆ num_types

uint8_t MBG_IO_PORT_INFO::num_types

See MBG_IO_PORT_TYPE_INFO.

Definition at line 20808 of file gpsdefs.h.

Referenced by get_io_port_type_info().

◆ phys_grp

uint8_t MBG_IO_PORT_INFO::phys_grp

Physical group number (i.e. SFP/RJ45 on HPS100), or MBG_NO_PHYS_GROUP.

Definition at line 20814 of file gpsdefs.h.

◆ pols

uint32_t MBG_IO_PORT_INFO::pols

Pols which are used by this IO port, only if conn_type has more than 1 variable pol.

Definition at line 20818 of file gpsdefs.h.

◆ pos_col

uint8_t MBG_IO_PORT_INFO::pos_col

Column position of this port.

Definition at line 20815 of file gpsdefs.h.

◆ pos_row

uint8_t MBG_IO_PORT_INFO::pos_row

Row position of this port.

Definition at line 20816 of file gpsdefs.h.

◆ rear

uint8_t MBG_IO_PORT_INFO::rear

Indicates, whether the port is on the front or rear side.

Definition at line 20817 of file gpsdefs.h.

◆ rel_str

char MBG_IO_PORT_INFO::rel_str[16]

Internally used relation string, i.e. "lan0", "fpga0" or "/dev/ttyS0".

Definition at line 20822 of file gpsdefs.h.

◆ reserved_1

uint8_t MBG_IO_PORT_INFO::reserved_1

Future use and padding, currently 0.

Definition at line 20810 of file gpsdefs.h.

◆ reserved_2

uint32_t MBG_IO_PORT_INFO::reserved_2[2]

Future use and padding, currently 0.

Definition at line 20820 of file gpsdefs.h.

◆ settings

MBG_IO_PORT_SETTINGS MBG_IO_PORT_INFO::settings

See MBG_IO_PORT_SETTINGS.

Definition at line 20823 of file gpsdefs.h.

◆ supp_op_modes

uint16_t MBG_IO_PORT_INFO::supp_op_modes

See MBG_IO_PORT_OP_MODE_MSKS.

Definition at line 20812 of file gpsdefs.h.

◆ supp_phys_grp_roles

uint16_t MBG_IO_PORT_INFO::supp_phys_grp_roles

Supported roles in MBG_IO_PORT_STATUS::phys_grp_role, see MBG_IO_PORT_GRP_ROLE_MSKS.

Definition at line 20813 of file gpsdefs.h.

◆ use_str

char MBG_IO_PORT_INFO::use_str[16]

Informational string for user interface, i.e. "NTP Status LED".

Definition at line 20821 of file gpsdefs.h.


The documentation for this struct was generated from the following file: