RTEMS  5.0.0
Macros | Enumerations | Functions | Variables
bsp.h File Reference

Global BSP definitions. More...

#include <bspopts.h>
#include <rtems.h>
#include <bsp/lpc32xx.h>
#include <bsp/default-initial-extension.h>

Go to the source code of this file.

Macros

#define BSP_FEATURE_IRQ_EXTENSION
 
#define RTEMS_BSP_NETWORK_DRIVER_ATTACH   lpc_eth_attach_detach
 Standard network driver attach and detach function.
 
#define RTEMS_BSP_NETWORK_DRIVER_NAME   "eth0"
 Standard network driver name.
 
#define LPC32XX_STANDARD_TIMER   (&lpc32xx.timer_1)
 
#define BSP_IDLE_TASK_BODY   bsp_idle_thread
 
#define BSP_CONSOLE_UART_BASE   LPC32XX_BASE_UART_5
 
#define LPC32XX_DO_STOP_GPDMA
 
#define LPC32XX_DO_STOP_ETHERNET
 
#define LPC32XX_DO_STOP_USB
 
#define LPC32XX_DO_RESTART(addr)
 

Enumerations

enum  lpc32xx_nand_controller { LPC32XX_NAND_CONTROLLER_NONE, LPC32XX_NAND_CONTROLLER_MLC, LPC32XX_NAND_CONTROLLER_SLC }
 

Functions

int lpc_eth_attach_detach (struct rtems_bsdnet_ifconfig *config, int attaching)
 Network driver attach and detach function.
 
void * lpc32xx_idle (uintptr_t ignored)
 Optimized idle task. More...
 
bool lpc32xx_start_pll_setup (uint32_t hclkpll_ctrl, uint32_t hclkdiv_ctrl, bool force)
 
uint32_t lpc32xx_sysclk (void)
 
uint32_t lpc32xx_hclkpll_clk (void)
 
uint32_t lpc32xx_periph_clk (void)
 
uint32_t lpc32xx_hclk (void)
 
uint32_t lpc32xx_arm_clk (void)
 
uint32_t lpc32xx_ddram_clk (void)
 
void lpc32xx_select_nand_controller (lpc32xx_nand_controller nand_controller)
 
void bsp_restart (void *addr)
 
void * bsp_idle_thread (uintptr_t arg)
 Optimized idle task. More...
 

Variables

uint32_t lpc32xx_magic_zero_begin []
 Begin of magic zero area. More...
 
uint32_t lpc32xx_magic_zero_end []
 End of magic zero area. More...
 
uint32_t lpc32xx_magic_zero_size []
 Size of magic zero area. More...
 

Detailed Description

Global BSP definitions.