Go to the source code of this file.
Defines | |
#define | FLASH_BASE ((unsigned int *)0x01000000) |
#define | FLASH_SIZE (2*1024*1024) |
#define | EBI_CSR_0 ((unsigned int *)(FLASH_BASE | 0x2539) |
#define | EBI_CSR_1 ((unsigned int *)0x10000000) |
#define | EBI_CSR_2 ((unsigned int *)0x20000000) |
#define | EBI_CSR_3 ((unsigned int *)0x30000000) |
#define | EBI_CSR_4 ((unsigned int *)0x40000000) |
#define | EBI_CSR_5 ((unsigned int *)0x50000000) |
#define | EBI_CSR_6 ((unsigned int *)0x60000000) |
#define | EBI_CSR_7 ((unsigned int *)0x70000000) |
#define | LED1 _BV(16) |
#define | LED2 _BV(17) |
#define | LED3 _BV(18) |
#define | LED4 _BV(19) |
#define | LED5 _BV(3) |
#define | LED6 _BV(4) |
#define | LED7 _BV(5) |
#define | LED8 _BV(6) |
#define | LED_PIO_CTRL 1 |
#define | LED_MASK (LED1|LED2|LED3|LED4|LED5|LED6|LED7|LED8) |
#define | LED_ON PIO_CLEAR_OUT |
#define | LED_OFF PIO_SET_OUT |
#define | SW1_MASK _BV(12) |
#define | SW2_MASK _BV(9) |
#define | SW3_MASK _BV(1) |
#define | SW4_MASK _BV(2) |
#define | SW_MASK (SW1_MASK|SW2_MASK|SW3_MASK|SW4_MASK) |
#define | SW1 _BV(12) |
#define | SW2 _BV(9) |
#define | SW3 _BV(1) |
#define | SW4 _BV(2) |
#define | PIO_SW1 _BV(12) |
#define | PIO_SW2 _BV(9) |
#define | PIO_SW3 _BV(1) |
#define | PIO_SW4 _BV(2) |
#define | SCL _BV(8) |
#define | SDA _BV(7) |
#define | PIO_SCL _BV(8) |
#define | PIO_SDA _BV(7) |
#define | MCK 66000000 |
#define | MCKKHz (MCK/1000) |
#define FLASH_BASE ((unsigned int *)0x01000000) |
Definition at line 1 of file at91eb40a.h.
#define FLASH_SIZE (2*1024*1024) |
Definition at line 2 of file at91eb40a.h.
#define EBI_CSR_0 ((unsigned int *)(FLASH_BASE | 0x2539) |
Definition at line 9 of file at91eb40a.h.
#define EBI_CSR_1 ((unsigned int *)0x10000000) |
Definition at line 10 of file at91eb40a.h.
#define EBI_CSR_2 ((unsigned int *)0x20000000) |
Definition at line 11 of file at91eb40a.h.
#define EBI_CSR_3 ((unsigned int *)0x30000000) |
Definition at line 12 of file at91eb40a.h.
#define EBI_CSR_4 ((unsigned int *)0x40000000) |
Definition at line 13 of file at91eb40a.h.
#define EBI_CSR_5 ((unsigned int *)0x50000000) |
Definition at line 14 of file at91eb40a.h.
#define EBI_CSR_6 ((unsigned int *)0x60000000) |
Definition at line 15 of file at91eb40a.h.
#define EBI_CSR_7 ((unsigned int *)0x70000000) |
Definition at line 16 of file at91eb40a.h.
#define LED1 _BV(16) |
Definition at line 21 of file at91eb40a.h.
#define LED2 _BV(17) |
Definition at line 22 of file at91eb40a.h.
#define LED3 _BV(18) |
Definition at line 23 of file at91eb40a.h.
#define LED4 _BV(19) |
Definition at line 24 of file at91eb40a.h.
#define LED5 _BV(3) |
Definition at line 25 of file at91eb40a.h.
#define LED6 _BV(4) |
Definition at line 26 of file at91eb40a.h.
#define LED7 _BV(5) |
Definition at line 27 of file at91eb40a.h.
#define LED8 _BV(6) |
Definition at line 28 of file at91eb40a.h.
#define LED_PIO_CTRL 1 |
Definition at line 30 of file at91eb40a.h.
#define LED_MASK (LED1|LED2|LED3|LED4|LED5|LED6|LED7|LED8) |
Definition at line 31 of file at91eb40a.h.
#define LED_ON PIO_CLEAR_OUT |
Definition at line 33 of file at91eb40a.h.
Referenced by NutSetLed(), and sys_led().
#define LED_OFF PIO_SET_OUT |
Definition at line 34 of file at91eb40a.h.
Referenced by NutSetLed(), and sys_led().
#define SW1_MASK _BV(12) |
Definition at line 36 of file at91eb40a.h.
#define SW2_MASK _BV(9) |
Definition at line 37 of file at91eb40a.h.
#define SW3_MASK _BV(1) |
Definition at line 38 of file at91eb40a.h.
#define SW4_MASK _BV(2) |
Definition at line 39 of file at91eb40a.h.
#define SW_MASK (SW1_MASK|SW2_MASK|SW3_MASK|SW4_MASK) |
Definition at line 40 of file at91eb40a.h.
#define SW1 _BV(12) |
Definition at line 45 of file at91eb40a.h.
#define SW2 _BV(9) |
Definition at line 46 of file at91eb40a.h.
#define SW3 _BV(1) |
Definition at line 47 of file at91eb40a.h.
#define SW4 _BV(2) |
Definition at line 48 of file at91eb40a.h.
#define PIO_SW1 _BV(12) |
Definition at line 50 of file at91eb40a.h.
#define PIO_SW2 _BV(9) |
Definition at line 51 of file at91eb40a.h.
#define PIO_SW3 _BV(1) |
Definition at line 52 of file at91eb40a.h.
#define PIO_SW4 _BV(2) |
Definition at line 53 of file at91eb40a.h.
#define SCL _BV(8) |
Definition at line 58 of file at91eb40a.h.
#define SDA _BV(7) |
Definition at line 59 of file at91eb40a.h.
#define PIO_SCL _BV(8) |
Definition at line 60 of file at91eb40a.h.
#define PIO_SDA _BV(7) |
Definition at line 61 of file at91eb40a.h.
#define MCK 66000000 |
Definition at line 66 of file at91eb40a.h.
#define MCKKHz (MCK/1000) |
Definition at line 67 of file at91eb40a.h.