|
enum | SCU_STAT_MASKS {
MSK_EPLD_STAT_TS1 = 0x0001,
MSK_EPLD_STAT_TS2 = 0x0002,
MSK_EPLD_STAT_TL_ERROR = 0x0004,
MSK_EPLD_STAT_PSU1_OK = 0x0008,
MSK_EPLD_STAT_PSU2_OK = 0x0010,
MSK_EPLD_STAT_AUTO = 0x0020,
MSK_EPLD_STAT_SEL = 0x0040,
MSK_EPLD_STAT_ENA = 0x0080,
MSK_EPLD_STAT_HAS_LAN = 0x0100,
MSK_EPLD_STAT_RESERVED0 = 0x0200,
MSK_EPLD_STAT_RESERVED1 = 0x0400,
MSK_EPLD_STAT_HAS_4_PSUS = 0x0800,
MSK_EPLD_STAT_PSU3_OK = 0x1000,
MSK_EPLD_STAT_PSU4_OK = 0x2000,
MSK_EPLD_STAT_ACO = 0x4000,
MSK_EPLD_STAT_WDOG_OK = 0x8000
} |
| Bit masks used to check the SCU EPLD status. More...
|
|
enum | SCU_CTRL_MASKS {
MSK_EPLD_CTL_DISB_SERIAL = 0x0001,
MSK_EPLD_CTL_DISB_PPS = 0x0002,
MSK_EPLD_CTL_DISB_10MHZ = 0x0004,
MSK_EPLD_CNTL_SEL_REM = 0x0800,
MSK_EPLD_CNTL_DIS_REM = 0x1000,
MSK_EPLD_CNTL_REMOTE = 0x2000,
MSK_EPLD_CNTL_SEL_SNMP = 0x4000,
MSK_EPLD_CNTL_ENA_SNMP = 0x8000
} |
| Bit masks used to control the SCU EPLD. More...
|
|
enum | SCU_CLK_INFO_TYPES {
SCU_CLK_INFO_GPS,
SCU_CLK_INFO_DCF_PZF,
SCU_CLK_INFO_DCF_AM,
SCU_CLK_INFO_TCR,
N_SCU_CLK_INFO
} |
| Definitions for SCU_STAT_INFO::clk0_info and SCU_STAT_INFO::clk1_info. More...
|
|
The structures below are used with the SCU multiplexer board in a redundant system.
- See also
- ::GPS_MODEL_IS_SCU
◆ _mbg_swab_scu_stat_info
#define _mbg_swab_scu_stat_info |
( |
|
_p | ) |
|
Value:do \
{ \
_mbg_swab32( &(_p)->hw_id ); \
_mbg_swab32( &(_p)->fw_id ); \
_mbg_swab16( &(_p)->flags ); \
_mbg_swab8( &(_p)->clk0_info ); \
_mbg_swab8( &(_p)->clk1_info ); \
_mbg_swab16( &(_p)->epld_status ); \
_mbg_swab16( &(_p)->epld_control ); \
} while ( 0 )
Definition at line 10456 of file gpsdefs.h.
Referenced by mbgextio_get_scu_stat_info().
◆ _mbg_swab_scu_stat_settings
#define _mbg_swab_scu_stat_settings |
( |
|
_p | ) |
|
Value:do \
{ \
_mbg_swab16( &(_p)->epld_control_mask ); \
_mbg_swab16( &(_p)->epld_control_value ); \
_mbg_swab32( &(_p)->flags ); \
} while ( 0 )
Definition at line 10478 of file gpsdefs.h.
Referenced by mbgextio_set_scu_stat_settings().
◆ SCU_CLK_INFO_TYPES
Definitions for SCU_STAT_INFO::clk0_info and SCU_STAT_INFO::clk1_info.
Can be used to determine the reference clock type connected to the SCU input channels.
Enumerator |
---|
SCU_CLK_INFO_GPS | ref. clock is GPS receiver
|
SCU_CLK_INFO_DCF_PZF | ref. clock is DCF77 PZF receiver
|
SCU_CLK_INFO_DCF_AM | ref. clock is DCF77 AM receiver
|
SCU_CLK_INFO_TCR | ref. clock is IRIG time code receiver
|
N_SCU_CLK_INFO | number of known types
|
Definition at line 10541 of file gpsdefs.h.
◆ SCU_CTRL_MASKS
Bit masks used to control the SCU EPLD.
Used with SCU_STAT_INFO::epld_control, SCU_STAT_SETTINGS::epld_control_mask, and SCU_STAT_SETTINGS::epld_control_value.
Enumerator |
---|
MSK_EPLD_CTL_DISB_SERIAL | disable serial output on error
|
MSK_EPLD_CTL_DISB_PPS | disable PPS output on error
|
MSK_EPLD_CTL_DISB_10MHZ | disable 10 MHz output on error
|
MSK_EPLD_CNTL_SEL_REM | remote select for output MUX (clk_1 = 0)
|
MSK_EPLD_CNTL_DIS_REM | remote disable for output MUX
|
MSK_EPLD_CNTL_REMOTE | must be set to enable remote operation
|
MSK_EPLD_CNTL_SEL_SNMP | select clk for comm. (clk1 = 0)
|
MSK_EPLD_CNTL_ENA_SNMP | connect COM0 channels to XPORT
|
Definition at line 10521 of file gpsdefs.h.
◆ SCU_STAT_MASKS
Bit masks used to check the SCU EPLD status.
Used with SCU_STAT_INFO::epld_status
Enumerator |
---|
MSK_EPLD_STAT_TS1 | state of time sync signal clk_1
|
MSK_EPLD_STAT_TS2 | state of time sync signal clk_2
|
MSK_EPLD_STAT_TL_ERROR | state of time limit error input
|
MSK_EPLD_STAT_PSU1_OK | state of power supply 1 monitoring input
|
MSK_EPLD_STAT_PSU2_OK | state of power supply 2 monitoring input
|
MSK_EPLD_STAT_AUTO | AUTOMATIC/REMOTE or MANUAL Mode.
|
MSK_EPLD_STAT_SEL | select bit for output MUX, ( clk_1 = 0 )
|
MSK_EPLD_STAT_ENA | enable Bit for output MUX, set if enabled
|
MSK_EPLD_STAT_HAS_LAN | indicates that the device has a network interface
|
MSK_EPLD_STAT_RESERVED0 | reserved, DO NOT USE!
|
MSK_EPLD_STAT_RESERVED1 | reserved, DO NOT USE!
|
MSK_EPLD_STAT_HAS_4_PSUS | indicates 4 power supplies instead of 2
|
MSK_EPLD_STAT_PSU3_OK | state of power supply 3 monitoring input
|
MSK_EPLD_STAT_PSU4_OK | state of power supply 4 monitoring input
|
MSK_EPLD_STAT_ACO | Access control override bit.
|
MSK_EPLD_STAT_WDOG_OK | WDT_OK set to zero if watchdog expired.
|
Definition at line 10493 of file gpsdefs.h.