|
|
| version 1.1.1.1, 2003/10/16 17:57:56 | version 1.5, 2004/03/10 23:01:08 |
|---|---|
| Line 1 | Line 1 |
| #if defined(CPUCORE_IA32) | |
| #define uPD71054 | |
| #endif | |
| typedef struct { | typedef struct { |
| BYTE mode[4]; | UINT8 mode[4]; |
| BYTE flag[4]; | UINT8 flag[4]; |
| BYTE high[4]; | UINT8 intr[4]; |
| union { | #if defined(uPD71054) |
| BYTE b[2]; | UINT8 stat[4]; |
| UINT16 w; | #endif |
| } value[4]; | UINT16 value[4]; |
| union { | UINT16 latch[4]; |
| BYTE b[2]; | |
| UINT16 w; | |
| } latch[4]; | |
| } _PIT, *PIT; | } _PIT, *PIT; |
| Line 23 void systimer(NEVENTITEM item); | Line 24 void systimer(NEVENTITEM item); |
| void beeponeshot(NEVENTITEM item); | void beeponeshot(NEVENTITEM item); |
| void rs232ctimer(NEVENTITEM item); | void rs232ctimer(NEVENTITEM item); |
| void itimer_setflag(int ch, BYTE value); | void pit_setflag(int ch, REG8 value); |
| BOOL itimer_setcount(int ch, BYTE value); | BOOL pit_setcount(int ch, REG8 value); |
| BYTE itimer_getcount(int ch); | REG8 pit_getcount(int ch); |
| void itimer_reset(void); | void itimer_reset(void); |
| void itimer_bind(void); | void itimer_bind(void); |