Revision 16
fixed stuff
i8254.h | ||
---|---|---|
44 | 44 |
#define TIMER_RATE_GEN BIT(2) /**< @brief Mode 2: rate generator */ |
45 | 45 |
#define TIMER_MODE_MASK 0x0E /**< @brief Mask for mode */ |
46 | 46 |
#define TIMER_MODE_POS 1 /**< @brief Position of smallest bit from mode */ |
47 |
#define TIMER_MODE_RED2 0x03 /**< @brief Reduce 3-bit mode to 2-bit mode */ |
|
47 | 48 |
|
48 | 49 |
/* Counting mode: bit 0 */ |
49 | 50 |
|
Also available in: Unified diff