- Category:
- SCM
- Tags:
-
[C/C++]
[源码]
- File Size:
- 106kb
- Update:
- 2012-11-26
- Downloads:
- 0 Times
- Uploaded by:
- Shijie
Description: /*** *** *** *** *** *** *** *** *** *** *** *** ***
F2MC-8FX Family SOFTUNE C Compiler sample startup routine,
ALL RIGHTS RESERVED, COPYRIGHT (C) FUJITSU LIMITED 2008
LICENSED MATERIAL- PROGRAM PROPERTY OF FUJITSU LIMITED
******************************************************************************/
/******************************************************************************
Name: MAIN.C
Function: By setting start-bit and Check with the conversion flag bit
******************************************************************************/
#include "MB95200.h"
//=====================================================================
//following code created for DBG pin usage test
#define DEBUGMODE
//set DBG pin as P12 output
void gpio_setting(void)
{
DDR1_P12 = 1 /* set P12 as output pin*/
PDR1_P12 = 0 /* pull P12 to low.*/
}
//set DBG pin as EC0 pin
void p12_as_ec0(void)
{
SYSC = 0xE3 // set P12 as EC0 pi
To Search:
File list (Check if you may need any files):
DBG_test-500009
...............\DBGtest.dat
...............\DBGtest.prj
...............\DBGtest.wsp
...............\Debug
...............\.....\ABS
...............\.....\...\AD_BASIC.abs
...............\.....\...\DBGtest.abs
...............\.....\DBGtest.sup
...............\.....\LST
...............\.....\...\AD_BASIC.mp1
...............\.....\...\DBGtest.mp1
...............\.....\OBJ
...............\.....\...\Main.obj
...............\.....\...\Main.stk
...............\.....\...\mb95200.obj
...............\.....\...\startup.obj
...............\.....\...\vectors.obj
...............\.....\...\vectors.stk
...............\.....\...\_f2mc8fx.obj
...............\.....\...\_f2mc8fx.stk
...............\.....\...\_f2mc8fx_a.obj
...............\.....\OPT
...............\.....\...\AD_BASIC.opa
...............\.....\...\AD_BASIC.opb
...............\.....\...\AD_BASIC.opc
...............\.....\...\AD_BASIC.opl
...............\.....\...\AD_BASIC.opv
...............\.....\...\DBGtest.opa
...............\.....\...\DBGtest.opb
...............\.....\...\DBGtest.opc
...............\.....\...\DBGtest.opl
...............\.....\...\DBGtest.opv
...............\scr
...............\...\ioreg.txt
...............\...\ioregj.txt
...............\...\ioregj_a.txt
...............\...\ioreg_a.txt
...............\...\Main.c
...............\...\mb95200.asm
...............\...\MB95200.h
...............\...\mb95200_a.inc
...............\...\readme.txt
...............\...\startup.asm
...............\...\vectors.c
...............\...\_f2mc8fx.c
...............\...\_f2mc8fx.h
...............\...\_f2mc8fx_a.asm