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

NXP LPC176X Board Support Package. More...

Topics

 DMA Support
 Direct memory access (DMA) support.
 System Clocks
 System clocks.

Files

file  bsps/arm/lpc176x/btimer/btimer.c
 Timer benchmark functions for the lpc176x bsp.
file  bsps/arm/lpc176x/can/can.c
 CAN controller for the mbed lpc1768 board.
file  bsps/arm/lpc176x/console/console-config.c
 Console configuration.
file  bsps/arm/lpc176x/gpio/lpc-gpio.c
 GPIO library for the lpc176x bsp.
file  bsps/arm/lpc176x/include/bsp.h
 Global BSP definitions.
file  bsps/arm/lpc176x/include/bsp/adc-defs.h
 ADC library for the lpc176x bsp.
file  bsps/arm/lpc176x/include/bsp/adc.h
 ADC library for the lpc176x bsp.
file  bsps/arm/lpc176x/include/bsp/can-defs.h
 CAN controller for the lpc176x controller.
file  bsps/arm/lpc176x/include/bsp/can.h
 CAN controller for the mbed lpc1768 board.
file  bsps/arm/lpc176x/include/bsp/common-types.h
 Definitions types used by some devices in common.
file  bsps/arm/lpc176x/include/bsp/gpio-defs.h
 API definitions of the GPIO driver for the lpc176x bsp in RTEMS.
file  bsps/arm/lpc176x/include/bsp/io-defs.h
 Input/output module definitions.
file  bsps/arm/lpc176x/include/bsp/io.h
 Input/output module methods definitions.
file  bsps/arm/lpc176x/include/bsp/lpc-clock-config.h
 Clock driver configuration.
file  bsps/arm/lpc176x/include/bsp/lpc-gpio.h
 API of the GPIO driver for the lpc176x bsp in RTEMS.
file  bsps/arm/lpc176x/include/bsp/lpc176x.h
 Specific register definitions according to lpc176x family boards.
file  bsps/arm/lpc176x/include/bsp/mbed-pinmap.h
 Pins of the mbed lpc1768 See http://mbed.org/media/uploads/chris/mbed-005.1.pdf for references.
file  bsps/arm/lpc176x/include/bsp/pwmout-defs.h
 PWM-Out controller for the mbed lpc1768 board.
file  bsps/arm/lpc176x/include/bsp/pwmout.h
 PWM-Out controller for the mbed lpc1768 board.
file  bsps/arm/lpc176x/include/bsp/timer-defs.h
 API definitions of the for the timer of the lpc176x bsp.
file  bsps/arm/lpc176x/include/bsp/timer.h
 Timer API for the lpc176x bsp.
file  bsps/arm/lpc176x/include/bsp/watchdog-defs.h
 API definitions of the Watchdog driver for the lpc176x bsp in RTEMS.
file  bsps/arm/lpc176x/include/bsp/watchdog.h
 API of the Watchdog driver for the lpc176x bsp in RTEMS.
file  bsps/arm/lpc176x/pwm/pwmout.c
 PWM-Out controller for the mbed lpc1768 board.
file  bsps/arm/lpc176x/rtc/rtc-config.c
 RTC configuration.
file  bsps/arm/lpc176x/start/adc.c
 ADC library for the lpc176x bsp.
file  bsps/arm/lpc176x/start/bspidle.c
 Idle task.
file  bsps/arm/lpc176x/start/bspstart.c
 Startup code.
file  bsps/arm/lpc176x/start/bspstarthooks.c
 First configurations and initializations to the correct functionality of the board.
file  bsps/arm/lpc176x/start/io.c
 Input/output module methods.
file  bsps/arm/lpc176x/start/restart.c
 Restart implementation.
file  bsps/arm/lpc176x/start/watchdog.c
 Watchdog controller for the mbed lpc176x family boards.
file  bsps/arm/lpc176x/timer/timer.c
 Timer controller for the mbed lpc1768 board.

Macros

#define LPC176X_PCLK   ( LPC176X_CCLK / LPC176X_PCLKDIV )
#define LPC176X_MPU_REGION_COUNT   8u
#define BSP_FEATURE_IRQ_EXTENSION
#define BSP_ARMV7M_IRQ_PRIORITY_DEFAULT   ( 29u << 3u )
#define BSP_ARMV7M_SYSTICK_PRIORITY   ( 30u << 3u )
#define BSP_ARMV7M_SYSTICK_FREQUENCY   LPC176X_CCLK
#define BSP_CONSOLE_UART_BASE   0x4000C000U

Functions

void * bsp_idle_thread (uintptr_t ignored)
 Optimized idle task.
void bsp_restart (const void *addr)
 Restarts the bsp with "addr" address.

Detailed Description

NXP LPC176X Board Support Package.

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.

◆ bsp_restart()

void bsp_restart ( const void * addr)

Restarts the bsp with "addr" address.

Parameters
addrAddress used to restart the bsp