Download RCC-1.2.18 drivers Manual
Transcript
70
GR-RTEMS-DRIVER
15.2.5.1 HWINFO
struct router_hw_info {
unsigned char nports_spw;
unsigned char nports_amba;
unsigned char nports_fifo;
char timers_avail;
char pnp_avail;
unsigned char ver_major;
unsigned char ver_minor;
unsigned char ver_patch;
unsigned char iid;
};
Member
Description
nports_spw
Number of SpaceWire ports in the router
nports_amba
Number of AMBA ports in the router
nports_fifo
Number of FIFO ports in the router
timers_avail
1 if the router has timers 0 otherwise
pnp_avail
1 if the router has support for SpaceWire Plug and Play 0
otherwise
ver_major
Major version number of the router
ver_minor
Minor version number of the router
ver_patch
Patch number of the router
iid
Instance ID of the router
Table 33: router_hw_info member descriptions.
The router hardware information struct contains fields for static hardware parameters. This call
reads the actual value for each field from hardware and stores them in the struct.