FreeHIL
Loading...
Searching...
No Matches
FH_CAN02_Configs.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_CAN02</b> (CAN 02)\n
6 * (The <b>CAN02 (CAN 02)</b> could be any interested CAN of the micro-controller on which <b>FH</b> source code is ported)\n
7 * Max index limit of CAN02 buffers are defined here
8 *
9 *******************************************************************************
10 * SPDX-License-Identifier: Apache-2.0
11 *
12 * Copyright 2026 Vahid Hasirchi
13 *
14 * Licensed under the Apache License, Version 2.0 (the "License");
15 * you may not use this file except in compliance with the License.
16 * You may obtain a copy of the License at
17 *
18 * http://www.apache.org/licenses/LICENSE-2.0
19 *
20 * Unless required by applicable law or agreed to in writing, software
21 * distributed under the License is distributed on an "AS IS" BASIS,
22 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
23 * See the License for the specific language governing permissions and
24 * limitations under the License.
25 ********************************************************************************
26
27 *
28 * <b>For more information refer to FreeHIL.com</b>
29 *
30*/
31
32/* Define to prevent recursive inclusion -------------------------------------*/
33#ifndef FH_CAN02_Configs_H
34#define FH_CAN02_Configs_H
35
36/* Includes ------------------------------------------------------------------*/
38
39#ifdef FH_CAN02 // It is configurable in FH_CAN_Configs.h
40
41#if FH_CAN_MaxPeripheralNumber > 0 // It is configurable in FH_DevicePeripherals.h
42
43 #define FH_CAN02_ReceiveBufLength 64 // Max index limit of the FH_CAN02_ReceiveBuf buffer is defined here
44 #define FH_CAN02_SharedDataBufLength_8Bits 16 // Max index limit of the FH_CAN02_SharedDataBuf_8Bits buffer is defined here
45 #define FH_CAN02_SharedDataBufLength_16Bits 16 // Max index limit of the FH_CAN02_SharedDataBuf_16Bits buffer is defined here
46 #define FH_CAN02_SharedDataBufLength_32Bits 16 // Max index limit of the FH_CAN02_SharedDataBuf_32Bits buffer is defined here
47
48#endif
49
50#endif
51
52#endif