ReactOS 0.4.16-dev-92-g0c2cdca
|
Go to the source code of this file.
Classes | |
struct | _PIT_CHANNEL |
Macros | |
#define | PIT_CHANNELS 3 |
#define | PIT_BASE_FREQUENCY 1193182LL |
#define | PIT_DATA_PORT(x) (0x40 + (x)) |
#define | PIT_COMMAND_PORT 0x43 |
#define | WRITE_PIT_VALUE(PitChannel, Value) (PitChannel).Bcd ? BCD_TO_BINARY(Value) : (Value) |
#define | READ_PIT_VALUE(PitChannel, Value) (PitChannel).Bcd ? BINARY_TO_BCD(Value) : (Value) |
Typedefs | |
typedef enum _PIT_MODE | PIT_MODE |
typedef enum _PIT_MODE * | PPIT_MODE |
typedef VOID(WINAPI * | PIT_OUT_FUNCTION) (LPVOID Param, BOOLEAN State) |
typedef struct _PIT_CHANNEL | PIT_CHANNEL |
typedef struct _PIT_CHANNEL * | PPIT_CHANNEL |
Enumerations | |
enum | _PIT_MODE { PIT_MODE_INT_ON_TERMINAL_COUNT , PIT_MODE_HARDWARE_ONE_SHOT , PIT_MODE_RATE_GENERATOR , PIT_MODE_SQUARE_WAVE , PIT_MODE_SOFTWARE_STROBE , PIT_MODE_HARDWARE_STROBE } |
Functions | |
VOID | PitSetOutFunction (BYTE Channel, LPVOID Param, PIT_OUT_FUNCTION OutFunction) |
VOID | PitSetGate (BYTE Channel, BOOLEAN State) |
WORD | PitGetReloadValue (BYTE Channel) |
VOID | PitInitialize (VOID) |
#define READ_PIT_VALUE | ( | PitChannel, | |
Value | |||
) | (PitChannel).Bcd ? BINARY_TO_BCD(Value) : (Value) |
#define WRITE_PIT_VALUE | ( | PitChannel, | |
Value | |||
) | (PitChannel).Bcd ? BCD_TO_BINARY(Value) : (Value) |
typedef struct _PIT_CHANNEL PIT_CHANNEL |
typedef struct _PIT_CHANNEL * PPIT_CHANNEL |
Definition at line 493 of file pit.c.
Referenced by SpeakerChange().
Definition at line 503 of file pit.c.
Referenced by EmulatorInitialize().
Definition at line 484 of file pit.c.
Referenced by PitInitialize(), and Port61hWrite().
VOID PitSetOutFunction | ( | BYTE | Channel, |
LPVOID | Param, | ||
PIT_OUT_FUNCTION | OutFunction | ||
) |
Definition at line 476 of file pit.c.
Referenced by EmulatorInitialize(), and PitInitialize().