FreeHIL
Loading...
Searching...
No Matches
FH_CAN08_GlobalVariables.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_CAN08</b> (CAN 08)\n
6
* (The <b>CAN08 (CAN 08)</b> could be any interested CAN of the micro-controller on which <b>FH</b> source code is ported)\n
7
* Global variables and arrays of CAN08 are defined here
8
* This header file could be included whenever interested by <b>FH user</b>
9
*
10
*******************************************************************************
11
* SPDX-License-Identifier: Apache-2.0
12
*
13
* Copyright 2026 Vahid Hasirchi
14
*
15
* Licensed under the Apache License, Version 2.0 (the "License");
16
* you may not use this file except in compliance with the License.
17
* You may obtain a copy of the License at
18
*
19
* http://www.apache.org/licenses/LICENSE-2.0
20
*
21
* Unless required by applicable law or agreed to in writing, software
22
* distributed under the License is distributed on an "AS IS" BASIS,
23
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
24
* See the License for the specific language governing permissions and
25
* limitations under the License.
26
********************************************************************************
27
28
*
29
* <b>For more information refer to FreeHIL.com</b>
30
*
31
*/
32
33
/* Define to prevent recursive inclusion -------------------------------------*/
34
#ifndef FH_CAN08_GlobalVariables_H
35
#define FH_CAN08_GlobalVariables_H
36
37
/* Includes ------------------------------------------------------------------*/
38
#include "
../../../../FH_Embedded/FH_Root/FH_Perif/FH_CAN/FH_CAN_Configs/FH_CAN_Configs.h
"
39
40
#ifdef FH_CAN08
// It is configurable in FH_CAN_Configs.h
41
42
#if FH_CAN_MaxPeripheralNumber > 0
// It is configurable in FH_DevicePeripherals.h
43
44
extern
volatile
uint8_t
FH_CAN08_ReceiveBuf
[];
45
extern
volatile
uint16_t
FH_CAN08_ReceiveBufIndex
;
46
47
extern
volatile
uint8_t
FH_CAN08_SharedDataBuf_8Bits
[];
48
extern
volatile
uint16_t
FH_CAN08_SharedDataBuf_16Bits
[];
49
extern
volatile
uint32_t
FH_CAN08_SharedDataBuf_32Bits
[];
50
51
#endif
52
53
#endif
54
55
#endif
Core
FH_Embedded
FH_Functions
FH_CAN
FH_CAN08
FH_CAN08_GlobalVariables.h
Generated by
1.15.0