|
RTEMS
5.0.0
|
Go to the documentation of this file. 25 #define TX3904_TIMER0_BASE 0xFFFFF000 26 #define TX3904_TIMER1_BASE 0xFFFFF100 27 #define TX3904_TIMER2_BASE 0xFFFFF200 29 #define TX3904_TIMER_TCR 0x00 30 #define TX3904_TIMER_TISR 0x04 31 #define TX3904_TIMER_CPRA 0x08 32 #define TX3904_TIMER_CPRB 0x0C 33 #define TX3904_TIMER_ITMR 0x10 34 #define TX3904_TIMER_CCDR 0x20 35 #define TX3904_TIMER_PGMR 0x30 36 #define TX3904_TIMER_WTMR 0x40 37 #define TX3904_TIMER_TRR 0xF0 39 #define TX3904_TIMER_READ( _base, _register ) \ 40 *((volatile uint32_t*)((_base) + (_register))) 42 #define TX3904_TIMER_WRITE( _base, _register, _value ) \ 43 *((volatile uint32_t*)((_base) + (_register))) = (_value)