Software Library API naibrd 2.24.0
See all documentation at naii.docs.com
naibrd_irig.h File Reference

Go to the source code of this file.

Typedefs

typedef enum naibrd_irig_format naibrd_irig_format_t
 
typedef enum naibrd_irig_modulation naibrd_irig_modulation_t
 
typedef enum naibrd_irig_carrier_freq naibrd_irig_carrier_freq_t
 
typedef enum naibrd_irig_code_exp naibrd_irig_code_exp_t
 
typedef enum naibrd_irig_dst_status_type naibrd_irig_dst_status_type_t
 
typedef enum naibrd_irig_capture_event_edge_type_t naibrd_irig_capture_event_edge_type_t
 
typedef enum naibrd_irig_capture_event_input_state_type naibrd_irig_capture_event_input_state_type_t
 
typedef enum naibrd_irig_terminate_t naibrd_irig_terminate_t
 
typedef enum naibrd_irig_protocol_value naibrd_irig_protocol_value_t
 
typedef enum naibrd_irig_signal_level naibrd_irig_signal_level_t
 
typedef enum naibrd_irig_signal_type naibrd_irig_signal_type_t
 
typedef enum naibrd_irig_serial_port_type naibrd_irig_serial_port_type_t
 
typedef enum naibrd_irig_event_mapped_status_type naibrd_irig_event_mapped_status_type_t
 
typedef enum naibrd_irig_event_mapped_category_type naibrd_irig_event_mapped_category_type_t
 

Enumerations

enum  naibrd_irig_format { NAIBRD_IRIG_CTRL_MODE_IRIG_FORMAT_A = 1 , NAIBRD_IRIG_CTRL_MODE_IRIG_FORMAT_B = 2 , NAIBRD_IRIG_CTRL_MODE_IRIG_FORMAT_G = 7 }
 
enum  naibrd_irig_modulation { NAIBRD_IRIG_CTRL_MODE_IRIG_MODULATION_DCLS , NAIBRD_IRIG_CTRL_MODE_IRIG_MODULATION_AM_ASK , NAIBRD_IRIG_CTRL_MODE_IRIG_MODULATION_DC_MANCHESTER }
 
enum  naibrd_irig_carrier_freq {
  NAIBRD_IRIG_MODE_CARRIER_FREQUENCY_NONE , NAIBRD_IRIG_MODE_CARRIER_FREQUENCY_100HZ , NAIBRD_IRIG_MODE_CARRIER_FREQUENCY_1KHZ , NAIBRD_IRIG_MODE_CARRIER_FREQUENCY_10KHZ ,
  NAIBRD_IRIG_MODE_CARRIER_FREQUENCY_100KHZ , NAIBRD_IRIG_MODE_CARRIER_FREQUENCY_1MHZ
}
 
enum  naibrd_irig_code_exp {
  NAIBRD_IRIG_CTRL_MODE_CODE_EXP_BCDTOY_CF_SBS , NAIBRD_IRIG_CTRL_MODE_CODE_EXP_BCDTOY_CF , NAIBRD_IRIG_CTRL_MODE_CODE_EXP_BCDTOY , NAIBRD_IRIG_CTRL_MODE_CODE_EXP_BCDTOY_SBS ,
  NAIBRD_IRIG_CTRL_MODE_CODE_EXP_BCDTOY_BCDYEAR_CF_SBS , NAIBRD_IRIG_CTRL_MODE_CODE_EXP_BCDTOY_BCDYEAR_CF , NAIBRD_IRIG_CTRL_MODE_CODE_EXP_BCDTOY_BCDYEAR , NAIBRD_IRIG_CTRL_MODE_CODE_EXP_BCDTOY_BCDYEAR_SBS
}
 
enum  naibrd_irig_dst_status_type { NAIBRD_IRIG_DST_STATUS_DISABLED , NAIBRD_IRIG_DST_STATUS_ENABLED }
 
enum  naibrd_irig_capture_event_edge_type_t { NAIBRD_IRIG_CAPTURE_EVENT_RISING_EDGE , NAIBRD_IRIG_CAPTURE_EVENT_FALLING_EDGE }
 
enum  naibrd_irig_capture_event_input_state_type { NAIBRD_IRIG_CAPTURE_EVENT_INPUT_STATE_LO , NAIBRD_IRIG_CAPTURE_EVENT_INPUT_STATE_HI }
 
enum  naibrd_irig_terminate_t { NAIBRD_IRIG_NOT_TERMINATED , NAIBRD_IRIG_TERMINATED }
 
enum  naibrd_irig_protocol_value {
  NAIBRD_IRIG_PROTOCOL_VALUE_1000 = 0x1000 , NAIBRD_IRIG_PROTOCOL_VALUE_1001 = 0x1001 , NAIBRD_IRIG_PROTOCOL_VALUE_1002 = 0x1002 , NAIBRD_IRIG_PROTOCOL_VALUE_1003 = 0x1003 ,
  NAIBRD_IRIG_PROTOCOL_VALUE_1004 = 0x1004 , NAIBRD_IRIG_PROTOCOL_VALUE_1005 = 0x1005 , NAIBRD_IRIG_PROTOCOL_VALUE_1006 = 0x1006 , NAIBRD_IRIG_PROTOCOL_VALUE_1007 = 0x1007 ,
  NAIBRD_IRIG_PROTOCOL_VALUE_1130 = 0x1130 , NAIBRD_IRIG_PROTOCOL_VALUE_1131 = 0x1131 , NAIBRD_IRIG_PROTOCOL_VALUE_1132 = 0x1132 , NAIBRD_IRIG_PROTOCOL_VALUE_1133 = 0x1133 ,
  NAIBRD_IRIG_PROTOCOL_VALUE_1134 = 0x1134 , NAIBRD_IRIG_PROTOCOL_VALUE_1135 = 0x1135 , NAIBRD_IRIG_PROTOCOL_VALUE_1136 = 0x1136 , NAIBRD_IRIG_PROTOCOL_VALUE_1137 = 0x1137 ,
  NAIBRD_IRIG_PROTOCOL_VALUE_2000 = 0x2000 , NAIBRD_IRIG_PROTOCOL_VALUE_2001 = 0x2001 , NAIBRD_IRIG_PROTOCOL_VALUE_2002 = 0x2002 , NAIBRD_IRIG_PROTOCOL_VALUE_2003 = 0x2003 ,
  NAIBRD_IRIG_PROTOCOL_VALUE_2004 = 0x2004 , NAIBRD_IRIG_PROTOCOL_VALUE_2005 = 0x2005 , NAIBRD_IRIG_PROTOCOL_VALUE_2006 = 0x2006 , NAIBRD_IRIG_PROTOCOL_VALUE_2007 = 0x2007 ,
  NAIBRD_IRIG_PROTOCOL_VALUE_2120 = 0x2120 , NAIBRD_IRIG_PROTOCOL_VALUE_2121 = 0x2121 , NAIBRD_IRIG_PROTOCOL_VALUE_2122 = 0x2122 , NAIBRD_IRIG_PROTOCOL_VALUE_2123 = 0x2123 ,
  NAIBRD_IRIG_PROTOCOL_VALUE_2124 = 0x2124 , NAIBRD_IRIG_PROTOCOL_VALUE_2125 = 0x2125 , NAIBRD_IRIG_PROTOCOL_VALUE_2126 = 0x2126 , NAIBRD_IRIG_PROTOCOL_VALUE_2127 = 0x2127 ,
  NAIBRD_IRIG_PROTOCOL_VALUE_7001 = 0x7001 , NAIBRD_IRIG_PROTOCOL_VALUE_7002 = 0x7002 , NAIBRD_IRIG_PROTOCOL_VALUE_7005 = 0x7005 , NAIBRD_IRIG_PROTOCOL_VALUE_7006 = 0x7006 ,
  NAIBRD_IRIG_PROTOCOL_VALUE_7141 = 0x7141 , NAIBRD_IRIG_PROTOCOL_VALUE_7142 = 0x7142 , NAIBRD_IRIG_PROTOCOL_VALUE_7145 = 0x7145 , NAIBRD_IRIG_PROTOCOL_VALUE_7146 = 0x7146
}
 
enum  naibrd_irig_signal_level { NAIBRD_IRIG_SIGNAL_LEVEL_RS232 = 0 , NAIBRD_IRIG_SIGNAL_LEVEL_RS485 = 1 }
 
enum  naibrd_irig_signal_type { NAIBRD_IRIG_SIGNAL_DIGITAL_OUT = 0 , NAIBRD_IRIG_SIGNAL_1PPS_OUT_EVENT_IN = 1 }
 
enum  naibrd_irig_serial_port_type { NAIBRD_IRIG_SERIAL_PORT_1 = 0 , NAIBRD_IRIG_SERIAL_PORT_2 = 1 }
 
enum  naibrd_irig_event_mapped_status_type {
  NAIBRD_IRIG_EVTMAP_STATUS_BIT_DATA_LOSS_LATCHED , NAIBRD_IRIG_EVTMAP_STATUS_BIT_DATA_LOSS_REALTIME , NAIBRD_IRIG_EVTMAP_STATUS_BIT_SOFT_FAULT_LATCHED , NAIBRD_IRIG_EVTMAP_STATUS_BIT_SOFT_FAULT_REALTIME ,
  NAIBRD_IRIG_EVTMAP_STATUS_REF_LOSS_LATCHED , NAIBRD_IRIG_EVTMAP_STATUS_REF_LOSS_REALTIME , NAIBRD_IRIG_EVTMAP_STATUS_RX_REF_LATCHED , NAIBRD_IRIG_EVTMAP_STATUS_RX_REF_REALTIME ,
  NAIBRD_IRIG_EVTMAP_STATUS_REF_PULSE_RX_LATCHED , NAIBRD_IRIG_EVTMAP_STATUS_REF_PULSE_RX_REALTIME , NAIBRD_IRIG_EVTMAP_STATUS_INTERRUPT_1PPS_OUTPUT_HIGH_LATCHED , NAIBRD_IRIG_EVTMAP_STATUS_INTERRUPT_1PPS_OUTPUT_HIGH_REALTIME ,
  NAIBRD_IRIG_EVTMAP_STATUS_RX_CONTROL_BITS_CHANGED_LATCHED , NAIBRD_IRIG_EVTMAP_STATUS_RX_CONTROL_BITS_CHANGED_REALTIME , NAIBRD_IRIG_EVTMAP_STATUS_CONTROL_BITS_RX_LATCHED , NAIBRD_IRIG_EVTMAP_STATUS_CONTROL_BITS_RX_REALTIME ,
  NAIBRD_IRIG_EVTMAP_STATUS_CHANGE_REF_SRC_LATCHED , NAIBRD_IRIG_EVTMAP_STATUS_CHANGE_REF_SRC_REALTIME , NAIBRD_IRIG_EVTMAP_STATUS_EVENT_DETECTED_LATCHED , NAIBRD_IRIG_EVTMAP_STATUS_EVENT_DETECTED_REALTIME ,
  NAIBRD_IRIG_EVTMAP_STATUS_USER_INTERRUPT_LATCHED , NAIBRD_IRIG_EVTMAP_STATUS_USER_INTERRUPT_REALTIME , NAIBRD_IRIG_EVTMAP_STATUS_DST_ADJUST_LATCHED , NAIBRD_IRIG_EVTMAP_STATUS_DST_ADJUST_REALTIME ,
  NAIBRD_IRIG_EVTMAP_STATUS_TEST_INTERRUPT_LATCHED , NAIBRD_IRIG_EVTMAP_STATUS_TEST_INTERRUPT_REALTIME
}
 
enum  naibrd_irig_event_mapped_category_type { NAIBRD_IRIG_EVTMAP_CATEGORY_BIT , NAIBRD_IRIG_EVTMAP_CATEGORY_GENERAL }
 

Typedef Documentation

◆ naibrd_irig_capture_event_edge_type_t

◆ naibrd_irig_capture_event_input_state_type_t

◆ naibrd_irig_carrier_freq_t

◆ naibrd_irig_code_exp_t

◆ naibrd_irig_dst_status_type_t

◆ naibrd_irig_event_mapped_category_type_t

◆ naibrd_irig_event_mapped_status_type_t

◆ naibrd_irig_format_t

◆ naibrd_irig_modulation_t

◆ naibrd_irig_protocol_value_t

◆ naibrd_irig_serial_port_type_t

◆ naibrd_irig_signal_level_t

◆ naibrd_irig_signal_type_t

◆ naibrd_irig_terminate_t

Enumeration Type Documentation

◆ naibrd_irig_capture_event_edge_type_t

naibrd_irig_capture_event_edge_type_t

Enumerator
NAIBRD_IRIG_CAPTURE_EVENT_RISING_EDGE 
NAIBRD_IRIG_CAPTURE_EVENT_FALLING_EDGE 

◆ naibrd_irig_capture_event_input_state_type

naibrd_irig_capture_event_input_state_type

Enumerator
NAIBRD_IRIG_CAPTURE_EVENT_INPUT_STATE_LO 
NAIBRD_IRIG_CAPTURE_EVENT_INPUT_STATE_HI 

◆ naibrd_irig_carrier_freq

naibrd_irig_carrier_freq

Enumerator
NAIBRD_IRIG_MODE_CARRIER_FREQUENCY_NONE 
NAIBRD_IRIG_MODE_CARRIER_FREQUENCY_100HZ 
NAIBRD_IRIG_MODE_CARRIER_FREQUENCY_1KHZ 
NAIBRD_IRIG_MODE_CARRIER_FREQUENCY_10KHZ 
NAIBRD_IRIG_MODE_CARRIER_FREQUENCY_100KHZ 
NAIBRD_IRIG_MODE_CARRIER_FREQUENCY_1MHZ 

◆ naibrd_irig_code_exp

naibrd_irig_code_exp

Enumerator
NAIBRD_IRIG_CTRL_MODE_CODE_EXP_BCDTOY_CF_SBS 
NAIBRD_IRIG_CTRL_MODE_CODE_EXP_BCDTOY_CF 
NAIBRD_IRIG_CTRL_MODE_CODE_EXP_BCDTOY 
NAIBRD_IRIG_CTRL_MODE_CODE_EXP_BCDTOY_SBS 
NAIBRD_IRIG_CTRL_MODE_CODE_EXP_BCDTOY_BCDYEAR_CF_SBS 
NAIBRD_IRIG_CTRL_MODE_CODE_EXP_BCDTOY_BCDYEAR_CF 
NAIBRD_IRIG_CTRL_MODE_CODE_EXP_BCDTOY_BCDYEAR 
NAIBRD_IRIG_CTRL_MODE_CODE_EXP_BCDTOY_BCDYEAR_SBS 

◆ naibrd_irig_dst_status_type

naibrd_irig_dst_status_type

Enumerator
NAIBRD_IRIG_DST_STATUS_DISABLED 
NAIBRD_IRIG_DST_STATUS_ENABLED 

◆ naibrd_irig_event_mapped_category_type

naibrd_irig_event_mapped_category_type

Enumerator
NAIBRD_IRIG_EVTMAP_CATEGORY_BIT 
NAIBRD_IRIG_EVTMAP_CATEGORY_GENERAL 

◆ naibrd_irig_event_mapped_status_type

naibrd_irig_event_mapped_status_type

Enumerator
NAIBRD_IRIG_EVTMAP_STATUS_BIT_DATA_LOSS_LATCHED 
NAIBRD_IRIG_EVTMAP_STATUS_BIT_DATA_LOSS_REALTIME 
NAIBRD_IRIG_EVTMAP_STATUS_BIT_SOFT_FAULT_LATCHED 
NAIBRD_IRIG_EVTMAP_STATUS_BIT_SOFT_FAULT_REALTIME 
NAIBRD_IRIG_EVTMAP_STATUS_REF_LOSS_LATCHED 
NAIBRD_IRIG_EVTMAP_STATUS_REF_LOSS_REALTIME 
NAIBRD_IRIG_EVTMAP_STATUS_RX_REF_LATCHED 
NAIBRD_IRIG_EVTMAP_STATUS_RX_REF_REALTIME 
NAIBRD_IRIG_EVTMAP_STATUS_REF_PULSE_RX_LATCHED 
NAIBRD_IRIG_EVTMAP_STATUS_REF_PULSE_RX_REALTIME 
NAIBRD_IRIG_EVTMAP_STATUS_INTERRUPT_1PPS_OUTPUT_HIGH_LATCHED 
NAIBRD_IRIG_EVTMAP_STATUS_INTERRUPT_1PPS_OUTPUT_HIGH_REALTIME 
NAIBRD_IRIG_EVTMAP_STATUS_RX_CONTROL_BITS_CHANGED_LATCHED 
NAIBRD_IRIG_EVTMAP_STATUS_RX_CONTROL_BITS_CHANGED_REALTIME 
NAIBRD_IRIG_EVTMAP_STATUS_CONTROL_BITS_RX_LATCHED 
NAIBRD_IRIG_EVTMAP_STATUS_CONTROL_BITS_RX_REALTIME 
NAIBRD_IRIG_EVTMAP_STATUS_CHANGE_REF_SRC_LATCHED 
NAIBRD_IRIG_EVTMAP_STATUS_CHANGE_REF_SRC_REALTIME 
NAIBRD_IRIG_EVTMAP_STATUS_EVENT_DETECTED_LATCHED 
NAIBRD_IRIG_EVTMAP_STATUS_EVENT_DETECTED_REALTIME 
NAIBRD_IRIG_EVTMAP_STATUS_USER_INTERRUPT_LATCHED 
NAIBRD_IRIG_EVTMAP_STATUS_USER_INTERRUPT_REALTIME 
NAIBRD_IRIG_EVTMAP_STATUS_DST_ADJUST_LATCHED 
NAIBRD_IRIG_EVTMAP_STATUS_DST_ADJUST_REALTIME 
NAIBRD_IRIG_EVTMAP_STATUS_TEST_INTERRUPT_LATCHED 
NAIBRD_IRIG_EVTMAP_STATUS_TEST_INTERRUPT_REALTIME 

◆ naibrd_irig_format

naibrd_irig_format

Enumerator
NAIBRD_IRIG_CTRL_MODE_IRIG_FORMAT_A 
NAIBRD_IRIG_CTRL_MODE_IRIG_FORMAT_B 
NAIBRD_IRIG_CTRL_MODE_IRIG_FORMAT_G 

◆ naibrd_irig_modulation

naibrd_irig_modulation

Enumerator
NAIBRD_IRIG_CTRL_MODE_IRIG_MODULATION_DCLS 
NAIBRD_IRIG_CTRL_MODE_IRIG_MODULATION_AM_ASK 
NAIBRD_IRIG_CTRL_MODE_IRIG_MODULATION_DC_MANCHESTER 

◆ naibrd_irig_protocol_value

naibrd_irig_protocol_value

Enumerator
NAIBRD_IRIG_PROTOCOL_VALUE_1000 
NAIBRD_IRIG_PROTOCOL_VALUE_1001 
NAIBRD_IRIG_PROTOCOL_VALUE_1002 
NAIBRD_IRIG_PROTOCOL_VALUE_1003 
NAIBRD_IRIG_PROTOCOL_VALUE_1004 
NAIBRD_IRIG_PROTOCOL_VALUE_1005 
NAIBRD_IRIG_PROTOCOL_VALUE_1006 
NAIBRD_IRIG_PROTOCOL_VALUE_1007 
NAIBRD_IRIG_PROTOCOL_VALUE_1130 
NAIBRD_IRIG_PROTOCOL_VALUE_1131 
NAIBRD_IRIG_PROTOCOL_VALUE_1132 
NAIBRD_IRIG_PROTOCOL_VALUE_1133 
NAIBRD_IRIG_PROTOCOL_VALUE_1134 
NAIBRD_IRIG_PROTOCOL_VALUE_1135 
NAIBRD_IRIG_PROTOCOL_VALUE_1136 
NAIBRD_IRIG_PROTOCOL_VALUE_1137 
NAIBRD_IRIG_PROTOCOL_VALUE_2000 
NAIBRD_IRIG_PROTOCOL_VALUE_2001 
NAIBRD_IRIG_PROTOCOL_VALUE_2002 
NAIBRD_IRIG_PROTOCOL_VALUE_2003 
NAIBRD_IRIG_PROTOCOL_VALUE_2004 
NAIBRD_IRIG_PROTOCOL_VALUE_2005 
NAIBRD_IRIG_PROTOCOL_VALUE_2006 
NAIBRD_IRIG_PROTOCOL_VALUE_2007 
NAIBRD_IRIG_PROTOCOL_VALUE_2120 
NAIBRD_IRIG_PROTOCOL_VALUE_2121 
NAIBRD_IRIG_PROTOCOL_VALUE_2122 
NAIBRD_IRIG_PROTOCOL_VALUE_2123 
NAIBRD_IRIG_PROTOCOL_VALUE_2124 
NAIBRD_IRIG_PROTOCOL_VALUE_2125 
NAIBRD_IRIG_PROTOCOL_VALUE_2126 
NAIBRD_IRIG_PROTOCOL_VALUE_2127 
NAIBRD_IRIG_PROTOCOL_VALUE_7001 
NAIBRD_IRIG_PROTOCOL_VALUE_7002 
NAIBRD_IRIG_PROTOCOL_VALUE_7005 
NAIBRD_IRIG_PROTOCOL_VALUE_7006 
NAIBRD_IRIG_PROTOCOL_VALUE_7141 
NAIBRD_IRIG_PROTOCOL_VALUE_7142 
NAIBRD_IRIG_PROTOCOL_VALUE_7145 
NAIBRD_IRIG_PROTOCOL_VALUE_7146 

◆ naibrd_irig_serial_port_type

naibrd_irig_serial_port_type

Enumerator
NAIBRD_IRIG_SERIAL_PORT_1 
NAIBRD_IRIG_SERIAL_PORT_2 

◆ naibrd_irig_signal_level

naibrd_irig_signal_level

Enumerator
NAIBRD_IRIG_SIGNAL_LEVEL_RS232 
NAIBRD_IRIG_SIGNAL_LEVEL_RS485 

◆ naibrd_irig_signal_type

naibrd_irig_signal_type

Enumerator
NAIBRD_IRIG_SIGNAL_DIGITAL_OUT 
NAIBRD_IRIG_SIGNAL_1PPS_OUT_EVENT_IN 

◆ naibrd_irig_terminate_t

naibrd_irig_terminate_t

Enumerator
NAIBRD_IRIG_NOT_TERMINATED 
NAIBRD_IRIG_TERMINATED