void pitSetValue(uint32_t channel, uint32_t mode, uint16_t value)
Internal function to set a value of the PIT.
#define PIT_MODE_RATE_GENERATOR
void outb(uint16_t port, uint8_t val)
void pitSetFrequency(uint32_t channel, uint32_t frequency)
Set frequency of the programmable interval timer.
#define PIT_CHANNEL_COUNT
#define PIT_CONTROL_VALUE(FORMAT, MODE, REGISTER, CHANNEL)