FreeHIL
Loading...
Searching...
No Matches
FH_GlobalTimerCount.h
Go to the documentation of this file.
1/**
2 * @file
3 * @brief
4 * <b>File Map:</b>\n
5 * <b>FH_Root</b>, Section <b>FH_General</b>, <b>FH_GlobalTimerCount</b> \n
6 * <b>FH_GlobalTimeCounter</b> here shall be incremented every <b>1 mili-second</b> in an interested timer <b>ISR</b> (Interrupt Service Routine) by <b>FH</b> user\n
7 * For this to happen, <b>FH_GlobalTimerCount.h</b> shall be included in the interested timer <b>ISR</b> (Interrupt Service Routine) file
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/* Define to prevent recursive inclusion -------------------------------------*/
32#ifndef FH_GlobalTimerCount_H
33#define FH_GlobalTimerCount_H
34
35/* Includes ------------------------------------------------------------------*/
36#include "stdint.h"
37
38extern volatile uint32_t FH_GlobalTimeCounter;
39
40/* Function Prototypes -----------------------------------------------------*/
42
43#endif // FH_GlobalTimerCount_H