FreeHIL
Loading...
Searching...
No Matches
FH_CAN04.h
Go to the documentation of this file.
1
/**
2
* @file
3
* @brief
4
* <b>File Map:</b>\n
5
* <b>FH_Functions</b>, Section <b>FH_CAN</b> (CAN), Peripheral <b>FH_CAN04</b> (CAN 04)\n
6
* (The <b>CAN04 (CAN 04)</b> could be any interested CAN of the micro-controller on which <b>FH</b> source code is ported)\n
7
*
8
*******************************************************************************
9
* SPDX-License-Identifier: Apache-2.0
10
*
11
* Copyright 2026 Vahid Hasirchi
12
*
13
* Licensed under the Apache License, Version 2.0 (the "License");
14
* you may not use this file except in compliance with the License.
15
* You may obtain a copy of the License at
16
*
17
* http://www.apache.org/licenses/LICENSE-2.0
18
*
19
* Unless required by applicable law or agreed to in writing, software
20
* distributed under the License is distributed on an "AS IS" BASIS,
21
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22
* See the License for the specific language governing permissions and
23
* limitations under the License.
24
********************************************************************************
25
26
*
27
* <b>For more information refer to FreeHIL.com</b>
28
*
29
*/
30
31
/* Define to prevent recursive inclusion -------------------------------------*/
32
#ifndef FH_CAN04_H
33
#define FH_CAN04_H
34
35
/* Includes ------------------------------------------------------------------*/
36
#include "
../../../../FH_Embedded/FH_Root/FH_Perif/FH_CAN/FH_CAN_Configs/FH_CAN_Configs.h
"
37
#include "
../../../../FH_Embedded/FH_Setup/FH_RFCommunication/FH_RFCommunication_GlobalVariables.h
"
38
39
#ifdef FH_CAN04
// It is configurable in FH_CAN_Configs.h
40
41
#if FH_CAN_MaxPeripheralNumber > 0
// It is configurable in FH_DevicePeripherals.h
42
43
/* Function Prototypes -----------------------------------------------------*/
44
FH_ErrorInfo
FH_CAN_Init_CAN04
(
FH_RFCommunication_Message
*
fh_RFCommunication_Message
);
45
FH_ErrorInfo
FH_CAN_Send_CAN04
(
FH_RFCommunication_Message
*
fh_RFCommunication_Message
);
46
FH_ErrorInfo
FH_CAN_Receive_CAN04
(
FH_RFCommunication_Message
*
fh_RFCommunication_Message
, uint8_t* FH_DataSize, uint8_t* FH_Data);
47
FH_ErrorInfo
FH_CAN_ReceiveW_CAN04
(
FH_RFCommunication_Message
*
fh_RFCommunication_Message
, uint8_t* FH_DataSize, uint8_t* FH_Data);
48
FH_ErrorInfo
FH_CAN_ResetRB_CAN04
(
FH_RFCommunication_Message
*
fh_RFCommunication_Message
);
49
FH_ErrorInfo
FH_CAN_SSD8_CAN04
(
FH_RFCommunication_Message
*
fh_RFCommunication_Message
);
50
FH_ErrorInfo
FH_CAN_SSD16_CAN04
(
FH_RFCommunication_Message
*
fh_RFCommunication_Message
);
51
FH_ErrorInfo
FH_CAN_SSD32_CAN04
(
FH_RFCommunication_Message
*
fh_RFCommunication_Message
);
52
FH_ErrorInfo
FH_CAN_GSD8_CAN04
(
FH_RFCommunication_Message
*
fh_RFCommunication_Message
, uint8_t* SharedDataLength, uint8_t* SharedData);
53
FH_ErrorInfo
FH_CAN_GSD16_CAN04
(
FH_RFCommunication_Message
*
fh_RFCommunication_Message
, uint8_t* SharedDataLength, uint8_t* SharedData);
54
FH_ErrorInfo
FH_CAN_GSD32_CAN04
(
FH_RFCommunication_Message
*
fh_RFCommunication_Message
, uint8_t* SharedDataLength, uint8_t* SharedData);
55
56
#endif
57
58
#endif
59
60
#endif
Core
FH_Embedded
FH_Functions
FH_CAN
FH_CAN04
FH_CAN04.h
Generated by
1.15.0