17#define PIT_BASE_FREQUENCY 1193182LL
18#define PIT_DATA_PORT(x) (0x40 + (x))
19#define PIT_COMMAND_PORT 0x43
21#define WRITE_PIT_VALUE(PitChannel, Value) \
22 (PitChannel).Bcd ? BCD_TO_BINARY(Value) : (Value)
24#define READ_PIT_VALUE(PitChannel, Value) \
25 (PitChannel).Bcd ? BINARY_TO_BCD(Value) : (Value)
PIT_OUT_FUNCTION OutFunction
struct _PIT_CHANNEL * PPIT_CHANNEL
VOID PitSetOutFunction(BYTE Channel, LPVOID Param, PIT_OUT_FUNCTION OutFunction)
VOID PitSetGate(BYTE Channel, BOOLEAN State)
WORD PitGetReloadValue(BYTE Channel)
VOID(WINAPI * PIT_OUT_FUNCTION)(LPVOID Param, BOOLEAN State)
enum _PIT_MODE * PPIT_MODE
@ PIT_MODE_HARDWARE_ONE_SHOT
@ PIT_MODE_HARDWARE_STROBE
@ PIT_MODE_RATE_GENERATOR
@ PIT_MODE_SOFTWARE_STROBE
@ PIT_MODE_INT_ON_TERMINAL_COUNT
struct _PIT_CHANNEL PIT_CHANNEL