Home About us GitHub Contact us Docs

FoxOS

Welcome to the FoxOS website!

timer_device::sleep

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

Parameters:

Return: void

timer_device::get_ticks_per_second

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

Return: uint64_t

timer_device::get_ticks

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

Return: uint64_t

timer::setup

Signature: void timer::setup()
Description: Sets up the timers in the system

Return: void

Show file on GitHub