Ìܼ¡

¥á¥Ë¥å¡¼

kondo¤Ø¤Î¥³¥á¥ó¥È


²áµî¤ÎÆüµ­

¥Æ¥¹¥È¥Ù¥ó¥Á¡¢¥·¥ß¥å¥ì¡¼¥·¥ç¥ó¤¬¤¦¤Þ¤¯Æ°¤«¤Ê¤¤Ž¥Ž¥Ž¥

¥Æ¥¹¥È¥Ù¥ó¥Á¤ò»È¤¨¤Ð¡¢¼Âµ¡¤Ç³Îǧ¤¹¤ë¤è¤ê¤â¡¢
Á᤯³«È¯¤¬¤Ç¤­¤ë¡£
¤½¤³¤Ç¡¢º£Æü¤Ï¥Æ¥¹¥È¥Ù¥ó¥Á¤ò½ñ¤¤¤Æ¤¤¤¿¡£

¤·¤«¤·¡¢¼Âµ¡¾å¤Ç¤Ï¤¦¤Þ¤¯Æ°¤¤¤Æ¤¤¤ë¤Î¤À¤¬¡¢
¥Æ¥¹¥È¥Ù¥ó¥Á¤¬¤¦¤Þ¤¯Æ°¤«¤Ê¤«¤Ã¤¿¤ê¤¹¤ë¡£
¤É¤¦¤¤¤¦¤³¤È¤Ê¤ó¤À¤í¤¦¤«¡£¡£

¥·¥ß¥å¥ì¡¼¥·¥ç¥óÇÈ·Á¤¬1000ns¤Þ¤Ç¤·¤«¸«¤é¤ì¤Ê¤¤¡©

ISE WebPACK¤Ç¡¢
ÇÈ·Á¤ò³Îǧ¤¹¤ë¥Ä¡¼¥ë¤ò»È¤¦¤È¡¢
1000ns¤Þ¤Ç¤ÎÇÈ·Á¤·¤«¸«¤ë¤³¤È¤¬¤Ç¤­¤Ê¤¤¡£

This is a Lite version of ISE Simulator(ISim).

¤È½ñ¤¤¤Æ¤¢¤ë¤·¡¢µ¡Ç½À©¸Â¤Ê¤Î¤À¤í¤¦¤«¡£
¥Æ¥¹¥È¥Ù¥ó¥Á¤Î¡¢50000¹Ô¤Þ¤Ç¤ÎÀ©¸Â¤Ï¤¢¤ë¤é¤·¤¤¤±¤É¡£

(¥Á¥ë¥À)¤¬¸«¤¨¤Ê¤¯¤Ê¤ëÌäÂê

ISEɸ½à¤Î¥¨¥Ç¥£¥¿¤ò»È¤Ã¤Æ¤¤¤ë¤È¡¢~(¥Á¥ë¥À)¤¬¤Þ¤Ã¤¿¤¯
¸«¤¨¤Ê¤¯¤Ê¤ë¤³¤È¤¬¤¢¤ë¤è¤¦¤À¡£
¥³¥Ô¡¼¤·¤Æ¡¢Â¾¤Î¥¨¥Ç¥£¥¿¤Ç¸«¤ì¤Ð¡¢Ê¬¤«¤ë¤ß¤¿¤¤¡£

2008ǯ07·î23Æü(¿å)

xilinx¤ÎISE WebPACK¤«¤é°õºþ¤¹¤ë¤³¤È¤¬¤Ç¤­¤Ê¤¤ÌäÂê¡©

°õºþ¤·¤è¤¦¤È¤·¤Æ¤â¡¢°õºþ¤Ç¤­¤Ê¤¤¡£
¸¶°øÉÔÌÀ¡¦¡¦¡¦¡©

¤½¤Î¾å¡¢¤½¤Î¸å¥×¥ê¥ó¥¿¤ÎÄ´»Ò¤¬¤ª¤«¤·¤«¤Ã¤¿¡£
¾¤Î¿Í¤Þ¤Ç°õºþ¤Ç¤­¤Ê¤«¤Ã¤¿¤ê¡©¤·¤¿¡£

¤³¤Î¥½¥Õ¥È¤¬¸¶°ø¤«¤É¤¦¤«¤Þ¤Ç¤ÏÄ꤫¤Ç¤Ï¤Ê¤¤¡£

verilog,Àµ¤·¤¤ÏÀÍý¹çÀ®·ë²Ì¤¬ÆÀ¤é¤ì¤Ê¤¤ÌäÂê

¥¹¥Æ¡¼¥È¥Þ¥·¥ó¤ò½ñ¤­¡¢¾õÂÖÁ«°Ü¤µ¤»¤ëHDL¤ò½ñ¤¤¤¿¡£
¤½¤Î¸å¡¢¾õÂ֤˱þ¤¸¤¿À©¸æ¿®¹æ¤ò½ÐÎϤµ¤»¤¿¡£

ºÇ½é¤Ï¡¢¤¦¤Þ¤¯½ÐÎϤµ¤ì¤Ê¤«¤Ã¤¿¡£
¤É¤¦¤ä¤é¥Ç¥³¡¼¥ÉÊý¼°¤Î¥¹¥Æ¡¼¥È¥Þ¥·¥ó¤¬¡¢
¥ï¥ó¥Û¥Ã¥ÈÊý¼°¤Î¥¹¥Æ¡¼¥È¥Þ¥·¥ó¤ØºÇŬ²½¤µ¤ì¤¿¤é¤·¤¤¡£
¤½¤Î¤È¤­¤Ë¡¢½ÐÎϤµ¤ì¤ë¤Ï¤º¤ÎÀ©¸æ¿®¹æ¤¬¡¢¾Ã¤µ¤ì¤¿¤é¤·¤¤¡£

¸¶°ø¤Ï¡¢¤è¤¯Ê¬¤«¤é¤Ê¤¤¤¬¡¢HDL¤ò½ñ¤­´¹¤¨¤¿¤ê¤·¤Æ¤¤¤ë¤È¡¢
¥Ç¥³¡¼¥ÉÊý¼°¤ÎÏÀÍý¹çÀ®·ë²Ì¤Ë¤Ê¤Ã¤¿¡£
²¿¤À¤Ã¤¿¤ó¤À¤í¤¦¡£

2008ǯ07·î22Æü(²Ð)

PACE¤Î»È¤¤Êý¤¬Ê¬¤«¤Ã¤Æ¤¤¤Ê¤¤¡©

ÇÛÃÖÇÛÀþ¤Î¥Ô¥óÇÛÃÖ¤ò·è¤á¤ë»þ¤Ë¡¢¡ÖPACE¡×¤È¤¤¤¦¥½¥Õ¥È¤¬»È¤¦¡£
¤³¤Î¥½¥Õ¥È¤Ç¥Ô¥óÇÛÃÖ¤ò·è¤á¤Æ¡¢¸å¤Ë¥Ý¡¼¥È¥ê¥¹¥È¤òÊѹ¹¸å¡¢
ºÆÅÙ¥Ô¥óÇÛÃÖ¤ò·è¤á¤ë¤ÈÁ°¤Î¥Ô¥óÇÛÃ֤Υǡ¼¥¿¤¬»Ä¤Ã¤Æ¤·¤Þ¤¦¤è¤¦¤À¡£

¤·¤«¤â¡¢¥Ô¥óÇÛÃÖ¤òÊѹ¹¤·¤Æ¤â¡¢¤É¤³¤«¤Ë¥Ç¡¼¥¿¤¬»Ä¤Ã¤Æ¤¤¤ë¤é¤·¤¯¡¢
ɬ¤º·Ù¹ð¤ËÁø¶ø¤·¤Æ¤·¤Þ¤¦¡£

top.ucf¤òľÀܸ«¤Æ¤â¡¢²¿¤â½ñ¤¤¤Æ¤¤¤Ê¤¤¤Ï¤º¤Î¥Ô¥ó¤Ë¥¨¥é¡¼¤¬Ž¥Ž¥Ž¥
¤è¤¯Ê¬¤«¤é¤Ê¤¤¡£

2008ǯ07·î11Æü(¶â)

ɽÌ̼ÂÁõÉôÉʤΤϤó¤À¤Å¤±

½©ÅÄÀèÀ¸¤Ë¥³¥Ä¤ò¶µ¤¨¤Æ¤â¤é¤¤¥Á¥ã¥ì¥ó¥¸
·ë¹½»þ´Ö¤¬¤«¤«¤Ã¤¿¤±¤É¡¢¥³¥Ä¤òÄϤá¤Ð¡¢SDRAM¤Î¤Ï¤ó¤À¤Å¤±¤Ï¥¹¥à¡¼¥º¤Ë½ª¤ï¤Ã¤¿¡£

¤¬¡¢¥«¥á¥é¥â¥¸¥å¡¼¥ë¤ÎȾÅÄÉÕ¤±¤¬¤¦¤Þ¤¯¤¤¤«¤Ê¤¤¡£
ÌäÂê¤Ï¡¢¥é¥ó¥É¤Î°ÌÃ֤ȡ¢¥«¥á¥é¥â¥¸¥å¡¼¥ë¤Ë¤ï¤º¤«¤Ê·ä´Ö¤¬¤Ç¤­¤Æ¤·¤Þ¤¦¤è¤¦¤À¡£

PCBE¤ÇÀ߷פ¹¤ë»þ¤Ë¤Ô¤Ã¤¿¤ê¤Ë¤·¤¹¤®¤¿¤»¤¤¤Î¤è¤¦¤À¡£
²¿¤«²ò·èÊýË¡¤ò¹Í¤¨¤Ê¤±¤ì¤Ð¡£¡£

2008ǯ06·î25Æü(¿å)

PCBE¥á¥â

¥Ñ¥Ã¥É¤ÎÂ礭¤µ¥á¥â

½©ÅÄÀèÀ¸¤«¤é¤Î¥³¥á¥ó¥È

´¶ÁÛ

¤Ç¤­¤ë¤À¤±¤­¤ì¤¤¤ËÀþ¤ò°ú¤³¤¦¤È¤«¹Í¤¨¤Æ¤¤¤¿¤»¤¤¤«¡¢
¥Ô¥Ã¥ÁÉý¤ò¤¤¤í¤¤¤íÊѤ¨¤¹¤®¤Æ¡¢ºÇ½ªÅª¤Ë¶ìÏ«¤¹¤ë·ë²Ì¤Ë¤Ê¤Ã¤¿¡£

¥Ô¥Ã¥ÁÉý¤ò¤¤¤í¤¤¤íÊѤ¨¤Æ¤¤¤¿¤»¤¤¤«¡¢Ã¼ÅÀ¤òÀܳ¤·¤Æ¤â
ÅùÅṲ̋ˤʤé¤Ê¤¤¤³¤È¤¬¤¢¤Ã¤¿¡£¤Ê¤¼¤«¡Ö¸òÅÀ¡¦Ã¼ÅÀ¡×¥³¥Þ¥ó¥É¤ò»È¤Ã¤Æ¤â¡¢
¤¦¤Þ¤¯¤¤¤«¤Ê¤¤¤³¤È¤â¤¢¤ê¤Þ¤·¤¿¡£²¿ÅÙ¤«¤ä¤ë¤È¤¦¤Þ¤¯¤¤¤Ã¤¿¤ê!¡©

2008ǯ05·î27Æü(²Ð)

PSoCFirstTouch¤Ç¡¢¥Á¥å¡¼¥È¥ê¥¢¥ë¤ò¼Â¹Ô¤¹¤ë

»î¤·¤ËÀèÀ¸¤Ë½ñ¤¤¤Æ¤â¤é¤Ã¤¿¥Á¥å¡¼¥È¥ê¥¢¥ë¤ò¼Â¹Ô¤¹¤ë¡£
¿ÞÆþ¤ê¤Ç¤«¤Ê¤êʬ¤«¤ê¤ä¤¹¤¤¡£
¸ÍÏǤ¦½ê¤Ï¤Ê¤«¤Ã¤¿¡£

LEDÎãÂê1¤Î2¤ÇÀÖ¤ÈÀĤòÅÀÅô¤µ¤»¤ë¤¬¡¢ÀÖ¿§¤¬¶¯¤¤¤ß¤¿¤¤¤À¡£

¤¦¤Þ¤¯Æ°¤«¤Ê¤¤¤È»×¤Ã¤Æ¤¤¤¿¤é¡¢
¤É¤¦¤ä¤é¤¦¤Þ¤¯Æ°¤¤¤Æ¤¤¤ë¤é¤·¤¤¡£
¤¿¤À¡¢ÀÖ¿§¤¬ÀÄ¿§¤ËÈæ¤Ù¤ÆÌÀ¤ë¤¹¤®¤ë¤ß¤¿¤¤¤À¡£
ÎãÂê1.2¤Î²óÅúÎã¡©

void main()
{
   // Insert your main routine code here.
   BYTE d;
   PWM8_1_Start();
   PWM8_2_Start();
   M8C_EnableGInt;
   
   ADC8_1_Start(ADC8_1_FULLRANGE);
   ADC8_1_bCal(0x42,ADC8_1_CAL_VBG);
   ADC8_1_StartADC();
   
   PWM8_1_WritePulseWidth(10);
   PWM8_2_WritePulseWidth(10);
   
   while(1){
   	while(ADC8_1_fIsDataAvailable() == 0);
   	d = ADC8_1_bGetDataClearFlag();
   	PWM8_1_WritePulseWidth(d);
   	PWM8_2_WritePulseWidth(255-d);
   }
}

2008ǯ05·î24Æü(ÅÚ)

ʸ»ú¤¬Àµ¤·¤¯PutString¤Çɽ¼¨¤µ¤ì¤Ê¤¤¢ª\0¤ò˺¤ì¤Ê¤¤

¤É¤¦¤ä¤é\0¡¢NULLʸ»ú¤òÆþ¤ì˺¤ì¤¿¤»¤¤¤é¤·¤¤¡£
NULLʸ»ú¤Þ¤Ç½ÐÎϤ·¤Æ¤¯¤ì¤ë¤È¤¤¤¦¤Î¤¬¡¢PutString¤é¤·¤¤¡£

SD¥«¡¼¥É¤Î½ñ¤­¹þ¤ß»þ¤Î¸Â³¦¤Ï256¥Ð¥¤¥È¤é¤·¤¤(CR´Þ¤á¤Æ)

100¥Ð¥¤¥ÈƱ»þ¤âOK¤À¤Ã¤¿¤¬¡¢
1000¥Ð¥¤¥È½ñ¤­¹þ¤à¤È¡¢¤É¤¦¤ä¤é¥¨¥³¡¼¤â256¥Ð¥¤¥È¤Þ¤Ç¤Î¤è¤¦¤À¡£

CR¤â´Þ¤á¤Æ256¥Ð¥¤¥È
¤Ê¤Î¤Ç¡¢Ê¸»úÎó¤Ï¡¢ºÇÂç255¥Ð¥¤¥È¤Þ¤Ç¤Ê¤éÁ÷¤Ã¤Æ¤â¤¤¤¤¤è¤¦¤À¡£

RX¥Ð¥Ã¥Õ¥¡¤ò¥¯¥ê¥¢¤·¤¿¤¤¤¬¡¢¤Ç¤­¤Ê¤¤

UART_SDCARD_CmdReset();¤òÆþ¤ì¤¿¤À¤±¤Ç¤Ï¡¢
²ò·è¤·¤Ê¤¤¤è¤¦¤À¡£

2008ǯ05·î23Æü(¶â)

¥¨¥³¡¼¥ª¥Õ¤Î¿®¹æ¤òÁ÷¤Ã¤¿»þ¤Ë¡¢¡ä¤¬Ê֤äƤ­¤Æ¤¤¤¿¤Î¤¬¸¶°ø

// Echo off.
UART_SDCARD_PutString(SDcmd[SD_E0]);
UART_SDCARD_PutChar(CR);
	while(1){
			//Menu Select
			SW = UART_PC_cGetChar();
			
			switch(SW){
					case 49: //1
						UART_SDCARD_PutString(SDcmd[SD_E0]);
						UART_SDCARD_PutChar(CR);
						Receive_func();
						break;
						

¥¨¥³¡¼¥ª¥Õ¤Î¡ä¤¬RX¥Ð¥Ã¥Õ¥¡¤Ë»Ä¤ë

­¡i¤òÁ÷¿®¸å¡¢Receive_func();¤ÇÆɤ߼è¤ë¤¬¡¢¥¨¥³¡¼¥ª¥Õ¤Î¡ä¤òÆɤ߼è¤ê½ªÎ»
·ë¶É¡¢i¤ÇÊ֤äƤ­¤¿¾ðÊó¤¬Æɤ᤺¡£¡£

­¢i¤Î¥³¥Þ¥ó¥É¤ÎºÇ¸å¤À¤±¡¢¡ä¤À¤±¤¬¤Þ¤¿»Ä¤ë(Rx¥Ð¥Ã¥Õ¥¡¤Ï¤ª¤½¤é¤¯1¥Ð¥¤¥È¤Ê¤Î¤Ç)

­¡­¢¤Î·«¤êÊÖ¤·
¤ª¤½¤é¤¯¤³¤ó¤Ê¤³¤È¤¬µ¯¤³¤Ã¤Æ¤¤¤¿¤Î¤À¤í¤¦¡£¡£(´À

¥Ð¥Ã¥Õ¥¡¥ª¡¼¥Ð¡¼¥é¥ó¥¨¥é¡¼¤Î¥Õ¥é¥°¤ò¸«¤ì¤Ð¤¤¤¤¤È¤Î¤³¤È¡£

½©ÅÄÀèÀ¸¤ËÊó¹ð¤·¤¿¤é¡¢
¥Ð¥Ã¥Õ¥¡¥ª¡¼¥Ð¡¼¥é¥ó¥¨¥é¡¼¤Î¥Õ¥é¥°¤ò¸«¤Æ¤ä¤ì¤Ð¤è¤«¤Ã¤¿¤Í¡¢¤È¤Î¤³¤È¡£
¤¿¤·¤«¤Ë¤½¤¦¤À¡£RxState()¤Ç¾õ¶·¤òȽÃǤ¹¤ì¤Ð¡¢¤â¤¦¾¯¤·Á᤯ÌäÂê¤ò
²ò·è¤Ç¤­¤¿¤«¤â¤·¤ì¤Ê¤¤¡£
º£¸å¤Î»²¹Í¤Ë¤·¤è¤¦¡£

²ò·èºö¡¢SDCARD¤«¤é¼õ¿®¤·¤Æ¤¤¤ë¤È¤³¤í¤Ë¥Ô¥ó¤òΩ¤Æ¡¢PC¤Ç¤¢¤¯¤Î¤ê¤Ã¤Á¤Ç´Ñ»¡

·ë¶É¡¢º£²ó¤Î¾ì¹ç¤Ï¡¢°Õ³°¤Ê¤È¤³¤í¤Ç¡ä¤¬Ê֤äƤ­¤Æ¤¤¤¿¤Î¤Ç¡¢
µ¤¤Å¤«¤Ê¤«¤Ã¤¿¤ï¤±¤Ç¤¢¤ë¡£
¤À¤«¤é¡¢¥Ô¥ó¤òΩ¤Æ¤Æ¡¢Ä¾ÀÜÊ֤äƤ­¤Æ¤¤¤ë¿®¹æ¤ò¸«¤Æ¤ä¤ì¤Ð¡¢²ò·è¤·¤½¤¦¤À¡£

¤Ê¤¼¤«¤¦¤Þ¤¯¤¤¤«¤Ê¤¤¡¢¤¢¤¯¤Î¤ê¤Ã¤Á¤¬¸Ç¤Þ¤ë

¤¢¤¯¤Î¤ê¤Ã¤Á¤¬ÆÍÁ³¸Ç¤Þ¤ë¡£
¼¡¤ËºÆµ¯Æ°¤·¤Æ¤â¡¢2¥Ý¡¼¥È¤ËCP2102¤ò»È¤¨¤Ê¤¤¤Ã¤Ý¤¤¡£

2008ǯ5·î22Æü(ÌÚ)

¥³¥á¥ó¥È¤¬´Ö¤ËÆþ¤ë¤È¼õ¿®¤¹¤ë¾ì½ê¤¬ÊѤï¤Ã¤Æ¤·¤Þ¤¦

UART_PC_CPutString("test3!!\r\n");
	
	//Receive Prompt
	while ( !( RxState =UART_SDCARD_bReadRxStatus() & UART_SDCARD_RX_COMPLETE )){}
	if( RxState == UART_SDCARD_RX_COMPLETE){
		//Start Receive 	
		Receive_Prompt = UART_SDCARD_cGetChar();
		if(Receive_Prompt == 0x3e){
			UART_PC_CPutString("Prompt >");
			
		

¤³¤Î¥×¥í¥°¥é¥à¤Î°ì¹ÔÌܤò¥³¥á¥ó¥È¥¢¥¦¥È¤¹¤ë¤È¡¢
¡É¡ä¡É¤¬¼õ¤±¼è¤ì¤Ê¤¯¤Ê¤Ã¤¿¡£¤É¤¦¤ä¤éCPutString¤·¤Æ¤¤¤ë¤È¤³¤í¤ò¥³¥á¥ó¥È¥¢¥¦¥È¤¹¤ë¤È¡¢
¥¨¥³¡¼¤òcGetChar¤Ç¼õ¿®¤·¤Æ¤·¤Þ¤¦¤è¤¦¤À¡£
¥¨¥³¡¼¤Ï¥ª¥Õ¤Ë¤·¤Æ¤ª¤¤¤¿Êý¤¬¤è¤µ¤½¤¦¤À¡£

CPutString¤Ç100¥Ð¥¤¥Èʬ½ÐÎϤ·¤Æ¤¤¤¿¤±¤É

¥×¥í¥ó¥×¥È¤Þ¤Ç¤«¡¢100¥Ð¥¤¥È¤Þ¤Ç¤òÆɤ߹þ¤ó¤À¸å¤ËCPutString¤Ç½ÐÎϤ·¤Æ¤¤¤¿¤¬¡¢
¤³¤ì¤À¤È100¥Ð¥¤¥Èʬ½ÐÎϤµ¤ì¤Æ¤·¤Þ¤¦¤Î¤Ç¡¢¤ª¤«¤·¤¯¤Ê¤ë¡£
CWrite¤Ç»ØÄê¥Ð¥¤¥Èʬ¤À¤±½ÐÎϤ·¤¿Êý¤¬¤è¤µ¤½¤¦¤À¡£
char Receive_Data[100];
UART_PC_PutString(Receive_Data);

cGetChar¤Ç¤Î¼è¤ê¹þ¤ß

while ( !( UART_PC_bReadRxStatus() & UART_PC_RX_COMPLETE )){}
	while(1){
		if( (Receive_Data = UART_PC_cGetChar()) != 0x3e ){ // ">" de nainara
			UART_PC_PutChar(Receive_Data);
		}else{
			break;
		}
	}
	

while ( !( UART_PC_bReadRxStatus() & UART_PC_RX_COMPLETE )){}
¤Ï¡¢cGetChar¤Ç¤Ï¤¤¤é¤Ê¤¤¤Ã¤Ý¤¤¡£
¤è¤¯¹Í¤¨¤Æ¤ß¤ì¤Ð¡¢cGetChar¤Ï¡¢¼õ¿®¤¹¤ë¤Þ¤ÇÂԤäƤ¯¤ì¤ë

³ä¤ê¹þ¤ß¤Îµö²Ä¡¦ÉÔµö²Ä¤ò´Ø¿ôËè¤ËÀÚÂؤǤ­¤ë

UART_PC_IntCntl(UART_PC_ENABLE_RX_INT); // Enable RX interrupts
UART_PC_IntCntl(UART_PC_DISABLE_RX_INT);
¤òÌÀ¼¨¤·¤Æ¤ä¤ì¤Ð¡¢¼õ¿®³ä¤ê¹þ¤ß¤Îµö²Ä¡¦ÉÔµö²Ä¤ÎÀÚÂزÄǽ
¤³¤¦¤¹¤ì¤Ð¡¢Á°¤Î¼õ¿®³ä¤ê¹þ¤ß¤ÎÌäÂê¤ò²ò·è¤Ç¤­¤ë¤«¤â¤·¤ì¤Ê¤¤¡£

2008ǯ05·î21Æü(¿å)

UARTÄÌ¿®¤Î¥µ¥ó¥×¥ë¥×¥í¥°¥é¥à¤ò¾¯¤·²þÎɤ·¤Æ¤ß¤ë

PSoC¤ÎUARTÄÌ¿®¤ò»î¤¹

º£¹¹¤Ê¤¬¤é¡¢¤â¤¦°ìÅÙPSoC¤ÎUARTÄÌ¿®¤Ë¤Ä¤¤¤Æ¡¢»î¤·¤Æ¤ß¤è¤¦¤È»×¤¦¡£
¼«Ê¬¤Ø¤ÎÈ÷˺Ͽ¡£

cGetChar¤Çʸ»ú¤ò¼è¤ê¹þ¤à

3e¤Ç¤¢¤ë¡È¡ä¡É¤ò¼õ¿®¤¹¤ë¤Þ¤Ç¡¢·«¤êÊÖ¤·cGetChar¤Ç¼è¤ê¹þ¤à¤È¤¤¤¦¥×¥í¥°¥é¥à¡£

	char Receive_Data;
	while((Receive_Data = UART_PC_cGetChar()) != 0x3e ){ // ">" de nainara
		UART_PC_PutChar(Receive_Data);
	}

¤·¤Ð¤é¤¯Æ°¤«¤Ê¤«¤Ã¤¿¤¬¡¢¤É¤¦¤ä¤é¸¶°ø¤Ï¡¢
UART_PC_IntCntl(UART_PC_ENABLE_RX_INT); // Enable RX interrupts
¤¬Æþ¤Ã¤Æ¤¤¤¿¤¿¤á¤é¤·¤¤¡£

Á°¤ËÀèÀ¸¤Ëʹ¤¤¤¿¤³¤È¤¢¤Ã¤¿¤Î¤Ë¡¢Ëº¤ì¤Æ¤¤¤¿¡£¡£(´À
cGetChar¼«ÂΤÏRX¤Î³ä¤ê¹þ¤ß¤ò»È¤Ã¤Æ¤¤¤Ê¤¤¤Î¤Ç¡¢¥³¥á¥ó¥È¥¢¥¦¥È¤·¤Ê¤¤¤È¤¤¤±¤Ê¤¤¤ß¤¿¤¤¡£
¤È¤¤¤¦¤³¤È¤Ï¡¢szGetParam¤È¤«¤È°ì½ï¤Ë»È¤¦»þ¤Ë¤Ï¡¢
¤½¤ÎÅÔÅÙÀÚÂؤ¬É¬ÍפʤΤ«¤Ê¡£

UARTÄÌ¿®¤Î¥µ¥ó¥×¥ë¥×¥í¥°¥é¥à¤ò¾¯¤·²þÎɤ·¤Æ¤ß¤ë

UARTÄÌ¿®¤Î¥µ¥ó¥×¥ë¥×¥í¥°¥é¥à¤Ï¡¢
¥³¥Þ¥ó¥É¤òÆþÎϤ·¤Æ¡¢¥³¥Þ¥ó¥É¤È¥Ñ¥é¥á¡¼¥¿¤òʬΥ¤¹¤ë¤è¤¦¤Ê¥×¥í¥°¥é¥à¡£

¤³¤ì¤òÉáÄ̤Îʸ»úÎó¤ò¼è¤ê¹þ¤à¥×¥í¥°¥é¥à¤Ë¤·¤Æ¤ª¤­¤¿¤¤¡£

	char *strPtr;
	UART_PC_CPutString("\r\nWelcome to PSoC UART test program. V1.1 \r\n");
	while(1){
		if(UART_PC_bCmdCheck()){
			while(strPtr = UART_PC_szGetParam()) { // loop on each parameter	
				UART_PC_CPutString("   <");
				UART_PC_PutString(strPtr);			// Print each parameter    
				UART_PC_CPutString(">\r\n");	
			 }
		}
	   UART_PC_CmdReset();							// Reset command buffer 	  
	}

¤³¤ì¤¬²¿¸Î¤«¤¦¤Þ¤¯Æ°¤«¤Ê¤¤¡£¡£
¤Û¤È¤ó¤É¥µ¥ó¥×¥ë¤ÈƱ¤¸¤Ê¤ó¤À¤±¤É¤Ê¡¢¡¢

ÂçÎ̤˥¨¥é¡¼¤¬Áý¤¨¤¿¾ì¹ç¢ª¤«¤Ã¤³¤Î¿ô¤ò³Îǧ¤·¤è¤¦¡£

¤Á¤ç¤Ã¤È¥×¥í¥°¥é¥àÊѤ¨¤¿¤é¡¢°ÕÌ£ÉÔÌÀ¤Ê¥¨¥é¡¼¤¬ÂçÎ̤˽ФƤ­¤¿¡£

ñ½ã¤Ê¥ß¥¹¤À¤±¤É¡¢¤¹¤´¤¯È¯¸«¤·¤Å¤é¤¤¡£¡£
PSoC¤Î¥¨¥Ç¥£¥¿¤Ï¡¢¸«¤Å¤é¤¤¤Î¤Ç¡¢Â¾¤Î¥¨¥Ç¥£¥¿¤ÇºîÀ®¤¹¤ë¤È¤¤¤¦¤Î¤â
¤¢¤ê¤«¤â¤·¤ì¤Ê¤¤¡£

2008ǯ05·î15Æü(ÌÚ)

MeRL¥Þ¥¤¥³¥óÉôWiki¤òºîÀ®¤·¤Þ¤·¤¿¡£

º£Ç¯¤Î¾ðÊó¶¦Í­ÊýË¡¤Ï¡¢Wiki¤Ë¤¹¤ë¤³¤È¤Ë¤·¤Þ¤·¤¿¡£
MeRLWiki¤Ç»È¤¤´·¤ì¤Æ¤¤¤ë¤È¤¤¤¦¤³¤È¤â¤¢¤ë¤·¡£
¤É¤³¤Þ¤Ç¿»Æ©¤¹¤ë¤«¤Ê¡Á¡Á


¥È¥Ã¥×   ¿·µ¬ °ìÍ÷ ¸¡º÷ ºÇ½ª¹¹¿·   ¥Ø¥ë¥×   ºÇ½ª¹¹¿·¤ÎRSS