Subversion Repositories freemyipod

Rev

Rev 511 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 511 Rev 560
Line 582... Line 582...
582
#define WHEELRX      (*((uint32_t volatile*)(0x3C200018)))
582
#define WHEELRX      (*((uint32_t volatile*)(0x3C200018)))
583
#define WHEELTX      (*((uint32_t volatile*)(0x3C20001C)))
583
#define WHEELTX      (*((uint32_t volatile*)(0x3C20001C)))
584
 
584
 
585
 
585
 
586
/////CLOCK GATES/////
586
/////CLOCK GATES/////
-
 
587
#define CLOCKGATE_LCD 1
587
#define CLOCKGATE_USB_1 2
588
#define CLOCKGATE_USB_1 2
-
 
589
#define CLOCKGATE_DMA(x) 25
-
 
590
#define CLOCKGATE_DMA_0 25
588
#define CLOCKGATE_USB_2 35
591
#define CLOCKGATE_USB_2 35
-
 
592
#define CLOCKGATE_I2C(x) 36
-
 
593
#define CLOCKGATE_I2C_0 36
-
 
594
#define CLOCKGATE_SPI(x) ((i) == 2 ? 47 : (i) == 1 ? 43 : 34)
-
 
595
#define CLOCKGATE_SPI_0 34
-
 
596
#define CLOCKGATE_SPI_1 43
-
 
597
#define CLOCKGATE_SPI_2 47
589
 
598
 
590
 
599
 
591
/////INTERRUPTS/////
600
/////INTERRUPTS/////
592
#define IRQ_TIMER 8
601
#define IRQ_TIMER 8
593
#define IRQ_USB_FUNC 19
602
#define IRQ_USB_FUNC 19