Choco OS  V.0.16.9.0
Join to the chocolate world
oc_kprint.h
Go to the documentation of this file.
1 
28 #ifndef INC_KERNEL_OC_KPRINT_H_
29 #define INC_KERNEL_OC_KPRINT_H_
30 
31 #include <oc_driver.h>
32 #include <stdarg.h>
33 
39 #define _________________________________________TYPES_SECTION______________________________________________________________________________
40 
43 #undef _________________________________________TYPES_SECTION______________________________________________________________________________
44 
51 #define _________________________________________FUNCTIONS_SECTION__________________________________________________________________________
52 
55 extern oC_ErrorCode_t oC_KPrint_TurnOn ( void );
56 extern oC_ErrorCode_t oC_KPrint_TurnOff ( void );
57 extern oC_ErrorCode_t oC_KPrint_Format ( char * outBuffer , oC_UInt_t Size , const char * Format , va_list ArgumentList );
58 extern oC_ErrorCode_t oC_KPrint_Printf ( char * outBuffer , oC_UInt_t Size , oC_IoFlags_t IoFlags , const char * Format , ... );
59 extern oC_ErrorCode_t oC_KPrint_VPrintf ( char * outBuffer , oC_UInt_t Size , oC_IoFlags_t IoFlags , const char * Format , va_list ArgumentList );
60 extern oC_ErrorCode_t oC_KPrint_DriverPrintf ( char * outBuffer , oC_UInt_t Size , oC_IoFlags_t IoFlags , oC_Driver_t Driver , const char * Format , ... );
61 extern oC_ErrorCode_t oC_KPrint_FormatScanf ( const char * Buffer , const char * Format , va_list ArgumentList );
62 extern oC_ErrorCode_t oC_KPrint_Scanf ( char * outBuffer , oC_UInt_t Size , oC_IoFlags_t IoFlags , const char * Format , ... );
63 extern oC_ErrorCode_t oC_KPrint_VScanf ( char * outBuffer , oC_UInt_t Size , oC_IoFlags_t IoFlags , const char * Format , va_list ArgumentList );
64 extern oC_ErrorCode_t oC_KPrint_WriteToStdOut ( oC_IoFlags_t IoFlags , const char * Buffer , uint32_t Size );
65 extern oC_ErrorCode_t oC_KPrint_ReadFromStdIn ( oC_IoFlags_t IoFlags , char * outBuffer , uint32_t Size );
66 
67 #undef _________________________________________FUNCTIONS_SECTION__________________________________________________________________________
68 
70 #endif /* INC_KERNEL_OC_KPRINT_H_ */
The file with interface for driver creating.
oC_ErrorCode_t oC_KPrint_Format(char *outBuffer, oC_UInt_t Size, const char *Format, va_list ArgumentList)
Definition: oc_kprint.c:196