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

File Map:
FH_Functions, Section FH_CAN (CAN), Peripheral FH_CAN07 (CAN 07)
(The CAN07 (CAN 07) could be any interested CAN of the micro-controller on which FH source code is ported)
Global variables and arrays of CAN07 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_CAN07_ReceiveBuf []
volatile uint16_t FH_CAN07_ReceiveBufIndex
volatile uint8_t FH_CAN07_SharedDataBuf_8Bits []
volatile uint16_t FH_CAN07_SharedDataBuf_16Bits []
volatile uint32_t FH_CAN07_SharedDataBuf_32Bits []

Detailed Description

File Map:
FH_Functions, Section FH_CAN (CAN), Peripheral FH_CAN07 (CAN 07)
(The CAN07 (CAN 07) could be any interested CAN of the micro-controller on which FH source code is ported)
Global variables and arrays of CAN07 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_CAN07_GlobalVariables.h.

Variable Documentation

◆ FH_CAN07_ReceiveBuf

volatile uint8_t FH_CAN07_ReceiveBuf[]
extern

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

Definition at line 70 of file FH_CAN07.c.

Referenced by FH_CAN_Receive_CAN07(), and FH_CAN_ReceiveW_CAN07().

◆ FH_CAN07_ReceiveBufIndex

volatile uint16_t FH_CAN07_ReceiveBufIndex
extern

FH_CAN07_ReceiveBufIndex is the index of FH_CAN07_ReceiveBuf

Definition at line 75 of file FH_CAN07.c.

Referenced by FH_CAN_Receive_CAN07(), FH_CAN_ReceiveW_CAN07(), and FH_CAN_ResetRB_CAN07().

◆ FH_CAN07_SharedDataBuf_16Bits

volatile uint16_t FH_CAN07_SharedDataBuf_16Bits[]
extern

FH_CAN07_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 07 , ... It are controllable with some commands (described in this file) through RobotFramework
It is configurable in FH_CAN07_Configs.h

Definition at line 91 of file FH_CAN07.c.

Referenced by FH_CAN_GSD16_CAN07(), and FH_CAN_SSD16_CAN07().

◆ FH_CAN07_SharedDataBuf_32Bits

volatile uint32_t FH_CAN07_SharedDataBuf_32Bits[]
extern

FH_CAN07_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 07 , ... It are controllable with some commands (described in this file) through RobotFramework
It is configurable in FH_CAN07_Configs.h

Definition at line 98 of file FH_CAN07.c.

Referenced by FH_CAN_GSD32_CAN07(), and FH_CAN_SSD32_CAN07().

◆ FH_CAN07_SharedDataBuf_8Bits

volatile uint8_t FH_CAN07_SharedDataBuf_8Bits[]
extern

FH_CAN07_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 07 , ... It are controllable with some commands (described in this file) through RobotFramework
It is configurable in FH_CAN07_Configs.h

Definition at line 83 of file FH_CAN07.c.

Referenced by FH_CAN_GSD8_CAN07(), and FH_CAN_SSD8_CAN07().