Fork of the official mbed C/C++ SDK provides the software platform and libraries to build your applications. The fork has the documentation converted to Doxygen format

Dependents:   NervousPuppySprintOne NervousPuppySprint2602 Robot WarehouseBot1 ... more

Fork of mbed by mbed official

Committer:
simon.ford@mbed.co.uk
Date:
Thu Jan 22 18:32:40 2009 +0000
Revision:
5:62573be585e9
Parent:
4:5d1359a283bc
Child:
8:00a04e5cd407
* Added initial RPC release
* Added RTC and helper functions
* Added read_u16()/write_u16() to AnalogIn/Out
* Ticker/Timeout timing fixed!
* mbedinfo() helper added
* error() and printf() added to replace DEBUG() and ERROR()
* DigitalIn supports methods on rise/fall
* SPI and Serial support NC
* LED1-4 also map to 1-4
* Timer object reset fixed
* SPI uses single mode
* SPI3 added

Who changed what in which revision?

UserRevisionLine numberNew contents of line
simon.ford@mbed.co.uk 0:82220227f4fa 1 /* mbed Microcontroller Library
simon.ford@mbed.co.uk 0:82220227f4fa 2 * Copyright (c) 2007-2008, sford
simon.ford@mbed.co.uk 0:82220227f4fa 3 */
simon.ford@mbed.co.uk 0:82220227f4fa 4
simon.ford@mbed.co.uk 0:82220227f4fa 5 #ifndef MBED_H
simon.ford@mbed.co.uk 0:82220227f4fa 6 #define MBED_H
simon.ford@mbed.co.uk 5:62573be585e9 7
simon.ford@mbed.co.uk 5:62573be585e9 8 #define MBED_LIBRARY_VERSION 6
simon.ford@mbed.co.uk 0:82220227f4fa 9
simon.ford@mbed.co.uk 0:82220227f4fa 10 // Useful C libraries
simon.ford@mbed.co.uk 4:5d1359a283bc 11 #include <stdio.h>
simon.ford@mbed.co.uk 4:5d1359a283bc 12 #include <stdlib.h>
simon.ford@mbed.co.uk 4:5d1359a283bc 13 #include <string.h>
simon.ford@mbed.co.uk 4:5d1359a283bc 14 #include <math.h>
simon.ford@mbed.co.uk 0:82220227f4fa 15
simon.ford@mbed.co.uk 0:82220227f4fa 16 #include "helper.h"
simon.ford@mbed.co.uk 0:82220227f4fa 17
simon.ford@mbed.co.uk 0:82220227f4fa 18 // mbed Debug libraries
simon.ford@mbed.co.uk 0:82220227f4fa 19 #include "Debug.h"
simon.ford@mbed.co.uk 0:82220227f4fa 20 #include "stackheap.h"
simon.ford@mbed.co.uk 0:82220227f4fa 21
simon.ford@mbed.co.uk 0:82220227f4fa 22 // mbed Peripheral components
simon.ford@mbed.co.uk 0:82220227f4fa 23 #include "DigitalIn.h"
simon.ford@mbed.co.uk 0:82220227f4fa 24 #include "DigitalOut.h"
simon.ford@mbed.co.uk 0:82220227f4fa 25 #include "BusIn.h"
simon.ford@mbed.co.uk 0:82220227f4fa 26 #include "BusOut.h"
simon.ford@mbed.co.uk 0:82220227f4fa 27 #include "AnalogIn.h"
simon.ford@mbed.co.uk 0:82220227f4fa 28 #include "AnalogOut.h"
simon.ford@mbed.co.uk 0:82220227f4fa 29 #include "PwmOut.h"
simon.ford@mbed.co.uk 0:82220227f4fa 30 #include "Serial.h"
simon.ford@mbed.co.uk 0:82220227f4fa 31 #include "SPI.h"
simon.ford@mbed.co.uk 5:62573be585e9 32 #include "SPI3.h"
simon.ford@mbed.co.uk 0:82220227f4fa 33 #include "I2C.h"
simon.ford@mbed.co.uk 0:82220227f4fa 34
simon.ford@mbed.co.uk 0:82220227f4fa 35 // mbed Internal components
simon.ford@mbed.co.uk 0:82220227f4fa 36 #include "Timer.h"
simon.ford@mbed.co.uk 0:82220227f4fa 37 #include "wait.h"
simon.ford@mbed.co.uk 3:aefd12a1f1c5 38 #include "Ticker.h"
simon.ford@mbed.co.uk 3:aefd12a1f1c5 39 #include "Timeout.h"
simon.ford@mbed.co.uk 4:5d1359a283bc 40 #include "LocalFileSystem.h"
simon.ford@mbed.co.uk 5:62573be585e9 41 #include "rpc.h"
simon.ford@mbed.co.uk 5:62573be585e9 42 #include "rtc.h"
simon.ford@mbed.co.uk 0:82220227f4fa 43
simon.ford@mbed.co.uk 0:82220227f4fa 44 using namespace mbed;
simon.ford@mbed.co.uk 0:82220227f4fa 45
simon.ford@mbed.co.uk 1:6b7f447ca868 46 #endif
simon.ford@mbed.co.uk 1:6b7f447ca868 47