|
RTEMS
5.1
|
Go to the documentation of this file. 19 #define TX4925_REG_BASE 0xFF1F0000 25 #define TX4925_CFG_CCFG 0xE000 26 #define TX4925_CFG_REVID 0xE004 27 #define TX4925_CFG_PCFG 0xE008 28 #define TX4925_CFG_TOEA 0xE00C 29 #define TX4925_CFG_PDNCTR 0xE010 30 #define TX4925_CFG_GARBP 0xE018 31 #define TX4925_CFG_TOCNT 0xE020 32 #define TX4925_CFG_DRQCTR 0xE024 33 #define TX4925_CFG_CLKCTR 0xE028 34 #define TX4925_CFG_GARBC 0xE02C 35 #define TX4925_CFG_RAMP 0xE030 38 #define SELCHI 0x00100000 39 #define SELTMR0 0x00000200 46 #define TX4925_TIMER0_BASE 0xF000 47 #define TX4925_TIMER1_BASE 0xF100 48 #define TX4925_TIMER2_BASE 0xF200 50 #define TX4925_TIMER_TCR 0x00 51 #define TX4925_TIMER_TISR 0x04 52 #define TX4925_TIMER_CPRA 0x08 53 #define TX4925_TIMER_CPRB 0x0C 54 #define TX4925_TIMER_ITMR 0x10 55 #define TX4925_TIMER_CCDR 0x20 56 #define TX4925_TIMER_PGMR 0x30 57 #define TX4925_TIMER_WTMR 0x40 58 #define TX4925_TIMER_TRR 0xF0 61 #define TIMER_CLEAR_ENABLE_MASK 0x1 62 #define TIMER_INT_ENABLE_MASK 0x8000 79 #define TX4925_IRQCTL_DEN 0xF600 80 #define TX4925_IRQCTL_DM0 0xF604 81 #define TX4925_IRQCTL_DM1 0xF608 82 #define TX4925_IRQCTL_LVL0 0xF610 83 #define TX4925_IRQCTL_LVL1 0xF614 84 #define TX4925_IRQCTL_LVL2 0xF618 85 #define TX4925_IRQCTL_LVL3 0xF61C 86 #define TX4925_IRQCTL_LVL4 0xF620 87 #define TX4925_IRQCTL_LVL5 0xF624 88 #define TX4925_IRQCTL_LVL6 0xF628 89 #define TX4925_IRQCTL_LVL7 0xF62C 90 #define TX4925_IRQCTL_MSK 0xF640 91 #define TX4925_IRQCTL_EDC 0xF660 92 #define TX4925_IRQCTL_PND 0xF680 93 #define TX4925_IRQCTL_CS 0xF6A0 94 #define TX4925_IRQCTL_FLAG0 0xF510 95 #define TX4925_IRQCTL_FLAG1 0xF514 96 #define TX4925_IRQCTL_POL 0xF518 97 #define TX4925_IRQCTL_RCNT 0xF51C 98 #define TX4925_IRQCTL_MASKINT 0xF520 99 #define TX4925_IRQCTL_MASKEXT 0xF524 101 #define TX4925_REG_READ( _base, _register ) \ 102 *((volatile uint32_t *)((_base) + (_register))) 104 #define TX4925_REG_WRITE( _base, _register, _value ) \ 105 *((volatile uint32_t *)((_base) + (_register))) = (_value)