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

Go to the source code of this file.

Typedefs

typedef enum nai_ttl_status_type naibrd_ttl_status_type_t
 
typedef enum naibrd_ttl_state naibrd_ttl_state_t
 
typedef enum naibrd_ttl_ioformat naibrd_ttl_ioformat_t
 
typedef enum naibrd_ttl_vcc naibrd_ttl_vcc_t
 
typedef enum naibrd_ttl_reset_type naibrd_ttl_reset_type_t
 
typedef enum naibrd_ttl_module_power_reset_status_type naibrd_ttl_module_power_reset_status_type_t
 
typedef enum naibrd_ttl_module_power_reset_type naibrd_ttl_module_power_reset_type_t
 
typedef enum naibrd_ttl_enable_type naibrd_ttl_enable_type_t
 
typedef enum naibrd_ttl_enhanced_mode_type naibrd_ttl_enhanced_mode_t
 
typedef enum naibrd_ttl_event_mapped_status_type naibrd_ttl_event_mapped_status_type_t
 
typedef enum naibrd_ttl_event_mapped_category_type naibrd_ttl_event_mapped_category_type_t
 
typedef enum naibrd_ttl_pattern_ctrl_type naibrd_ttl_pattern_ctrl_t
 
typedef enum naibrd_ttl_pwm_polarity_type naibrd_ttl_pwm_polarity_t
 
typedef enum naibrd_ttl_pwm_mode_type naibrd_ttl_pwm_mode_t
 

Enumerations

enum  nai_ttl_status_type {
  NAIBRD_TTL_STATUS_BIT_LATCHED , NAIBRD_TTL_STATUS_BIT_REALTIME , NAIBRD_TTL_STATUS_OVERCURRENT_LATCHED , NAIBRD_TTL_STATUS_OVERCURRENT_REALTIME ,
  NAIBRD_TTL_STATUS_LO_HI_TRANS_LATCHED , NAIBRD_TTL_STATUS_LO_HI_TRANS_REALTIME , NAIBRD_TTL_STATUS_HI_LO_TRANS_LATCHED , NAIBRD_TTL_STATUS_HI_LO_TRANS_REALTIME ,
  NAIBRD_TTL_STATUS_SUMMARY_LATCHED , NAIBRD_TTL_STATUS_SUMMARY_REALTIME , NAIBRD_TTL_STATUS_WATCHDOG_TIMER_FAULT_LATCHED , NAIBRD_TTL_STATUS_WATCHDOG_TIMER_FAULT_REALTIME ,
  NAIBRD_TTL_STATUS_INTER_FPGA_FAULT_LATCHED , NAIBRD_TTL_STATUS_INTER_FPGA_FAULT_REALTIME
}
 
enum  naibrd_ttl_state { NAIBRD_TTL_STATE_LO = 0u , NAIBRD_TTL_STATE_HI = 1u , NAIBRD_TTL_STATE_INVALID }
 
enum  naibrd_ttl_ioformat { NAIBRD_TTL_IOFORMAT_INPUT , NAIBRD_TTL_IOFORMAT_OUTPUT , NAIBRD_TTL_IOFORMAT_INVALID }
 
enum  naibrd_ttl_vcc { NAIBRD_TTL_VCC_EXTERNAL = 0u , NAIBRD_TTL_VCC_INTERNAL = 1u , NAIBRD_TTL_VCC_INVALID }
 
enum  naibrd_ttl_reset_type { NAIBRD_TTL_RESET_TIMER_ONLY , NAIBRD_TTL_RESET_OVERCURRENT_STATUS , NAIBRD_TTL_RESET_OVERCURRENT }
 
enum  naibrd_ttl_module_power_reset_status_type {
  NAIBRD_TTL_MODULE_POWER_RESET_STATUS_POWERED_DOWN , NAIBRD_TTL_MODULE_POWER_RESET_STATUS_NOT_DETECTED , NAIBRD_TTL_MODULE_POWER_RESET_STATUS_NOT_LINK_INIT , NAIBRD_TTL_MODULE_POWER_RESET_STATUS_FW_NOT_READY ,
  NAIBRD_TTL_MODULE_POWER_RESET_STATUS_COMM_ERROR
}
 
enum  naibrd_ttl_module_power_reset_type { NAIBRD_TTL_MODULE_POWER_RESET_REQUEST_RESET = 0 , NAIBRD_TTL_MODULE_POWER_RESET_REQUEST_POWER_DOWN , NAIBRD_TTL_MODULE_POWER_RESET_REQUEST_POWER_UP }
 
enum  naibrd_ttl_enable_type { NAIBRD_TTL_DISABLE , NAIBRD_TTL_ENABLE , NAIBRD_TTL_ENABLE_UNKNOWN }
 
enum  naibrd_ttl_enhanced_mode_type {
  NAIBRD_TTL_MODE_STD_INPUT_OUTPUT , NAIBRD_TTL_MODE_MEASURE_HIGH_TIME , NAIBRD_TTL_MODE_MEASURE_LOW_TIME , NAIBRD_TTL_MODE_TIMESTAMP_RISING_EDGES ,
  NAIBRD_TTL_MODE_TIMESTAMP_FALLING_EDGES , NAIBRD_TTL_MODE_TIMESTAMP_ALL_EDGES , NAIBRD_TTL_MODE_COUNT_RISING_EDGES , NAIBRD_TTL_MODE_COUNT_FALLING_EDGES ,
  NAIBRD_TTL_MODE_COUNT_ALL_EDGES , NAIBRD_TTL_MODE_MEASURE_PERIOD_RISING_EDGE , NAIBRD_TTL_MODE_MEASURE_FREQUENCY , NAIBRD_TTL_MODE_OUTPUT_PWM_FOREVER ,
  NAIBRD_TTL_MODE_OUTPUT_PWM_CYCLE_NUM_TIMES , NAIBRD_TTL_MODE_OUTPUT_PATTERN_RAM , NAIBRD_TTL_MODE_UNKNOWN
}
 
enum  naibrd_ttl_event_mapped_status_type {
  NAIBRD_TTL_EVENT_STATUS_FIFO_BTWN_ALMOST_EMPTY_FULL_REALTIME = 0u , NAIBRD_TTL_EVENT_STATUS_FIFO_FULL_REALTIME , NAIBRD_TTL_EVENT_STATUS_FIFO_ALMOST_FULL_REALTIME , NAIBRD_TTL_EVENT_STATUS_FIFO_ALMOST_EMPTY_REALTIME ,
  NAIBRD_TTL_EVENT_STATUS_FIFO_EMPTY_REALTIME
}
 
enum  naibrd_ttl_event_mapped_category_type { NAIBRD_TTL_EVENT_MAP_FIFO }
 
enum  naibrd_ttl_pattern_ctrl_type {
  NAIBRD_TTL_CTRL_PATTERN_ENABLE , NAIBRD_TTL_CTRL_PATTERN_BURST , NAIBRD_TTL_CTRL_PATTERN_PAUSE , NAIBRD_TTL_CTRL_PATTERN_SYNC_RISING ,
  NAIBRD_TTL_CTRL_PATTERN_SYNC_FALLING
}
 
enum  naibrd_ttl_pwm_polarity_type { NAIBRD_TTL_PWMPOLARITY_POS , NAIBRD_TTL_PWMPOLARITY_NEG , NAIBRD_TTL_PWMPOLARITY_UNKNOWN }
 
enum  naibrd_ttl_pwm_mode_type { NAIBRD_TTL_PWM_MODE_OFF , NAIBRD_TTL_PWM_MODE_ON }
 

Typedef Documentation

◆ naibrd_ttl_enable_type_t

◆ naibrd_ttl_enhanced_mode_t

◆ naibrd_ttl_event_mapped_category_type_t

◆ naibrd_ttl_event_mapped_status_type_t

◆ naibrd_ttl_ioformat_t

◆ naibrd_ttl_module_power_reset_status_type_t

◆ naibrd_ttl_module_power_reset_type_t

◆ naibrd_ttl_pattern_ctrl_t

◆ naibrd_ttl_pwm_mode_t

◆ naibrd_ttl_pwm_polarity_t

◆ naibrd_ttl_reset_type_t

◆ naibrd_ttl_state_t

◆ naibrd_ttl_status_type_t

◆ naibrd_ttl_vcc_t

Enumeration Type Documentation

◆ nai_ttl_status_type

nai_ttl_status_type

Enumerator
NAIBRD_TTL_STATUS_BIT_LATCHED 
NAIBRD_TTL_STATUS_BIT_REALTIME 
NAIBRD_TTL_STATUS_OVERCURRENT_LATCHED 
NAIBRD_TTL_STATUS_OVERCURRENT_REALTIME 
NAIBRD_TTL_STATUS_LO_HI_TRANS_LATCHED 
NAIBRD_TTL_STATUS_LO_HI_TRANS_REALTIME 
NAIBRD_TTL_STATUS_HI_LO_TRANS_LATCHED 
NAIBRD_TTL_STATUS_HI_LO_TRANS_REALTIME 
NAIBRD_TTL_STATUS_SUMMARY_LATCHED 
NAIBRD_TTL_STATUS_SUMMARY_REALTIME 
NAIBRD_TTL_STATUS_WATCHDOG_TIMER_FAULT_LATCHED 
NAIBRD_TTL_STATUS_WATCHDOG_TIMER_FAULT_REALTIME 
NAIBRD_TTL_STATUS_INTER_FPGA_FAULT_LATCHED 
NAIBRD_TTL_STATUS_INTER_FPGA_FAULT_REALTIME 

◆ naibrd_ttl_enable_type

naibrd_ttl_enable_type

Enumerator
NAIBRD_TTL_DISABLE 
NAIBRD_TTL_ENABLE 
NAIBRD_TTL_ENABLE_UNKNOWN 

◆ naibrd_ttl_enhanced_mode_type

naibrd_ttl_enhanced_mode_type

Enumerator
NAIBRD_TTL_MODE_STD_INPUT_OUTPUT 
NAIBRD_TTL_MODE_MEASURE_HIGH_TIME 
NAIBRD_TTL_MODE_MEASURE_LOW_TIME 
NAIBRD_TTL_MODE_TIMESTAMP_RISING_EDGES 
NAIBRD_TTL_MODE_TIMESTAMP_FALLING_EDGES 
NAIBRD_TTL_MODE_TIMESTAMP_ALL_EDGES 
NAIBRD_TTL_MODE_COUNT_RISING_EDGES 
NAIBRD_TTL_MODE_COUNT_FALLING_EDGES 
NAIBRD_TTL_MODE_COUNT_ALL_EDGES 
NAIBRD_TTL_MODE_MEASURE_PERIOD_RISING_EDGE 
NAIBRD_TTL_MODE_MEASURE_FREQUENCY 
NAIBRD_TTL_MODE_OUTPUT_PWM_FOREVER 
NAIBRD_TTL_MODE_OUTPUT_PWM_CYCLE_NUM_TIMES 
NAIBRD_TTL_MODE_OUTPUT_PATTERN_RAM 
NAIBRD_TTL_MODE_UNKNOWN 

◆ naibrd_ttl_event_mapped_category_type

◆ naibrd_ttl_event_mapped_status_type

naibrd_ttl_event_mapped_status_type

Enumerator
NAIBRD_TTL_EVENT_STATUS_FIFO_BTWN_ALMOST_EMPTY_FULL_REALTIME 
NAIBRD_TTL_EVENT_STATUS_FIFO_FULL_REALTIME 
NAIBRD_TTL_EVENT_STATUS_FIFO_ALMOST_FULL_REALTIME 
NAIBRD_TTL_EVENT_STATUS_FIFO_ALMOST_EMPTY_REALTIME 
NAIBRD_TTL_EVENT_STATUS_FIFO_EMPTY_REALTIME 

◆ naibrd_ttl_ioformat

naibrd_ttl_ioformat

Enumerator
NAIBRD_TTL_IOFORMAT_INPUT 
NAIBRD_TTL_IOFORMAT_OUTPUT 
NAIBRD_TTL_IOFORMAT_INVALID 

◆ naibrd_ttl_module_power_reset_status_type

naibrd_ttl_module_power_reset_status_type

Enumerator
NAIBRD_TTL_MODULE_POWER_RESET_STATUS_POWERED_DOWN 
NAIBRD_TTL_MODULE_POWER_RESET_STATUS_NOT_DETECTED 
NAIBRD_TTL_MODULE_POWER_RESET_STATUS_NOT_LINK_INIT 
NAIBRD_TTL_MODULE_POWER_RESET_STATUS_FW_NOT_READY 
NAIBRD_TTL_MODULE_POWER_RESET_STATUS_COMM_ERROR 

◆ naibrd_ttl_module_power_reset_type

naibrd_ttl_module_power_reset_type

Enumerator
NAIBRD_TTL_MODULE_POWER_RESET_REQUEST_RESET 
NAIBRD_TTL_MODULE_POWER_RESET_REQUEST_POWER_DOWN 
NAIBRD_TTL_MODULE_POWER_RESET_REQUEST_POWER_UP 

◆ naibrd_ttl_pattern_ctrl_type

naibrd_ttl_pattern_ctrl_type

Enumerator
NAIBRD_TTL_CTRL_PATTERN_ENABLE 
NAIBRD_TTL_CTRL_PATTERN_BURST 
NAIBRD_TTL_CTRL_PATTERN_PAUSE 
NAIBRD_TTL_CTRL_PATTERN_SYNC_RISING 
NAIBRD_TTL_CTRL_PATTERN_SYNC_FALLING 

◆ naibrd_ttl_pwm_mode_type

naibrd_ttl_pwm_mode_type

Enumerator
NAIBRD_TTL_PWM_MODE_OFF 
NAIBRD_TTL_PWM_MODE_ON 

◆ naibrd_ttl_pwm_polarity_type

naibrd_ttl_pwm_polarity_type

Enumerator
NAIBRD_TTL_PWMPOLARITY_POS 
NAIBRD_TTL_PWMPOLARITY_NEG 
NAIBRD_TTL_PWMPOLARITY_UNKNOWN 

◆ naibrd_ttl_reset_type

naibrd_ttl_reset_type

Enumerator
NAIBRD_TTL_RESET_TIMER_ONLY 
NAIBRD_TTL_RESET_OVERCURRENT_STATUS 
NAIBRD_TTL_RESET_OVERCURRENT 

◆ naibrd_ttl_state

naibrd_ttl_state

Enumerator
NAIBRD_TTL_STATE_LO 
NAIBRD_TTL_STATE_HI 
NAIBRD_TTL_STATE_INVALID 

◆ naibrd_ttl_vcc

naibrd_ttl_vcc

Enumerator
NAIBRD_TTL_VCC_EXTERNAL 
NAIBRD_TTL_VCC_INTERNAL 
NAIBRD_TTL_VCC_INVALID