Home About us GitHub Contact us Docs

FoxOS

Welcome to the FoxOS website!

hpet_timer::hpet_timer

Signature: hpet_timer::hpet_timer()
Attributes: undefined
Description: Constructor for the hpet timer class

hpet_timer::sleep

Signature: void hpet_timer::sleep(uint32_t ms)
Description: Sleeps for a certain amount of time

Parameters:

Return: void

hpet_timer::get_ticks_per_second

Signature: uint64_t hpet_timer::get_ticks_per_second()
Description: Gets the number ticks per second of the hpet timer

Return: uint64_t

hpet_timer::get_ticks

Signature: uint64_t hpet_timer::get_ticks()
Description: Gets the current number of ticks of the hpet timer since initialized

Return: uint64_t

hpet_timer::is_available

Signature: bool hpet_timer::is_available()
Description: Checks if the hpet timer is available

Return: bool

Show file on GitHub