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

Go to the source code of this file.

Typedefs

typedef enum naibrd_can_chan_mapped_status_type naibrd_can_chan_mapped_status_type_t
 
typedef enum naibrd_can_event_mapped_status_type naibrd_can_event_mapped_status_type_t
 
typedef enum naibrd_can_event_mapped_category_type naibrd_can_event_mapped_category_type_t
 
typedef enum naibrd_can_protocol_type naibrd_can_protocol_type_t
 
typedef enum naibrd_can_swt_fault_type naibrd_can_swt_fault_type_t
 
typedef enum naibrd_can_baud_rate_type naibrd_can_baud_rate_type_t
 
typedef enum naibrd_can_module_power_reset_status_type naibrd_can_module_power_reset_status_type_t
 
typedef enum naibrd_can_module_power_reset_type naibrd_can_module_power_reset_type_t
 

Enumerations

enum  naibrd_can_chan_mapped_status_type {
  NAIBRD_CAN_STATUS_BIT_LATCHED , NAIBRD_CAN_STATUS_BIT_REALTIME , NAIBRD_CAN_STATUS_RECV_MSG_LATCHED , NAIBRD_CAN_STATUS_RECV_MSG_REALTIME ,
  NAIBRD_CAN_STATUS_SWT_LATCHED , NAIBRD_CAN_STATUS_SWT_REALTIME
}
 
enum  naibrd_can_event_mapped_status_type {
  NAIBRD_CAN_EVENT_STATUS_FIFO_RX_ALMOST_FULL_REALTIME , NAIBRD_CAN_EVENT_STATUS_FIFO_TX_ALMOST_EMPTY_REALTIME , NAIBRD_CAN_EVENT_STATUS_FIFO_HIGH_WATERMARK_REACHED_REALTIME , NAIBRD_CAN_EVENT_STATUS_FIFO_LOW_WATERMARK_REACHED_REALTIME ,
  NAIBRD_CAN_EVENT_STATUS_FIFO_RX_EMPTY_REALTIME , NAIBRD_CAN_EVENT_STATUS_FIFO_TX_FULL_REALTIME
}
 
enum  naibrd_can_event_mapped_category_type { NAIBRD_CAN_EVENT_MAP_FIFO }
 
enum  naibrd_can_protocol_type { NAIBRD_CAN_PROTOCOL_UNASSIGNED , NAIBRD_CAN_PROTOCOL_AB , NAIBRD_CAN_PROTOCOL_J1939 }
 
enum  naibrd_can_swt_fault_type { NAIBRD_CAN_SWT_WIRE_DISCONNECT , NAIBRD_CAN_SWT_WIRE_OPEN , NAIBRD_CAN_SWT_MAIN_BUS_SHORT , NAIBRD_CAN_SWT_INVALID }
 
enum  naibrd_can_baud_rate_type {
  NAIBRD_CAN_BAUD_UNASSIGNED , NAIBRD_CAN_1M_BAUD , NAIBRD_CAN_500K_BAUD , NAIBRD_CAN_250K_BAUD ,
  NAIBRD_CAN_125K_BAUD , NAIBRD_CAN_100K_BAUD
}
 
enum  naibrd_can_module_power_reset_status_type {
  NAIBRD_CAN_MODULE_POWER_RESET_STATUS_POWERED_DOWN , NAIBRD_CAN_MODULE_POWER_RESET_STATUS_NOT_DETECTED , NAIBRD_CAN_MODULE_POWER_RESET_STATUS_NOT_LINK_INIT , NAIBRD_CAN_MODULE_POWER_RESET_STATUS_FW_NOT_READY ,
  NAIBRD_CAN_MODULE_POWER_RESET_STATUS_COMM_ERROR
}
 
enum  naibrd_can_module_power_reset_type { NAIBRD_CAN_MODULE_POWER_RESET_REQUEST_RESET = 0 , NAIBRD_CAN_MODULE_POWER_RESET_REQUEST_POWER_DOWN , NAIBRD_CAN_MODULE_POWER_RESET_REQUEST_POWER_UP }
 

Typedef Documentation

◆ naibrd_can_baud_rate_type_t

◆ naibrd_can_chan_mapped_status_type_t

◆ naibrd_can_event_mapped_category_type_t

◆ naibrd_can_event_mapped_status_type_t

◆ naibrd_can_module_power_reset_status_type_t

◆ naibrd_can_module_power_reset_type_t

◆ naibrd_can_protocol_type_t

◆ naibrd_can_swt_fault_type_t

Enumeration Type Documentation

◆ naibrd_can_baud_rate_type

naibrd_can_baud_rate_type

Enumerator
NAIBRD_CAN_BAUD_UNASSIGNED 
NAIBRD_CAN_1M_BAUD 
NAIBRD_CAN_500K_BAUD 
NAIBRD_CAN_250K_BAUD 
NAIBRD_CAN_125K_BAUD 
NAIBRD_CAN_100K_BAUD 

◆ naibrd_can_chan_mapped_status_type

naibrd_can_chan_mapped_status_type

Enumerator
NAIBRD_CAN_STATUS_BIT_LATCHED 
NAIBRD_CAN_STATUS_BIT_REALTIME 
NAIBRD_CAN_STATUS_RECV_MSG_LATCHED 
NAIBRD_CAN_STATUS_RECV_MSG_REALTIME 
NAIBRD_CAN_STATUS_SWT_LATCHED 
NAIBRD_CAN_STATUS_SWT_REALTIME 

◆ naibrd_can_event_mapped_category_type

◆ naibrd_can_event_mapped_status_type

naibrd_can_event_mapped_status_type

Enumerator
NAIBRD_CAN_EVENT_STATUS_FIFO_RX_ALMOST_FULL_REALTIME 
NAIBRD_CAN_EVENT_STATUS_FIFO_TX_ALMOST_EMPTY_REALTIME 
NAIBRD_CAN_EVENT_STATUS_FIFO_HIGH_WATERMARK_REACHED_REALTIME 
NAIBRD_CAN_EVENT_STATUS_FIFO_LOW_WATERMARK_REACHED_REALTIME 
NAIBRD_CAN_EVENT_STATUS_FIFO_RX_EMPTY_REALTIME 
NAIBRD_CAN_EVENT_STATUS_FIFO_TX_FULL_REALTIME 

◆ naibrd_can_module_power_reset_status_type

naibrd_can_module_power_reset_status_type

Enumerator
NAIBRD_CAN_MODULE_POWER_RESET_STATUS_POWERED_DOWN 
NAIBRD_CAN_MODULE_POWER_RESET_STATUS_NOT_DETECTED 
NAIBRD_CAN_MODULE_POWER_RESET_STATUS_NOT_LINK_INIT 
NAIBRD_CAN_MODULE_POWER_RESET_STATUS_FW_NOT_READY 
NAIBRD_CAN_MODULE_POWER_RESET_STATUS_COMM_ERROR 

◆ naibrd_can_module_power_reset_type

naibrd_can_module_power_reset_type

Enumerator
NAIBRD_CAN_MODULE_POWER_RESET_REQUEST_RESET 
NAIBRD_CAN_MODULE_POWER_RESET_REQUEST_POWER_DOWN 
NAIBRD_CAN_MODULE_POWER_RESET_REQUEST_POWER_UP 

◆ naibrd_can_protocol_type

naibrd_can_protocol_type

Enumerator
NAIBRD_CAN_PROTOCOL_UNASSIGNED 
NAIBRD_CAN_PROTOCOL_AB 
NAIBRD_CAN_PROTOCOL_J1939 

◆ naibrd_can_swt_fault_type

naibrd_can_swt_fault_type

Enumerator
NAIBRD_CAN_SWT_WIRE_DISCONNECT 
NAIBRD_CAN_SWT_WIRE_OPEN 
NAIBRD_CAN_SWT_MAIN_BUS_SHORT 
NAIBRD_CAN_SWT_INVALID