91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

嵌入式的課程設計!! 五子棋 能運行的!

資源截圖

代碼片段和文件信息

/*
**?Copyright?(C)?ARM?Limited?2001.?All?rights?reserved.
*/


/*
**?This?implements?a?‘retarget‘?layer?for?low-level?IO.??Typically?this
**?would?contain?your?own?target-dependent?implementations?of?fputc()
**?ferror()?etc.
**?
**?This?example?provides?implementations?of?fputc()?ferror()
**?_sys_exit()?_ttywrch()?and?__user_initial_stackheap().
**
**?Here?semihosting?SWIs?are?used?to?display?text?onto?the?console?
**?of?the?host?debugger.??This?mechanism?is?portable?across?ARMulator
**?Angel?Multi-ICE?and?embeddedICE.
**
**?Alternatively?to?output?characters?from?the?serial?port?of?an?
**?ARM?Integrator?Board?(see?serial.c)?use:
**
**?????#define?USE_SERIAL_PORT
**
**?or?compile?with?
**
**?????-DUSE_SERIAL_PORT
*/

#include?
#include?


struct?__FILE?{?int?handle;???/*?Add?whatever?you?need?here?*/};
FILE?__stdout;


extern?unsigned?int?bottom_of_heap;?????/*?defined?in?heap.s?*/


int?fputc(int?ch?FILE?*f)
{
????/*?Place?your?implementation?of?fputc?here?????*/
????/*?e.g.?write?a?character?to?a?UART?or?to?the?*/
????/*?debugger?console?with?SWI?WriteC????????????*/

????return?ch;
}


int?ferror(FILE?*f)
{???/*?Your?implementation?of?ferror?*/
????return?EOF;
}


void?_sys_exit(int?return_code)
{
for(;;);
}


void?_ttywrch(int?ch)
{
}


__value_in_regs?struct?__initial_stackheap?__user_initial_stackheap(
????????unsigned?R0?unsigned?SP?unsigned?R2?unsigned?SL)
{
????struct?__initial_stackheap?config;
????
????config.heap_base?=?(unsigned?int)&bottom_of_heap;?//?defined?in?heap.s
??????????????????????????????????????????????????????//?placed?by?scatterfile???
????config.stack_base?=?SP;???//?inherit?SP?from?the?execution?environment

????return?config;
}

/*
Below?is?an?equivalent?example?assembler?version?of?__user_initial_stackheap.

It?will?be?entered?with?the?value?of?the?stackpointer?in?r1?(as?set?in?init.s)?
this?does?not?need?to?be?changed?and?so?can?be?passed?unmodified?out?of?the?
function.?

????IMPORT?bottom_of_heap
????EXPORT?__user_initial_stackheap

__user_initial_stackheap????
????LDR???r0=bottom_of_heap
????MOV???pclr
*/


?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件?????155956??2008-06-19?15:59??Exp151\Exp15.mcp

?????文件???????3374??2008-06-19?15:59??Exp151\Exp15_Data\CWSettingsWindows.stg

?????文件????????879??2005-04-22?09:14??Exp151\INC\BITOPS.H

?????文件????????444??2005-04-22?09:14??Exp151\INC\DEF.H

?????文件????????532??2005-04-22?09:14??Exp151\INC\DRV\AD.h

?????文件???????1998??2005-04-22?09:14??Exp151\INC\DRV\can.h

?????文件???????3784??2005-04-22?09:14??Exp151\INC\DRV\DirectDisplay.h

?????文件???????6644??2005-04-22?09:14??Exp151\INC\DRV\display.h

?????文件????????304??2005-04-22?09:14??Exp151\INC\DRV\EXIO.h

?????文件????????698??2005-04-22?09:14??Exp151\INC\DRV\Figure.h

?????文件???????1090??2005-04-22?09:14??Exp151\INC\DRV\flash.h

?????文件???????3196??2005-04-22?09:14??Exp151\INC\DRV\IIS-S3C44B0.h

?????文件????????127??2005-04-22?09:14??Exp151\INC\DRV\KeyBoard16.h

?????文件????????936??2005-04-22?09:14??Exp151\INC\DRV\lcd320.h

?????文件????????247??2005-04-22?09:14??Exp151\INC\DRV\Loadfile.h

?????文件???????6538??2005-04-22?09:14??Exp151\INC\DRV\MCP2510.h

?????文件???????3421??2005-04-22?09:14??Exp151\INC\DRV\OSFile.h

?????文件????????800??2005-04-22?09:14??Exp151\INC\DRV\rtc.h

?????文件????????887??2005-04-22?09:14??Exp151\INC\DRV\tchScr.h

?????文件????????285??2005-04-22?09:14??Exp151\INC\DRV\Ustring.h

?????文件???????1159??2005-04-22?09:14??Exp151\INC\DRV\zlg7289.h

?????文件????????226??2005-04-22?09:14??Exp151\INC\drv.h

?????文件????????164??2005-04-22?09:14??Exp151\INC\Maro.h

?????文件????????224??2005-04-22?09:14??Exp151\init\heap.s

?????文件???????1921??2005-04-22?09:14??Exp151\init\isr_address.s

?????文件??????10303??2005-04-22?09:14??Exp151\init\readme.txt

?????文件???????2212??2005-04-22?09:14??Exp151\init\retarget.c

?????文件???????1585??2005-04-22?09:14??Exp151\init\scat_ram.scf

?????文件???????1575??2005-04-22?09:14??Exp151\init\scat_rom.scf

?????文件????????393??2005-04-22?09:14??Exp151\init\stack.s

............此處省略35個文件信息

評論

共有 條評論