Revision 20
timer_test_int prototype
i8254.h | ||
---|---|---|
9 | 9 |
* Constants for programming the i8254 Timer. Needs to be completed. |
10 | 10 |
*/ |
11 | 11 |
|
12 |
#define TIMER_FREQ 1193182 /**< @brief clock frequency for timer in PC and AT */ |
|
12 |
#define TIMER_FREQ 1193182 /**< @brief clock frequency for timer in PC and AT */
|
|
13 | 13 |
#define TIMER_MIN_FREQ 19 /**< @brief mininum frequency for timer */ |
14 |
#define TIMER0_IRQ 0 /**< @brief Timer 0 IRQ line */ |
|
14 |
#define TIMER0_IRQ 0 /**< @brief Timer 0 IRQ line */
|
|
15 | 15 |
|
16 |
|
|
17 | 16 |
/* I/O port addresses */ |
18 | 17 |
|
19 | 18 |
#define TIMER_0 0x40 /**< @brief Timer 0 count register */ |
Also available in: Unified diff