|
CAN CoreX 2.3.1
Table-driven CAN, CAN FD, ISO-TP, network simulation, and bus monitoring library
|
Virtual CAN network simulation public API. More...
#include "can_corex.h"Go to the source code of this file.
Data Structures | |
| struct | CCX_net_node_settings_t |
| Network node settings. More... | |
| struct | CCX_net_node_t |
| Network node entry. More... | |
| struct | CCX_net_t |
| CAN network structure. More... | |
Macros | |
| #define | CCX_MAX_INSTANCE_IN_NETWORK 12 |
| Maximum number of CAN instances that can be connected to a single network. | |
Typedefs | |
| typedef struct CCX_net_t | CCX_net_t |
Enumerations | |
| enum | CCX_net_status_t { CCX_NET_OK = 0 , CCX_NET_ALREDY_EXISTING , CCX_NET_DOES_NOT_EXISTING , CCX_NET_NULL } |
| Network operation status codes. | |
| enum | CCX_net_replication_t { CCX_NET_TX_REPLICATION = 0 , CCX_NET_TX_RX_REPLICATION } |
| Message replication modes for network nodes. More... | |
| enum | CCX_net_node_type_t { CCX_NET_NODE_IN_NET = 0 , CCX_NET_NODE_REPEATER } |
| Network node types. More... | |
Functions | |
| CCX_net_status_t | CCX_net_init (CCX_net_t *net) |
| Initialize a CAN network. | |
| CCX_net_status_t | CCX_net_deinit (CCX_net_t *net) |
| Remove a CAN network from global list. | |
| CCX_net_status_t | CCX_net_clear_nodes (CCX_net_t *net) |
| Clear all nodes from a network. | |
Virtual CAN network simulation public API.