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

File Map:
FH_Functions, Section FH_CAN (CAN), Peripheral FH_CAN01 (CAN 01)
(The CAN01 (CAN 01) could be any interested CAN of the micro-controller on which FH source code is ported)
Global variables and arrays of CAN01 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_CAN01_ReceiveBuf []
volatile uint16_t FH_CAN01_ReceiveBufIndex
volatile uint8_t FH_CAN01_SharedDataBuf_8Bits []
volatile uint16_t FH_CAN01_SharedDataBuf_16Bits []
volatile uint32_t FH_CAN01_SharedDataBuf_32Bits []

Detailed Description

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

Variable Documentation

◆ FH_CAN01_ReceiveBuf

volatile uint8_t FH_CAN01_ReceiveBuf[]
extern

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

Definition at line 70 of file FH_CAN01.c.

Referenced by FH_CAN_Receive_CAN01(), and FH_CAN_ReceiveW_CAN01().

◆ FH_CAN01_ReceiveBufIndex

volatile uint16_t FH_CAN01_ReceiveBufIndex
extern

FH_CAN01_ReceiveBufIndex is the index of FH_CAN01_ReceiveBuf

Definition at line 75 of file FH_CAN01.c.

Referenced by FH_CAN_Receive_CAN01(), FH_CAN_ReceiveW_CAN01(), and FH_CAN_ResetRB_CAN01().

◆ FH_CAN01_SharedDataBuf_16Bits

volatile uint16_t FH_CAN01_SharedDataBuf_16Bits[]
extern

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

Definition at line 91 of file FH_CAN01.c.

Referenced by FH_CAN_GSD16_CAN01(), and FH_CAN_SSD16_CAN01().

◆ FH_CAN01_SharedDataBuf_32Bits

volatile uint32_t FH_CAN01_SharedDataBuf_32Bits[]
extern

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

Definition at line 98 of file FH_CAN01.c.

Referenced by FH_CAN_GSD32_CAN01(), and FH_CAN_SSD32_CAN01().

◆ FH_CAN01_SharedDataBuf_8Bits

volatile uint8_t FH_CAN01_SharedDataBuf_8Bits[]
extern

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

Definition at line 83 of file FH_CAN01.c.

Referenced by FH_CAN_GSD8_CAN01(), and FH_CAN_SSD8_CAN01().