|
RTEMS 6.1-rc5
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
44#define TX3904_TIMER0_BASE 0xFFFFF000
45#define TX3904_TIMER1_BASE 0xFFFFF100
46#define TX3904_TIMER2_BASE 0xFFFFF200
48#define TX3904_TIMER_TCR 0x00
49#define TX3904_TIMER_TISR 0x04
50#define TX3904_TIMER_CPRA 0x08
51#define TX3904_TIMER_CPRB 0x0C
52#define TX3904_TIMER_ITMR 0x10
53#define TX3904_TIMER_CCDR 0x20
54#define TX3904_TIMER_PGMR 0x30
55#define TX3904_TIMER_WTMR 0x40
56#define TX3904_TIMER_TRR 0xF0
58#define TX3904_TIMER_READ( _base, _register ) \
59 *((volatile uint32_t*)((_base) + (_register)))
61#define TX3904_TIMER_WRITE( _base, _register, _value ) \
62 *((volatile uint32_t*)((_base) + (_register))) = (_value)