mbgtools-lx  4.2.8
PCPS_DEV_CFG Struct Reference

Device information. More...

#include <pcpsdev.h>

Data Fields

PCPS_ERR_FLAGS err_flags
 See PCPS_ERR_FLAG_MASKS. More...
 
PCPS_BUS_NUM bus_num
 
PCPS_SLOT_NUM slot_num
 
PCPS_SHORT_PORT_RSRC port [2]
 
PCPS_SHORT_PORT_ADDR short_status_port
 
int16_t irq_num
 
uint32_t timeout_clk
 
PCPS_FW_REV_NUM fw_rev_num
 
PCPS_FEATURES features
 See PCPS_FEATURE_MASKS. More...
 
PCPS_ID_STR fw_id
 
PCPS_SN_STR sernum
 

Detailed Description

Device information.

Contains variable device data which depends on a particular instance of a device, e.g. the firmware which is currently installed, the port address which has actually been assigned, etc.

Note
This structure only contains an incomplete subset of information for newer devices, e.g. no memory resources, and no extended device features. However, adding the missing information would break compatibility of some API functions.

Definition at line 597 of file pcpsdev.h.

Field Documentation

◆ bus_num

PCPS_BUS_NUM PCPS_DEV_CFG::bus_num

Definition at line 600 of file pcpsdev.h.

Referenced by pcps_probe_device(), and ptp270pex_can_flag_ready().

◆ err_flags

PCPS_ERR_FLAGS PCPS_DEV_CFG::err_flags

See PCPS_ERR_FLAG_MASKS.

Definition at line 599 of file pcpsdev.h.

Referenced by pcps_cleanup_device(), and pcps_detect_isa_devices().

◆ features

◆ fw_id

PCPS_ID_STR PCPS_DEV_CFG::fw_id

Definition at line 608 of file pcpsdev.h.

Referenced by pcps_probe_device().

◆ fw_rev_num

PCPS_FW_REV_NUM PCPS_DEV_CFG::fw_rev_num

Definition at line 606 of file pcpsdev.h.

Referenced by pcps_probe_device().

◆ irq_num

int16_t PCPS_DEV_CFG::irq_num

Definition at line 604 of file pcpsdev.h.

Referenced by pcps_probe_device().

◆ port

PCPS_SHORT_PORT_RSRC PCPS_DEV_CFG::port[2]

Definition at line 602 of file pcpsdev.h.

Referenced by pcps_probe_device().

◆ sernum

PCPS_SN_STR PCPS_DEV_CFG::sernum

Definition at line 609 of file pcpsdev.h.

Referenced by setup_sernum_and_receiver_info().

◆ short_status_port

PCPS_SHORT_PORT_ADDR PCPS_DEV_CFG::short_status_port

Definition at line 603 of file pcpsdev.h.

Referenced by pcps_probe_device().

◆ slot_num

PCPS_SLOT_NUM PCPS_DEV_CFG::slot_num

Definition at line 601 of file pcpsdev.h.

Referenced by pcps_probe_device().

◆ timeout_clk

uint32_t PCPS_DEV_CFG::timeout_clk

Definition at line 605 of file pcpsdev.h.

Referenced by pcps_probe_device().


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