NeKernel dev
Loading...
Searching...
No Matches
Kernel::HardwareTimer Class Referencefinal

#include <Timer.h>

Inheritance diagram for Kernel::HardwareTimer:
Kernel::TimerInterface

Public Member Functions

 HardwareTimer (UInt64 seconds)
 ~HardwareTimer () override
BOOL Wait () noexcept override
 Wait for the timer to stop spinning.
Public Member Functions inherited from Kernel::TimerInterface
 TimerInterface ()=default
 Default constructor.
virtual ~TimerInterface ()=default

Private Attributes

volatile UInt8fDigitalTimer {nullptr}
Int64 fWaitFor {0}

Constructor & Destructor Documentation

◆ HardwareTimer()

HardwareTimer::HardwareTimer ( UInt64 seconds)
explicit

◆ ~HardwareTimer()

HardwareTimer::~HardwareTimer ( )
override

Member Function Documentation

◆ Wait()

BOOL HardwareTimer::Wait ( )
overridevirtualnoexcept

Wait for the timer to stop spinning.

Reimplemented from Kernel::TimerInterface.

Member Data Documentation

◆ fDigitalTimer

volatile UInt8* Kernel::HardwareTimer::fDigitalTimer {nullptr}
private

◆ fWaitFor

Int64 Kernel::HardwareTimer::fWaitFor {0}
private

The documentation for this class was generated from the following files: