Go to the source code of this file.
Defines | |
#define | __TIMERREG_H__ 1 |
#define | TIMER_FREQ 1193182 |
#define | TIMER_DIV(x) ((TIMER_FREQ+(x)/2)/(x)) |
#define | TIMER_CNTR0 (IO_TIMER1 + 0) |
#define | TIMER_CNTR1 (IO_TIMER1 + 1) |
#define | TIMER_CNTR2 (IO_TIMER1 + 2) |
#define | TIMER_MODE (IO_TIMER1 + 3) |
#define | TIMER_SEL0 0x00 |
#define | TIMER_SEL1 0x40 |
#define | TIMER_SEL2 0x80 |
#define | TIMER_INTTC 0x00 |
#define | TIMER_ONESHOT 0x02 |
#define | TIMER_RATEGEN 0x04 |
#define | TIMER_SQWAVE 0x06 |
#define | TIMER_SWSTROBE 0x08 |
#define | TIMER_HWSTROBE 0x0a |
#define | TIMER_LATCH 0x00 |
#define | TIMER_LSB 0x10 |
#define | TIMER_MSB 0x20 |
#define | TIMER_16BIT 0x30 |
#define | TIMER_BCD 0x01 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|