retargetserial.h

Go to the documentation of this file.
00001 /**************************************************************************/
00017 #ifndef __RETARGETSERIAL_H
00018 #define __RETARGETSERIAL_H
00019 
00020 #include "retargetserialconfig.h"
00021 
00022 /***************************************************************************/
00027 /***************************************************************************/
00032 #ifdef __cplusplus
00033 extern "C" {
00034 #endif
00035 
00036 #if defined(__CROSSWORKS_ARM)
00037 int __putchar(int ch);
00038 int __getchar(void);
00039 #endif
00040 
00041 int  RETARGET_ReadChar(void);
00042 int  RETARGET_WriteChar(char c);
00043 
00044 void RETARGET_SerialCrLf(int on);
00045 void RETARGET_SerialInit(void);
00046 
00047 #ifdef __cplusplus
00048 }
00049 #endif
00050 
00054 #endif