|
FreeHIL
|
File Map:
FH_Root, Section FH_Perif, FH_CAN, FH_CAN_Configs
In this file, different configurations of FH_CAN could be set
More...
#include "../../../../../FH_Embedded/FH_Setup/FH_DevicePeripherals/FH_DevicePeripherals.h"#include "../../../../../FH_Embedded/FH_Root/FH_General/FH_ErrorInfo/FH_ErrorInfo.h"#include "../../../../../FH_Embedded/FH_Setup/FH_RFCommunication/FH_RFCommunication_GlobalVariables.h"Go to the source code of this file.
Macros | |
| #define | FH_CAN01 |
| #define | FH_CAN02 |
| #define | FH_CAN03 |
| #define | FH_CAN04 |
| #define | FH_CAN05 |
| #define | FH_CAN06 |
| #define | FH_CAN07 |
| #define | FH_CAN08 |
| #define | FH_CAN_MinCommandSize_Init 1 |
| #define | FH_CAN_MinCommandSize_Send 3 |
| #define | FH_CAN_MinCommandSize_Receive 1 |
| #define | FH_CAN_MinCommandSize_ReceiveW 6 |
| #define | FH_CAN_MinCommandSize_ResetRB 1 |
| #define | FH_CAN_MinCommandSize_SSD8 3 |
| #define | FH_CAN_MinCommandSize_SSD16 4 |
| #define | FH_CAN_MinCommandSize_SSD32 6 |
| #define | FH_CAN_MinCommandSize_GSD8 1 |
| #define | FH_CAN_MinCommandSize_GSD16 1 |
| #define | FH_CAN_MinCommandSize_GSD32 1 |
File Map:
FH_Root, Section FH_Perif, FH_CAN, FH_CAN_Configs
In this file, different configurations of FH_CAN could be set
SPDX-License-Identifier: Apache-2.0
Copyright 2026 Vahid Hasirchi
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
For more information refer to FreeHIL.com
Definition in file FH_CAN_Configs.h.
| #define FH_CAN01 |
FH_CAN01 - FH_CAN08 shall be defined here to be utilized in different parts of the FH source code
FH_CAN_MaxPeripheralNumber is the maximum number of the FH_CAN
Definition at line 47 of file FH_CAN_Configs.h.
| #define FH_CAN02 |
Definition at line 50 of file FH_CAN_Configs.h.
| #define FH_CAN03 |
Definition at line 53 of file FH_CAN_Configs.h.
| #define FH_CAN04 |
Definition at line 56 of file FH_CAN_Configs.h.
| #define FH_CAN05 |
Definition at line 59 of file FH_CAN_Configs.h.
| #define FH_CAN06 |
Definition at line 62 of file FH_CAN_Configs.h.
| #define FH_CAN07 |
Definition at line 65 of file FH_CAN_Configs.h.
| #define FH_CAN08 |
Definition at line 68 of file FH_CAN_Configs.h.
| #define FH_CAN_MinCommandSize_GSD16 1 |
Minimum size of the Data part in the message frame (FH_RFCommunication_Message) for the GSD16 command of CAN Function, are defined here
Definition at line 194 of file FH_CAN_Configs.h.
| #define FH_CAN_MinCommandSize_GSD32 1 |
Minimum size of the Data part in the message frame (FH_RFCommunication_Message) for the GSD32 command of CAN Function, are defined here
Definition at line 199 of file FH_CAN_Configs.h.
| #define FH_CAN_MinCommandSize_GSD8 1 |
Minimum size of the Data part in the message frame (FH_RFCommunication_Message) for the GSD8 command of CAN Function, are defined here
Definition at line 189 of file FH_CAN_Configs.h.
Referenced by FH_CAN_GSD8_H().
| #define FH_CAN_MinCommandSize_Init 1 |
Minimum size of the Data part in the message frame (FH_RFCommunication_Message) for the Init command of CAN Function, are defined here
Definition at line 149 of file FH_CAN_Configs.h.
Referenced by FH_CAN_Init_H().
| #define FH_CAN_MinCommandSize_Receive 1 |
Minimum size of the Data part in the message frame (FH_RFCommunication_Message) for the Receive command of CAN Function, are defined here
Definition at line 159 of file FH_CAN_Configs.h.
| #define FH_CAN_MinCommandSize_ReceiveW 6 |
Minimum size of the Data part in the message frame (FH_RFCommunication_Message) for the ReceiveW command of CAN Function, are defined here
Definition at line 164 of file FH_CAN_Configs.h.
| #define FH_CAN_MinCommandSize_ResetRB 1 |
Minimum size of the Data part in the message frame (FH_RFCommunication_Message) for the ResetRB command of CAN Function, are defined here
Definition at line 169 of file FH_CAN_Configs.h.
| #define FH_CAN_MinCommandSize_Send 3 |
Minimum size of the Data part in the message frame (FH_RFCommunication_Message) for the Send command of CAN Function, are defined here
Definition at line 154 of file FH_CAN_Configs.h.
Referenced by FH_CAN_Send_H().
| #define FH_CAN_MinCommandSize_SSD16 4 |
Minimum size of the Data part in the message frame (FH_RFCommunication_Message) for the SSD16 command of CAN Function, are defined here
Definition at line 179 of file FH_CAN_Configs.h.
| #define FH_CAN_MinCommandSize_SSD32 6 |
Minimum size of the Data part in the message frame (FH_RFCommunication_Message) for the SSD32 command of CAN Function, are defined here
Definition at line 184 of file FH_CAN_Configs.h.
| #define FH_CAN_MinCommandSize_SSD8 3 |
Minimum size of the Data part in the message frame (FH_RFCommunication_Message) for the SSD8 command of CAN Function, are defined here
Definition at line 174 of file FH_CAN_Configs.h.
Referenced by FH_CAN_SSD8_H().
| typedef FH_ErrorInfo(* FH_CAN_GSD16_FuncPtrModel) (FH_RFCommunication_Message *fh_RFCommunication_Message, uint8_t *FH_CAN_DataLength, uint8_t *FH_CAN_FH_CAN_Data) |
FH_CAN_GSD16_FuncPtrModel Function pointer definition
Definition at line 121 of file FH_CAN_Configs.h.
| typedef FH_ErrorInfo(* FH_CAN_GSD32_FuncPtrModel) (FH_RFCommunication_Message *fh_RFCommunication_Message, uint8_t *FH_CAN_DataLength, uint8_t *FH_CAN_FH_CAN_Data) |
FH_CAN_GSD32_FuncPtrModel Function pointer definition
Definition at line 126 of file FH_CAN_Configs.h.
| typedef FH_ErrorInfo(* FH_CAN_GSD8_FuncPtrModel) (FH_RFCommunication_Message *fh_RFCommunication_Message, uint8_t *FH_CAN_DataLength, uint8_t *FH_CAN_FH_CAN_Data) |
FH_CAN_GSD8_FuncPtrModel Function pointer definition
Definition at line 116 of file FH_CAN_Configs.h.
| typedef FH_ErrorInfo(* FH_CAN_Init_FuncPtrModel) (FH_RFCommunication_Message *fh_RFCommunication_Message) |
FH_CAN_Init_FuncPtrModel Function pointer definition
Definition at line 76 of file FH_CAN_Configs.h.
| typedef FH_ErrorInfo(* FH_CAN_Receive_FuncPtrModel) (FH_RFCommunication_Message *fh_RFCommunication_Message, uint8_t *FH_CAN_DataSize, uint8_t *FH_CAN_Data) |
FH_CAN_Receive_FuncPtrModel Function pointer definition
Definition at line 86 of file FH_CAN_Configs.h.
| typedef FH_ErrorInfo(* FH_CAN_ReceiveW_FuncPtrModel) (FH_RFCommunication_Message *fh_RFCommunication_Message, uint8_t *FH_CAN_DataSize, uint8_t *FH_CAN_Data) |
FH_CAN_ReceiveW_FuncPtrModel Function pointer definition
Definition at line 91 of file FH_CAN_Configs.h.
| typedef FH_ErrorInfo(* FH_CAN_ResetRB_FuncPtrModel) (FH_RFCommunication_Message *fh_RFCommunication_Message) |
FH_CAN_ResetRB_FuncPtrModel Function pointer definition
Definition at line 96 of file FH_CAN_Configs.h.
| typedef FH_ErrorInfo(* FH_CAN_Send_FuncPtrModel) (FH_RFCommunication_Message *fh_RFCommunication_Message) |
FH_CAN_Send_FuncPtrModel Function pointer definition
Definition at line 81 of file FH_CAN_Configs.h.
| typedef FH_ErrorInfo(* FH_CAN_SSD16_FuncPtrModel) (FH_RFCommunication_Message *fh_RFCommunication_Message) |
FH_CAN_SSD16_FuncPtrModel Function pointer definition
Definition at line 106 of file FH_CAN_Configs.h.
| typedef FH_ErrorInfo(* FH_CAN_SSD32_FuncPtrModel) (FH_RFCommunication_Message *fh_RFCommunication_Message) |
FH_CAN_SSD32_FuncPtrModel Function pointer definition
Definition at line 111 of file FH_CAN_Configs.h.
| typedef FH_ErrorInfo(* FH_CAN_SSD8_FuncPtrModel) (FH_RFCommunication_Message *fh_RFCommunication_Message) |
FH_CAN_SSD8_FuncPtrModel Function pointer definition
Definition at line 101 of file FH_CAN_Configs.h.
Different elements of the Data part in the message frame (FH_RFCommunication_Message) for the GSD16 command of CAN Function, are defined here
| Enumerator | |
|---|---|
| CAN_GSD16_PeripheralNumber | |
Definition at line 286 of file FH_CAN_Configs.h.
Different elements of the Data part in the message frame (FH_RFCommunication_Message) for the GSD32 command of CAN Function, are defined here
| Enumerator | |
|---|---|
| CAN_GSD32_PeripheralNumber | |
Definition at line 294 of file FH_CAN_Configs.h.
Different elements of the Data part in the message frame (FH_RFCommunication_Message) for the GSD8 command of CAN Function, are defined here
| Enumerator | |
|---|---|
| CAN_GSD8_PeripheralNumber | |
Definition at line 278 of file FH_CAN_Configs.h.
Different elements of the Data part in the message frame (FH_RFCommunication_Message) for the Init command of CAN Function, are defined here
| Enumerator | |
|---|---|
| CAN_Init_PeripheralNumber | |
Definition at line 204 of file FH_CAN_Configs.h.
Different elements of the Data part in the message frame (FH_RFCommunication_Message) for the Receive command of CAN Function, are defined here
| Enumerator | |
|---|---|
| CAN_Receive_PeripheralNumber | |
Definition at line 222 of file FH_CAN_Configs.h.
Different elements of the Data part in the message frame (FH_RFCommunication_Message) for the ReceiveW command of CAN Function, are defined here
| Enumerator | |
|---|---|
| CAN_ReceiveW_PeripheralNumber | |
| CAN_ReceiveW_ExpectedDataLength | |
| CAN_ReceiveW_MaxTimerCount | |
Definition at line 230 of file FH_CAN_Configs.h.
Different elements of the Data part in the message frame (FH_RFCommunication_Message) for the ResetRB command of CAN Function, are defined here
| Enumerator | |
|---|---|
| CAN_ResetRB_PeripheralNumber | |
Definition at line 240 of file FH_CAN_Configs.h.
Different elements of the Data part in the message frame (FH_RFCommunication_Message) for the Send command of CAN Function, are defined here
| Enumerator | |
|---|---|
| CAN_Send_PeripheralNumber | |
| CAN_Send_DataLength | |
| CAN_Send_Data | |
Definition at line 212 of file FH_CAN_Configs.h.
Different elements of the Data part in the message frame (FH_RFCommunication_Message) for the SSD16 command of CAN Function, are defined here
| Enumerator | |
|---|---|
| CAN_SSD16_PeripheralNumber | |
| CAN_SSD16_SharedDataLength | |
| CAN_SSD16_SharedData | |
Definition at line 258 of file FH_CAN_Configs.h.
Different elements of the Data part in the message frame (FH_RFCommunication_Message) for the SSD32 command of CAN Function, are defined here
| Enumerator | |
|---|---|
| CAN_SSD32_PeripheralNumber | |
| CAN_SSD32_SharedDataLength | |
| CAN_SSD32_SharedData | |
Definition at line 268 of file FH_CAN_Configs.h.
Different elements of the Data part in the message frame (FH_RFCommunication_Message) for the SSD8 command of CAN Function, are defined here
| Enumerator | |
|---|---|
| CAN_SSD8_PeripheralNumber | |
| CAN_SSD8_SharedDataLength | |
| CAN_SSD8_SharedData | |
Definition at line 248 of file FH_CAN_Configs.h.
| enum FH_CAN_Commands |
Different commands for CAN Function
Definition at line 131 of file FH_CAN_Configs.h.