·¿ | 10 | 16 | ¡¡¥Õ¥£¡¼¥ë¥É¡¡¡¡¡¡ |
---|---|---|---|
_kz_thread | 0 | 0 | ¡¡*next¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡. |
char | 4 | ¡¡4 | ¡¡st ¡Ê'W':Wait, 'R':Runable¡Ë |
char | 5 | ¡¡5 | ¡¡name¡Ê14+1(NULL)¥Ð¥¤¥È¡Ë¡¢st¤ò´Þ¤á¤Æ16¥Ð¥¤¥È |
¡¡8 | |||
¡¡c | |||
10 | |||
_kz_thread | 20 | 14 | ¡¡*id |
kz_func_t | 24 | 18 | ¡¡func |
int | 28 | 1C | ¡¡pri |
char | 32 | 20 | ¡¡*stack |
uint32 | 36 | 24 | ¡¡flags |
kz_syscall_type_t | 40 | 28 | ¡¡type |
kz_syscall_param_t | 44 | 2C | ¡¡*param |
kz_msgbuf | 48 | 30 | ¡¡*head |
52 | 34 | ¡¡*tail | |
kz_context | 56 | 38 | ¡¡r[0] |
60 | 3C | ¡¡r[1] | |
64 | 40 | ¡¡r[2] | |
68 | 44 | ¡¡r[3] | |
72 | 48 | ¡¡r[4] | |
76 | 4C | ¡¡r[5] | |
80 | 50 | ¡¡r[6] | |
84 | 54 | ¡¡r[7] | |
88 | 58 | ¡¡r[8] | |
92 | 5C | ¡¡r[9] | |
96 | 60 | ¡¡r[10] | |
100 | 64 | ¡¡r[11] | |
104 | 68 | ¡¡r[12] | |
108 | 6C | ¡¡r[13] | |
112 | 70 | ¡¡r[14] | |
116 | 74 | ¡¡pr¡¡¡¡ËÜÅö¤Ïpc¤ß¤¿¤¤¡ª¡ª¡¡startup.src¤Î_dispatch¤ÎRTEÌ¿Îá¤Ç»²¾È | |
120 | 78 | ¡¡sp | |
124 | 7C | ¡¡pc | |
128 | 80 | ¡¡sr | |
84 |
RTE( ) /* RTE */ { unsigned long temp; temp=PC; PC=Read_Long(R[15])+4; R[15]+=4; SR=Read_Long(R[15])&0x000063F3; R[15]+=4; Delay_Slot(temp+2); }²¿¤Ç¥æ¡¼¥¶¥Þ¥Ë¥å¥¢¥ë¤ËÌ¿Îá¸ì¤ÎÀâÌÀ¤¬¡©
¡ps¥³¥Þ¥ó¥É¤ò¥µ¥Ý¡¼¥È¤·¤Þ¤·¤¿¡Ê¥¹¥ì¥Ã¥É¤Î¾õÂÖ¡¢¥Ð¥Ã¥Õ¥¡¤Î»ÈÍѾõ¶·É½¼¨¡Ë¡¡
/*------------------------------------------------------------------------/
/ EZ-LCD - Generic control module for HD44780 LCDC - R0.01c
/-------------------------------------------------------------------------/
/
/ Copyright (C) 2010, ChaN, all right reserved.
/
/ * This software is a free software and there is NO WARRANTY.
/ * No restriction on use. You can use, modify and redistribute it for
/ personal, non-profit or commercial products UNDER YOUR RESPONSIBILITY.
/ * Redistributions of source code must retain the above copyright notice.
/
/-------------------------------------------------------------------------/
¿®¡¡¹æ | Àâ¡¡¡¡¡¡¡¡¡¡ÌÀ |
---|---|
RS | ¡ÖRegister Select¡×¤È¤·¤«½ñ¤¤¤Æ¤¤¤Þ¤»¤ó¡£¤½¤â¤½¤â¡¢Register¤Ã¤Æ²¿¡ª¡©¤Ã¤Æ´¶¤¸¤Ç¤¹¡£ ¡¡¡¦RS(0) & RW(0)¡¡¡ÖÌ¿Îá¥ì¥¸¥¹¥¿¡×IR write as an internal operation (display clear, etc.) ¡¡¡¦RS(0) & RW(1)¡¡¡Ö¥¹¥Æ¡¼¥¿¥¹¡¦¥ì¥¸¥¹¥¿¡×Read busy flag (DB7) and address counter (DB0 to DB6) ¡¡¡¦RS(1) & RW(0)¡¡¡Ö¥Ç¡¼¥¿¡¦¥ì¥¸¥¹¥¿¡×DR write as an internal operation (DR to DDRAM or CGRAM) ¡¡¡¦RS(1) & RW(1)¡¡¡Ö¥Ç¡¼¥¿¡¦¥ì¥¸¥¹¥¿¡×DR read as an internal operation (DDRAM or CGRAM to DR) ¤¬¤¢¤ë¤è¤¦¤Ç¤¹¡¡¡¡¡¡ |
RW | µÕ¤Î¤è¤¦¤Êµ¤¤¬¤·¤Þ¤¹¤¬¡¢ ¡¡¡¦0¡§Write ¡¡¡¦1¡§Read ¤ß¤¿¤¤¤Ç¤¹¡£ ¡¡ ¡¡ |
E¡¡ | ¤è¤¯Ê¬¤«¤ê¤Þ¤»¤ó¤¬¡¢RS¡¢RW¿®¹æÀþ¤Î½àÈ÷´°Î»¤ò°ÕÌ£¤¹¤ë¤è¤¦¤Ç¤¹¡£ £´¥Ó¥Ã¥È¥Ç¡¼¥¿Éý¤Î»þ¤Ï¥Ç¡¼¥¿¼è¤ê¹þ¤ß¤Î¥¿¥¤¥ß¥ó¥°¤âÄ´À°¤·¤Æ¤¤¤ë¤ß¤¿¤¤¤Ç¤¹ ¡¡ ¡¡ ¡¡ ¡¡¡¡ ¡¡ ¡¡ |
¥Þ¥¹¥¿ SH7262 | CN3 SH-2A´ðÈÄ¡¡ | ¡¡ ¿®¡¡¹æ¡¡ | ¡¡ ¿®¡¡¹æ¡¡ | ¥¹¥ì¡¼¥Ö DS3234S | |
---|---|---|---|---|---|
99 - PG19 | 21 | MOSI1 | ¢ª | DIN | 17 |
100- PG18 | 22 | SSL10 | ¢ª | ^CS | 1 |
101- PG17 | 23 | RSPCK1 | ¢ª | SCLK | 18 or 20 |
98 - PG20 | 33 | MISO1 | ¢« | DOUT | 19 |
Vcc | 4 | ||||
GND | 15 | ||||
Vbat | 16 |
¡Á´¤¯³ä¤ê¹þ¤ß¤¬³Ý¤«¤é¤Ê¤¤¡Ê¥Ñ¥¹¥³¥ó¤òÆþ¤ì¤¿¾ì¹ç¡Ë
¢£±Éä˿ô²ó³ä¤ê¹þ¤ß¤¬³Ý¤«¤ë
£Àþ¡Ê¥¸¥ã¥ó¥ÑÀþ¡Ë¤Ë¼ê¤ò¶á¤Å¤±¤ë¤È³ä¤ê¹þ¤ß¤¬£±Éô֤Ë¿¿ô¡Ê£±£°¡Á£²£°²ó¡Ë³Ý¤«¤ë¡¡¡¡¡¡¤Þ¤ë¤Ç¥Ï¥ó¥É¥Ñ¥ï¡¼¡ª
¡CMT¥¿¥¤¥Þ¤òÍøÍѤ·¤Æ£±ÉÃËè¤ËLCDɽ¼¨»þ¹ï¤ò¹¹¿·¡¡
¢¡Ê¤â¤È¤ÎKOZOS¤«¤é¤Ç¤¹¤¬¡Ë¥·¥ê¥¢¥ëÆþÎϤÏRXI³ä¤ê¹þ¤ß¤Ç¸¡ÃΡ£²þ¹ÔÆþÎϤǥ¹¥ì¥Ã¥Éµ¯Æ°
££Ð£Ã¤ÎÅŸ»ÃÇ»þ¤Ë¥·¥ê¥¢¥ë·Ï¤Ë¥Î¥¤¥º¤¬¾è¤Ã¤Æ¡¢¥³¥±¤Æ¤·¤Þ¤¤¤Þ¤¹¡£"close"¥³¥Þ¥ó¥É¤òÄɲ䷤ƥ·¥ê¥¢¥ë¤ÎÄä»ß½èÍý¤ò¹Ô¤¦¤è¤¦¤Ë¤·¤Þ¤·¤¿
¤"date"¥³¥Þ¥ó¥É¤Ç¥³¥ó¥½¡¼¥ë¤Ëǯ·îÆü¡¢»þʬÉäòɽ¼¨¤¹¤ë¤è¤¦¤Ë¤·¤Þ¤·¤¿
¥Í¥ÀèÀ©¸æ¤Ïºï½ü¤·¤Þ¤·¤¿¡Ê¥¹¥ì¥Ã¥ÉÀ¸À®½ç¤ËÍ¥Àè¡Ë