IgrOS-Kernel 0.1.34.545
Simple C++20 Kernel for i386/x86_64
Loading...
Searching...
No Matches
pit.hpp File Reference

Programmable interrupt timer. More...

#include <arch/types.hpp>
Include dependency graph for pit.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  igros
 IgrOS kernel: common types and literals.
namespace  igros::arch
 Architecture-independent interface: drivers and aliases of current architecture types.

Functions

void igros::arch::pitSetupFrequency (const igros_word_t frequency) noexcept
 Setup PIT frequency.
auto igros::arch::pitGetTicks () noexcept -> igros_quad_t
 Get expired ticks.
auto igros::arch::pitSetup () noexcept -> bool
 Setup programmable interrupt timer.

Variables

constexpr auto igros::arch::PIT_MAIN_FREQUENCY = 1193181_u32
 PIT frequency (1.193181(3) MHz).
constexpr auto igros::arch::PIT_DEFAULT_FREQUENCY = 100_u32
 Default pit frequency (100 Hz).

Detailed Description

Programmable interrupt timer.

Date
03 Nov 2026
Author
Igor Baklykov

Definition in file pit.hpp.