foxBMS - Unit Tests
1.5.0
The foxBMS Unit Tests API Documentation
|
Header for the driver for the CAN module. More...
Go to the source code of this file.
Header for the driver for the CAN module.
SPDX-License-Identifier: BSD-3-Clause
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
We kindly request you to use one or more of the following phrases to refer to foxBMS in your hardware, software, documentation or advertising materials:
Definition in file can_cfg_rx-message-definitions.h.
#define CANRX_BMS_STATE_REQUEST_ENDIANNESS (CAN_BIG_ENDIAN) |
CAN message properties for state request message. Required properties are:
Definition at line 76 of file can_cfg_rx-message-definitions.h.
#define CANRX_BMS_STATE_REQUEST_ID (0x230u) |
CAN message properties for state request message. Required properties are:
Definition at line 73 of file can_cfg_rx-message-definitions.h.
#define CANRX_BMS_STATE_REQUEST_ID_TYPE (CAN_STANDARD_IDENTIFIER_11_BIT) |
CAN message properties for state request message. Required properties are:
Definition at line 74 of file can_cfg_rx-message-definitions.h.
#define CANRX_BMS_STATE_REQUEST_MESSAGE |
Definition at line 178 of file can_cfg_rx-message-definitions.h.
#define CANRX_BMS_STATE_REQUEST_PERIOD_ms (CANRX_NOT_PERIODIC) |
CAN message properties for state request message. Required properties are:
Definition at line 75 of file can_cfg_rx-message-definitions.h.
#define CANRX_CURRENT_SENSOR_MESSAGES_DLC (6u) |
CAN message properties for Isabellenhuette current sensor messages. Properties are:
Definition at line 107 of file can_cfg_rx-message-definitions.h.
#define CANRX_CURRENT_SENSOR_MESSAGES_ENDIANNESS (CAN_BIG_ENDIAN) |
CAN message properties for Isabellenhuette current sensor messages. Properties are:
Definition at line 109 of file can_cfg_rx-message-definitions.h.
#define CANRX_CURRENT_SENSOR_MESSAGES_ID_TYPE (CAN_STANDARD_IDENTIFIER_11_BIT) |
CAN message properties for Isabellenhuette current sensor messages. Properties are:
Definition at line 108 of file can_cfg_rx-message-definitions.h.
#define CANRX_DEBUG_ENDIANNESS (CAN_BIG_ENDIAN) |
CAN message properties for debug message. Required properties are:
Definition at line 87 of file can_cfg_rx-message-definitions.h.
#define CANRX_DEBUG_ID (0x200u) |
CAN message properties for debug message. Required properties are:
Definition at line 84 of file can_cfg_rx-message-definitions.h.
#define CANRX_DEBUG_ID_TYPE (CAN_STANDARD_IDENTIFIER_11_BIT) |
CAN message properties for debug message. Required properties are:
Definition at line 85 of file can_cfg_rx-message-definitions.h.
#define CANRX_DEBUG_MESSAGE |
Definition at line 145 of file can_cfg_rx-message-definitions.h.
#define CANRX_DEBUG_PERIOD_ms (CANRX_NOT_PERIODIC) |
CAN message properties for debug message. Required properties are:
Definition at line 86 of file can_cfg_rx-message-definitions.h.
#define CANRX_IMD_ID_TYPE (CAN_STANDARD_IDENTIFIER_11_BIT) |
CAN message identifier type
Definition at line 101 of file can_cfg_rx-message-definitions.h.
#define CANRX_IMD_INFO_ID (0x37u) |
----------------------—CAUTION----------------------— The following defines are used by the insulation monitoring device (IMD). If they are changed, the IMD will not work anymore ----------------------—CAUTION----------------------— CAN message ID for info message from iso165c
Definition at line 97 of file can_cfg_rx-message-definitions.h.
#define CANRX_IMD_INFO_MESSAGE |
Definition at line 156 of file can_cfg_rx-message-definitions.h.
#define CANRX_IMD_RESPONSE_ID (0x23u) |
CAN message ID for response message from iso165c
Definition at line 99 of file can_cfg_rx-message-definitions.h.
#define CANRX_IMD_RESPONSE_MESSAGE |
Definition at line 167 of file can_cfg_rx-message-definitions.h.
#define CANRX_NOT_PERIODIC (0u) |
Definition at line 64 of file can_cfg_rx-message-definitions.h.
#define CANRX_STRING0_CURRENT_COUNTER_ID (0x527u) |
CAN message properties for string 0 current sensor messages. Properties for each message are:
Definition at line 127 of file can_cfg_rx-message-definitions.h.
#define CANRX_STRING0_CURRENT_COUNTER_MESSAGE |
Definition at line 255 of file can_cfg_rx-message-definitions.h.
#define CANRX_STRING0_CURRENT_COUNTER_PERIOD_ms (CANRX_NOT_PERIODIC) |
CAN message properties for string 0 current sensor messages. Properties for each message are:
Definition at line 128 of file can_cfg_rx-message-definitions.h.
#define CANRX_STRING0_CURRENT_ID (0x521u) |
CAN message properties for string 0 current sensor messages. Properties for each message are:
Definition at line 115 of file can_cfg_rx-message-definitions.h.
#define CANRX_STRING0_CURRENT_MESSAGE |
Definition at line 189 of file can_cfg_rx-message-definitions.h.
#define CANRX_STRING0_CURRENT_PERIOD_ms (CANRX_NOT_PERIODIC) |
CAN message properties for string 0 current sensor messages. Properties for each message are:
Definition at line 116 of file can_cfg_rx-message-definitions.h.
#define CANRX_STRING0_ENERGY_COUNTER_ID (0x528u) |
CAN message properties for string 0 current sensor messages. Properties for each message are:
Definition at line 129 of file can_cfg_rx-message-definitions.h.
#define CANRX_STRING0_ENERGY_COUNTER_MESSAGE |
Definition at line 266 of file can_cfg_rx-message-definitions.h.
#define CANRX_STRING0_ENERGY_COUNTER_PERIOD_ms (CANRX_NOT_PERIODIC) |
CAN message properties for string 0 current sensor messages. Properties for each message are:
Definition at line 130 of file can_cfg_rx-message-definitions.h.
#define CANRX_STRING0_POWER_ID (0x526u) |
CAN message properties for string 0 current sensor messages. Properties for each message are:
Definition at line 125 of file can_cfg_rx-message-definitions.h.
#define CANRX_STRING0_POWER_MESSAGE |
Definition at line 244 of file can_cfg_rx-message-definitions.h.
#define CANRX_STRING0_POWER_PERIOD_ms (CANRX_NOT_PERIODIC) |
CAN message properties for string 0 current sensor messages. Properties for each message are:
Definition at line 126 of file can_cfg_rx-message-definitions.h.
#define CANRX_STRING0_TEMPERATURE_ID (0x525u) |
CAN message properties for string 0 current sensor messages. Properties for each message are:
Definition at line 123 of file can_cfg_rx-message-definitions.h.
#define CANRX_STRING0_TEMPERATURE_MESSAGE |
Definition at line 233 of file can_cfg_rx-message-definitions.h.
#define CANRX_STRING0_TEMPERATURE_PERIOD_ms (CANRX_NOT_PERIODIC) |
CAN message properties for string 0 current sensor messages. Properties for each message are:
Definition at line 124 of file can_cfg_rx-message-definitions.h.
#define CANRX_STRING0_VOLTAGE1_ID (0x522u) |
CAN message properties for string 0 current sensor messages. Properties for each message are:
Definition at line 117 of file can_cfg_rx-message-definitions.h.
#define CANRX_STRING0_VOLTAGE1_MESSAGE |
Definition at line 200 of file can_cfg_rx-message-definitions.h.
#define CANRX_STRING0_VOLTAGE1_PERIOD_ms (CANRX_NOT_PERIODIC) |
CAN message properties for string 0 current sensor messages. Properties for each message are:
Definition at line 118 of file can_cfg_rx-message-definitions.h.
#define CANRX_STRING0_VOLTAGE2_ID (0x523u) |
CAN message properties for string 0 current sensor messages. Properties for each message are:
Definition at line 119 of file can_cfg_rx-message-definitions.h.
#define CANRX_STRING0_VOLTAGE2_MESSAGE |
Definition at line 211 of file can_cfg_rx-message-definitions.h.
#define CANRX_STRING0_VOLTAGE2_PERIOD_ms (CANRX_NOT_PERIODIC) |
CAN message properties for string 0 current sensor messages. Properties for each message are:
Definition at line 120 of file can_cfg_rx-message-definitions.h.
#define CANRX_STRING0_VOLTAGE3_ID (0x524u) |
CAN message properties for string 0 current sensor messages. Properties for each message are:
Definition at line 121 of file can_cfg_rx-message-definitions.h.
#define CANRX_STRING0_VOLTAGE3_MESSAGE |
Definition at line 222 of file can_cfg_rx-message-definitions.h.
#define CANRX_STRING0_VOLTAGE3_PERIOD_ms (CANRX_NOT_PERIODIC) |
CAN message properties for string 0 current sensor messages. Properties for each message are:
Definition at line 122 of file can_cfg_rx-message-definitions.h.