FreeHIL
Loading...
Searching...
No Matches
FH_CAN08_GlobalVariables.h File Reference

File Map:
FH_Functions, Section FH_CAN (CAN), Peripheral FH_CAN08 (CAN 08)
(The CAN08 (CAN 08) could be any interested CAN of the micro-controller on which FH source code is ported)
Global variables and arrays of CAN08 are defined here This header file could be included whenever interested by FH user More...

Go to the source code of this file.

Variables

volatile uint8_t FH_CAN08_ReceiveBuf []
volatile uint16_t FH_CAN08_ReceiveBufIndex
volatile uint8_t FH_CAN08_SharedDataBuf_8Bits []
volatile uint16_t FH_CAN08_SharedDataBuf_16Bits []
volatile uint32_t FH_CAN08_SharedDataBuf_32Bits []

Detailed Description

File Map:
FH_Functions, Section FH_CAN (CAN), Peripheral FH_CAN08 (CAN 08)
(The CAN08 (CAN 08) could be any interested CAN of the micro-controller on which FH source code is ported)
Global variables and arrays of CAN08 are defined here This header file could be included whenever interested by FH user

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_CAN08_GlobalVariables.h.

Variable Documentation

◆ FH_CAN08_ReceiveBuf

volatile uint8_t FH_CAN08_ReceiveBuf[]
extern

FH user shall use FH_CAN08_ReceiveBuf in the receive ISR (Interrupt Service Routine) of the CAN 08 in a separate c file
For this to happen, FH user shall just include FH_CAN08_GlobalVariables.h there
In other word, FH_CAN08_ReceiveBuf array shall receive every byte of the received data there
It is configurable in FH_CAN08_Configs.h

Definition at line 70 of file FH_CAN08.c.

Referenced by FH_CAN_Receive_CAN08(), and FH_CAN_ReceiveW_CAN08().

◆ FH_CAN08_ReceiveBufIndex

volatile uint16_t FH_CAN08_ReceiveBufIndex
extern

FH_CAN08_ReceiveBufIndex is the index of FH_CAN08_ReceiveBuf

Definition at line 75 of file FH_CAN08.c.

Referenced by FH_CAN_Receive_CAN08(), FH_CAN_ReceiveW_CAN08(), and FH_CAN_ResetRB_CAN08().

◆ FH_CAN08_SharedDataBuf_16Bits

volatile uint16_t FH_CAN08_SharedDataBuf_16Bits[]
extern

FH_CAN08_SharedDataBuf_16Bits is optional and could be left intact
It could be used by FH user to set some special data like receive filters on ISR (Interrupt Service Routine) of the CAN 08 , ... It are controllable with some commands (described in this file) through RobotFramework
It is configurable in FH_CAN08_Configs.h

Definition at line 91 of file FH_CAN08.c.

Referenced by FH_CAN_GSD16_CAN08(), and FH_CAN_SSD16_CAN08().

◆ FH_CAN08_SharedDataBuf_32Bits

volatile uint32_t FH_CAN08_SharedDataBuf_32Bits[]
extern

FH_CAN08_SharedDataBuf_32Bits is optional and could be left intact
It could be used by FH user to set some special data like receive filters on ISR (Interrupt Service Routine) of the CAN 08 , ... It are controllable with some commands (described in this file) through RobotFramework
It is configurable in FH_CAN08_Configs.h

Definition at line 98 of file FH_CAN08.c.

Referenced by FH_CAN_GSD32_CAN08(), and FH_CAN_SSD32_CAN08().

◆ FH_CAN08_SharedDataBuf_8Bits

volatile uint8_t FH_CAN08_SharedDataBuf_8Bits[]
extern

FH_CAN08_SharedDataBuf_8Bits is optional and could be left intact
It could be used by FH user to set some special data like receive filters on ISR (Interrupt Service Routine) of the CAN 08 , ... It are controllable with some commands (described in this file) through RobotFramework
It is configurable in FH_CAN08_Configs.h

Definition at line 83 of file FH_CAN08.c.

Referenced by FH_CAN_GSD8_CAN08(), and FH_CAN_SSD8_CAN08().