My Kernel v0.1.0
pit.h File Reference
#include <kernel/types.h>
#include <kernel/error.h>
Include dependency graph for pit.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  pit_channel
 The different PIT channels available.
 
enum  pit_mode
 The different programmable modes for a channel.
 

Functions

error_t pit_config_channel (pit_channel, u32 frequency, pit_mode)
 Configure a single PIT channel. More...
 
u16 pit_read_channel (pit_channel)
 Read the current value inside the channel's counter.