OSDN Git Service

84b56f93df93f4a49d5e7796d949885a2d6a8f50
[hos/hos-v4a.git] / aplfw / sample / mb / mb_v8_axi / uart.h
1 /** 
2  *  Sample program for Hyper Operating System V4 Advance
3  *
4  * @file  uart.h
5  * @brief %jp{UARTへの出力}%en{UART device driver}
6  *
7  * Copyright (C) 1998-2006 by Project HOS
8  * http://sourceforge.jp/projects/hos/
9  */
10
11
12 #ifndef __ostimer_h__
13 #define __ostimer_h__
14
15
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19
20 void Uart_Initialize(void);                                     /* %jp{UART の初期化} */
21 void Uart_PutChar(int c);                                       /* %jp{1文字出力} */
22 void Uart_PutString(const char *text);          /* %jp{文字列出力} */
23
24 void Uart_PutHexByte(char c);
25 void Uart_PutHexHalfWord(unsigned short h);
26 void Uart_PutHexWord(unsigned long w);
27
28
29 #ifdef __cplusplus
30 }
31 #endif
32
33
34 #endif  /* __ostimer_h__ */
35
36
37 /* end of file */