Dokumentation
hpet.h File Reference
The High Precision Event Timer (HPET). More...
#include "types.h"
Include dependency graph for hpet.h:
This graph shows which files directly or indirectly include this file:
Classes | |
class | HPET::Comparator |
Class abstracting a single HPET comparator. More... | |
union | HPET::Comparator::ConfigAndCapabilitiesRegister |
Access Helper for comparators configuration register. More... | |
Structs | |
struct | HPET::Comparator::ConfigAndCapabilitiesRegister.__unnamed__ |
Namespaces | |
HPET | |
Abstraction of the HPET existing in "modern" computers (since ~2005) | |
Enumerations | |
enum | HPET::CounterSize { SIZE_32BIT = 0x0, SIZE_64BIT = 0x1 } |
Size of the global counter and the comparators. | |
Functions | |
bool | HPET::init () |
Initializes the HPET system from ACPI Table. More... | |
void | HPET::delay (uint64_t usecs) |
Delays the caller's execution by approx. More... | |
bool | HPET::isEnabled () |
Checks whether the HPET system is enabled. More... | |
void | HPET::enable () |
Activate the HPET system. More... | |
void | HPET::disable () |
Deactivate the HPET system. More... | |
void | HPET::reset () |
Reset the global counter to zero. More... | |
Comparator * | HPET::getComparator (size_t n) |
Returns a pointer to the n th timer comparator. More... | |
size_t | HPET::countComparators () |
Retrieve the number of HPET comparators. More... | |