RTEMS  5.1
Files | Macros | Functions | Variables

NXP MPC83XX Board Support Package. More...

Files

file  bsp.h
 Global BSP definitions.
 

Macros

#define BSP_FEATURE_IRQ_EXTENSION
 
#define BSP_ARRAY_CNT(arr)   (sizeof(arr)/sizeof(arr[0]))
 
#define BSP_IDLE_TASK_BODY   bsp_idle_thread
 
#define RTEMS_BSP_NETWORK_DRIVER_ATTACH   BSP_tsec_attach
 
#define RTEMS_BSP_NETWORK_DRIVER_NAME   "tsec1"
 
#define RTEMS_BSP_NETWORK_DRIVER_NAME2   "tsec2"
 
#define BSP_Convert_decrementer(_value)   ((int) (((_value) * 10) / bsp_clicks_per_usec))
 

Functions

 LINKER_SYMBOL (bsp_ram_start)
 
 LINKER_SYMBOL (bsp_ram_end)
 
 LINKER_SYMBOL (bsp_ram_size)
 
 LINKER_SYMBOL (bsp_rom_start)
 
 LINKER_SYMBOL (bsp_rom_end)
 
 LINKER_SYMBOL (bsp_rom_size)
 
 LINKER_SYMBOL (bsp_section_text_start)
 
 LINKER_SYMBOL (bsp_section_text_end)
 
 LINKER_SYMBOL (bsp_section_text_size)
 
 LINKER_SYMBOL (bsp_section_data_start)
 
 LINKER_SYMBOL (bsp_section_data_end)
 
 LINKER_SYMBOL (bsp_section_data_size)
 
 LINKER_SYMBOL (bsp_section_bss_start)
 
 LINKER_SYMBOL (bsp_section_bss_end)
 
 LINKER_SYMBOL (bsp_section_bss_size)
 
 LINKER_SYMBOL (bsp_work_area_start)
 
 LINKER_SYMBOL (IMMRBAR)
 
void * bsp_idle_thread (uintptr_t ignored)
 Optimized idle task. More...
 
rtems_status_code bsp_register_i2c (void)
 
rtems_status_code bsp_register_spi (void)
 
int BSP_tsec_attach (struct rtems_bsdnet_ifconfig *config, int attaching)
 
void mpc83xx_zero_4 (void *dest, size_t n)
 
void cpu_init (void)
 
void bsp_restart (void *addr)
 

Variables

unsigned int BSP_bus_frequency
 
uint32_t bsp_clicks_per_usec
 

Detailed Description

NXP MPC83XX Board Support Package.

Function Documentation

◆ bsp_idle_thread()

void* bsp_idle_thread ( uintptr_t  ignored)

Optimized idle task.

This BSP provides its own IDLE thread to override the RTEMS one.

This idle task sets the power mode to idle. This causes the processor clock to be stopped, while on-chip peripherals remain active. Any enabled interrupt from a peripheral or an external interrupt source will cause the processor to resume execution.

To enable the idle task use the following in the system configuration:

#include <bsp.h>
#define CONFIGURE_INIT
#define CONFIGURE_IDLE_TASK_BODY bsp_idle_thread
#include <confdefs.h>

This BSP provides its own IDLE thread to override the RTEMS one.

Optimized idle task.

The MSR[POW] bit is set to put the CPU into the low power mode defined in HID0. HID0 is set during starup in start.S.

This BSP provides its own IDLE thread to override the RTEMS one.

This idle task sets the power mode to idle. This causes the processor clock to be stopped, while on-chip peripherals remain active. Any enabled interrupt from a peripheral or an external interrupt source will cause the processor to resume execution.

To enable the idle task use the following in the system configuration:

#include <bsp.h>
#define CONFIGURE_INIT
#define CONFIGURE_IDLE_TASK_BODY bsp_idle_thread
#include <confdefs.h>

Optimized idle task.

The MSR[POW] bit is set to put the CPU into the low power mode defined in HID0. HID0 is set during starup in start.S.