Mark3 Realtime Kernel
kerneltimer.h
Go to the documentation of this file.
1 /*===========================================================================
2  _____ _____ _____ _____
3  ___| _|__ __|_ |__ __|__ |__ __| __ |__ ______
4 | \ / | || \ || | || |/ / ||___ |
5 | \/ | || \ || \ || \ ||___ |
6 |__/\__/|__|_||__|\__\ __||__|\__\ __||__|\__\ __||______|
7  |_____| |_____| |_____| |_____|
8 
9 --[Mark3 Realtime Platform]--------------------------------------------------
10 
11 Copyright (c) 2012 - 2019 m0slevin, all rights reserved.
12 See license.txt for more information
13 =========================================================================== */
21 #pragma once
22 
23 #include "kerneltypes.h"
24 #include "mark3cfg.h"
25 
26 namespace Mark3
27 {
28 //---------------------------------------------------------------------------
35 {
36 public:
41  static void Config(void);
42 
47  static void Start(void);
48 
53  static void Stop(void);
54 };
55 } // namespace Mark3
Basic data type primatives used throughout the OS.
Definition: atomic.cpp:23
Mark3 Kernel Configuration This file is used to configure the kernel for your specific application in...
static void Start(void)
Start Starts the kernel time (must be configured first)
Definition: kerneltimer.cpp:76
The KernelTimer class provides a timer interface used by all time-based scheduling/timer subsystems i...
Definition: kerneltimer.h:34
static void Stop(void)
Stop Shut down the kernel timer, used when no timers are scheduled.
Definition: kerneltimer.cpp:86
static void Config(void)
Config Initializes the kernel timer before use.
Definition: kerneltimer.cpp:60