Llosa de Viango Tollos – mbed library

Introduction

Features

Getting started

Download


Libraries

  Tollos libraries

  Device libraries

    boards

    microcontrollers

    peripherals


Background

  Sample application

  Troubleshooting

The library for the mbed board from NXP comprises:

  • the mbed.ld link script, which defines the configuration of the microcontroller
  • the debug module, which binds Tollos debug function calls to UART0
  • the LED module, which provides the ‘glue’ for controlling the four on-board LEDs.

Functions that are not determined by the board but by the microcontroller that is on the board – for example, I2C and GPIO – are provided by the microcontroller library for the lpc1768 chip used on the board.

Debug module

These functions effect the I/O for the debug device (if any).
See mbedDebug for details.
  • debugGetcIO – get character from debug device/terminal
  • debugInitIO – initialize debug device (will be called before first Getc or Putc)
  • debugPutcIO – put character to debug device

LED module

This function carries out the I/O for on-board LEDs (if any).
See mbedLED for details.
  • ledIO – clear, set, invert, or query a system LED

Tollos and these web pages were written by Mike Cowlishaw; Please send me any corrections, suggestions, etc.
All content © Mike Cowlishaw, 2010–2012, except where marked otherwise. All rights reserved. The pages here are for non-commercial use only (see the separate licence for Tollos source code). Privacy policy: the Speleotrove website records no personal information and sets no ‘cookies’. However, statistics, etc. might be recorded by the web hosting service.

This page was last updated on 2010-12-12 by mfc.