|
#define | BSP_FEATURE_IRQ_EXTENSION |
|
#define | UART_CLOCK 48000000 |
|
#define | mmio_read(a) (*(volatile uint32_t *)(a)) |
|
#define | mmio_write(a, v) (*(volatile uint32_t *)(a) = (v)) |
|
#define | mmio_set(a, v) mmio_write((a), mmio_read((a)) | (v)) |
|
#define | mmio_clear(a, v) mmio_write((a), mmio_read((a)) & ~(v)) |
|
#define | REG16(x) (*((volatile uint16_t *)(x))) |
|
#define | REG(x) (*((volatile uint32_t *)(x))) |
|
#define | BIT(x) (0x1 << (x)) |
|
#define | BITS(Start, End) (((1 << (End+1)) - 1) & ~((1 << (Start)) - 1)) |
|
#define | udelay(u) rtems_task_wake_after(1 + ((u)/rtems_configuration_get_microseconds_per_tick())) |
|
#define | __arch_getb(a) (*(volatile unsigned char *)(a)) |
|
#define | __arch_getw(a) (*(volatile unsigned short *)(a)) |
|
#define | __arch_getl(a) (*(volatile unsigned int *)(a)) |
|
#define | __arch_putb(v, a) (*(volatile unsigned char *)(a) = (v)) |
|
#define | __arch_putw(v, a) (*(volatile unsigned short *)(a) = (v)) |
|
#define | __arch_putl(v, a) (*(volatile unsigned int *)(a) = (v)) |
|
#define | writeb(v, c) ({ unsigned char __v = v; __arch_putb(__v,c); __v; }) |
|
#define | writew(v, c) ({ unsigned short __v = v; __arch_putw(__v,c); __v; }) |
|
#define | writel(v, c) ({ unsigned int __v = v; __arch_putl(__v,c); __v; }) |
|
#define | readb(c) ({ unsigned char __v = __arch_getb(c); __v; }) |
|
#define | readw(c) ({ unsigned short __v = __arch_getw(c); __v; }) |
|
#define | readl(c) ({ unsigned int __v = __arch_getl(c); __v; }) |
|
#define | SYSTEM_CLOCK_12 12000000 |
|
#define | SYSTEM_CLOCK_13 13000000 |
|
#define | SYSTEM_CLOCK_192 19200000 |
|
#define | SYSTEM_CLOCK_96 96000000 |
|
#define | BSP_PRINT_EXCEPTION_CONTEXT 1 |
|
#define | BSP_RESET_BOARD_AT_EXIT 1 |
|
Beaglebone Board Support Package.