![]() |
RTEMS 6.1
|
This header file provides interfaces used by the BSP implementation. More...
#include <grlib/apbuart-regs.h>#include <grlib/gptimer-regs.h>#include <bspopts.h>#include <bsp/irqimpl.h>#include <grlib/ambapp.h>#include <sys/timetc.h>Go to the source code of this file.
Data Structures | |
| struct | leon3_timecounter |
| Represents the LEON3-specific timecounter. More... | |
Macros | |
| #define | LEON3_REG_CACHE_CTRL_FI 0x00200000U |
| This constant represents the flush instruction cache flag of the LEON cache control register. | |
| #define | LEON3_REG_CACHE_CTRL_DS 0x00800000U |
| This constant represents the data cache snooping enable flag of the LEON cache control register. | |
| #define | LEON3_CLOCK_INDEX 0 |
| This constant defines the index of the GPTIMER timer used by the clock driver. | |
| #define | LEON3_COUNTER_GPTIMER_INDEX ( LEON3_CLOCK_INDEX + 1 ) |
| This constant defines the index of the GPTIMER timer used by the CPU counter if the CPU counter uses the GPTIMER. | |
| #define | LEON3_GPTIMER_0_FREQUENCY_SET_BY_BOOT_LOADER 1000000 |
| This constant defines the frequency set by the boot loader of the first GPTIMER instance. | |
Functions | |
| RTEMS_NO_RETURN void | leon3_power_down_loop (void) |
| Sets asr19 to zero to enter the power-down mode of the processor in an infinite loop. | |
Variables | |
| int | leon3_timer_core_index |
| This object lets the user override which on-chip GPTIMER core will be used for system clock timer. | |
| unsigned int | leon3_timer_prescaler |
| This object lets the user override system clock timer prescaler. | |
| gptimer * | LEON3_Timer_Regs |
| This pointer provides the GPTIMER register block address. | |
| struct ambapp_dev * | LEON3_Timer_Adev |
| This pointer provides the GPTIMER device information block. | |
| apbuart * | leon3_debug_uart |
| This pointer provides the debug APBUART register block address. | |
| leon3_timecounter | leon3_timecounter_instance |
| Provides the LEON3-specific timecounter. | |
This header file provides interfaces used by the BSP implementation.