RTEMS 6.3
Loading...
Searching...
No Matches

NXP MPC83XX Board Support Package. More...

Files

file  bsps/powerpc/gen83xx/include/bsp.h
 Global BSP definitions.

Macros

#define BSP_FEATURE_IRQ_EXTENSION
#define BSP_ARRAY_CNT(arr)
#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)

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.
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.

Macro Definition Documentation

◆ BSP_ARRAY_CNT

#define BSP_ARRAY_CNT ( arr)
Value:
(sizeof(arr)/sizeof(arr[0]))

◆ BSP_Convert_decrementer

#define BSP_Convert_decrementer ( _value)
Value:
((int) (((_value) * 10) / bsp_clicks_per_usec))

Function Documentation

◆ bsp_idle_thread()

void * bsp_idle_thread ( uintptr_t ignored)

Optimized idle task.

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 header file evaluates the application configuration options defined by the application.