Develop and Download Open Source Software

Browse Subversion Repository

Contents of /trunk/src/sc1602.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10 - (show annotations) (download) (as text)
Sun Jun 17 17:19:04 2012 UTC (11 years, 11 months ago) by tekken_boss
File MIME type: text/x-chdr
File size: 1759 byte(s)
000.001.010: 2012/06/18 02:14 : A part of end user mode is added.

== modification
*  "UI" A part of end user mode is added.

== Confirmation
* Compilable. 
* End user mode is working.

1
2 /* --------------------------------------------- */
3 /* H8-3069F SC-1602 control function */
4 /* */
5 /* CPU : Renesus H8/3069F 25MHz */
6 /* Memory : ROM 512KB, RAM 16KB E-RAM 2MB */
7 /* (c) KAZ.Imamura */
8 /* --------------------------------------------- */
9
10 #ifndef __SC1602_H__
11 #define __SC1602_H__
12
13 #include "common.h"
14
15 #define MAX_COLUMN 16
16 #define MAX_LINE 2
17
18 extern void sc1602_1ms_handler(void);
19 extern int sc1602_initialize(void);
20 extern int sc1602_process(void);
21 extern int sc1602_set_buffer(unsigned char buf, char *data);
22 extern int sc1602_set_buffer_cursol(unsigned char buf, char *data);
23 extern int sc1602_set_buffer_uint8(unsigned char buf, char *data, unsigned char uint8);
24 extern int sc1602_set_buffer_ulong(unsigned char buf, char *data, unsigned long val);
25 extern int sc1602_set_buffer_dump (unsigned char buf, unsigned char *data);
26 extern int sc1602_set_buffer_variable1 (unsigned char buf, unsigned char *data);
27 extern int sc1602_set_buffer_variable2 (unsigned char buf, unsigned short *data);
28 extern int sc1602_set_buffer_variable3 (unsigned char buf, unsigned long *data);
29 extern int sc1602_set_buffer_version (unsigned char buf, unsigned char major, unsigned char minor, unsigned char build);
30 extern int sc1602_set_buffer_progress_kb (unsigned char buf, unsigned long val1, unsigned long val2);
31 extern int sc1602_set_buffer_filename (unsigned char buf, unsigned char dir, char *data);
32 extern int sc1602_set_buffer_filename_cursol (unsigned char buf, unsigned char dir, char *data);
33
34 extern char sc1602_buffer[MAX_LINE][MAX_COLUMN];
35 extern int sc1602_buffer_updates[MAX_LINE];
36
37
38 #endif
39

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26