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:
Tue Apr 08 14:12:21 2008 +0000
Revision:
0:82220227f4fa
Child:
1:6b7f447ca868
A first develoment release of the mbed libraries

Who changed what in which revision?

UserRevisionLine numberNew contents of line
simon.ford@mbed.co.uk 0:82220227f4fa 1 /* mbed Microcontroller Library - Retarget
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_RETARGET_H
simon.ford@mbed.co.uk 0:82220227f4fa 6 #define MBED_RETARGET_H
simon.ford@mbed.co.uk 0:82220227f4fa 7
simon.ford@mbed.co.uk 0:82220227f4fa 8 #include "stdio.h"
simon.ford@mbed.co.uk 0:82220227f4fa 9 #include "rt_sys.h"
simon.ford@mbed.co.uk 0:82220227f4fa 10
simon.ford@mbed.co.uk 0:82220227f4fa 11 //===================================================================
simon.ford@mbed.co.uk 0:82220227f4fa 12 // System
simon.ford@mbed.co.uk 0:82220227f4fa 13 //===================================================================
simon.ford@mbed.co.uk 0:82220227f4fa 14
simon.ford@mbed.co.uk 0:82220227f4fa 15 extern "C" void mbed_startup();
simon.ford@mbed.co.uk 0:82220227f4fa 16 extern "C" int $Sub$$main();
simon.ford@mbed.co.uk 0:82220227f4fa 17 extern "C" void $Sub$$_sys_exit(int return_code);
simon.ford@mbed.co.uk 0:82220227f4fa 18
simon.ford@mbed.co.uk 0:82220227f4fa 19 //===================================================================
simon.ford@mbed.co.uk 0:82220227f4fa 20 // Pre-stdio
simon.ford@mbed.co.uk 0:82220227f4fa 21 //===================================================================
simon.ford@mbed.co.uk 0:82220227f4fa 22
simon.ford@mbed.co.uk 0:82220227f4fa 23 extern "C" int $Sub$$fputc(int c, FILE* f);
simon.ford@mbed.co.uk 0:82220227f4fa 24 extern "C" int $Sub$$fgetc(FILE* f);
simon.ford@mbed.co.uk 0:82220227f4fa 25 extern "C" int $Sub$$__backspace(FILE* f);
simon.ford@mbed.co.uk 0:82220227f4fa 26 extern "C" void $Sub$$_ttywrch(int c);
simon.ford@mbed.co.uk 0:82220227f4fa 27
simon.ford@mbed.co.uk 0:82220227f4fa 28 //===================================================================
simon.ford@mbed.co.uk 0:82220227f4fa 29 // Post-stdio
simon.ford@mbed.co.uk 0:82220227f4fa 30 //===================================================================
simon.ford@mbed.co.uk 0:82220227f4fa 31
simon.ford@mbed.co.uk 0:82220227f4fa 32 extern "C" FILEHANDLE $Sub$$_sys_open(const char* name, int openmode);
simon.ford@mbed.co.uk 0:82220227f4fa 33 extern "C" int $Sub$$_sys_close(FILEHANDLE fh);
simon.ford@mbed.co.uk 0:82220227f4fa 34 extern "C" int $Sub$$_sys_write(FILEHANDLE fh, const unsigned char* buffer, unsigned int length, int mode);
simon.ford@mbed.co.uk 0:82220227f4fa 35 extern "C" int $Sub$$_sys_read(FILEHANDLE fh, unsigned char* buffer, unsigned int length, int mode);
simon.ford@mbed.co.uk 0:82220227f4fa 36 extern "C" int $Sub$$_sys_istty(FILEHANDLE fh);
simon.ford@mbed.co.uk 0:82220227f4fa 37 extern "C" int $Sub$$_sys_seek(FILEHANDLE fh, int position);
simon.ford@mbed.co.uk 0:82220227f4fa 38 extern "C" int $Sub$$_sys_ensure(FILEHANDLE fh);
simon.ford@mbed.co.uk 0:82220227f4fa 39 extern "C" int $Sub$$_sys_flen(FILEHANDLE fh);
simon.ford@mbed.co.uk 0:82220227f4fa 40
simon.ford@mbed.co.uk 0:82220227f4fa 41
simon.ford@mbed.co.uk 0:82220227f4fa 42 #endif