文件名称:DBG_test-500009
介绍说明--下载内容来自于网络,使用问题请自行百度
本应用介绍了DBG引脚的使用方法。调试模式下,DBG引脚可用作单线UART通信端口;自由运行模式下,DBG引脚可用作P12/EC0。-/******************************************************************************
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
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
(系统自动生成,下载前可以参看下载内容)
下载文件列表
DBG_test-500009/
DBG_test-500009/DBGtest.dat
DBG_test-500009/DBGtest.prj
DBG_test-500009/DBGtest.wsp
DBG_test-500009/Debug/
DBG_test-500009/Debug/ABS/
DBG_test-500009/Debug/ABS/AD_BASIC.abs
DBG_test-500009/Debug/ABS/DBGtest.abs
DBG_test-500009/Debug/DBGtest.sup
DBG_test-500009/Debug/LST/
DBG_test-500009/Debug/LST/AD_BASIC.mp1
DBG_test-500009/Debug/LST/DBGtest.mp1
DBG_test-500009/Debug/OBJ/
DBG_test-500009/Debug/OBJ/Main.obj
DBG_test-500009/Debug/OBJ/Main.stk
DBG_test-500009/Debug/OBJ/mb95200.obj
DBG_test-500009/Debug/OBJ/startup.obj
DBG_test-500009/Debug/OBJ/vectors.obj
DBG_test-500009/Debug/OBJ/vectors.stk
DBG_test-500009/Debug/OBJ/_f2mc8fx.obj
DBG_test-500009/Debug/OBJ/_f2mc8fx.stk
DBG_test-500009/Debug/OBJ/_f2mc8fx_a.obj
DBG_test-500009/Debug/OPT/
DBG_test-500009/Debug/OPT/AD_BASIC.opa
DBG_test-500009/Debug/OPT/AD_BASIC.opb
DBG_test-500009/Debug/OPT/AD_BASIC.opc
DBG_test-500009/Debug/OPT/AD_BASIC.opl
DBG_test-500009/Debug/OPT/AD_BASIC.opv
DBG_test-500009/Debug/OPT/DBGtest.opa
DBG_test-500009/Debug/OPT/DBGtest.opb
DBG_test-500009/Debug/OPT/DBGtest.opc
DBG_test-500009/Debug/OPT/DBGtest.opl
DBG_test-500009/Debug/OPT/DBGtest.opv
DBG_test-500009/scr/
DBG_test-500009/scr/ioreg.txt
DBG_test-500009/scr/ioregj.txt
DBG_test-500009/scr/ioregj_a.txt
DBG_test-500009/scr/ioreg_a.txt
DBG_test-500009/scr/Main.c
DBG_test-500009/scr/mb95200.asm
DBG_test-500009/scr/MB95200.h
DBG_test-500009/scr/mb95200_a.inc
DBG_test-500009/scr/readme.txt
DBG_test-500009/scr/startup.asm
DBG_test-500009/scr/vectors.c
DBG_test-500009/scr/_f2mc8fx.c
DBG_test-500009/scr/_f2mc8fx.h
DBG_test-500009/scr/_f2mc8fx_a.asm
DBG_test-500009/DBGtest.dat
DBG_test-500009/DBGtest.prj
DBG_test-500009/DBGtest.wsp
DBG_test-500009/Debug/
DBG_test-500009/Debug/ABS/
DBG_test-500009/Debug/ABS/AD_BASIC.abs
DBG_test-500009/Debug/ABS/DBGtest.abs
DBG_test-500009/Debug/DBGtest.sup
DBG_test-500009/Debug/LST/
DBG_test-500009/Debug/LST/AD_BASIC.mp1
DBG_test-500009/Debug/LST/DBGtest.mp1
DBG_test-500009/Debug/OBJ/
DBG_test-500009/Debug/OBJ/Main.obj
DBG_test-500009/Debug/OBJ/Main.stk
DBG_test-500009/Debug/OBJ/mb95200.obj
DBG_test-500009/Debug/OBJ/startup.obj
DBG_test-500009/Debug/OBJ/vectors.obj
DBG_test-500009/Debug/OBJ/vectors.stk
DBG_test-500009/Debug/OBJ/_f2mc8fx.obj
DBG_test-500009/Debug/OBJ/_f2mc8fx.stk
DBG_test-500009/Debug/OBJ/_f2mc8fx_a.obj
DBG_test-500009/Debug/OPT/
DBG_test-500009/Debug/OPT/AD_BASIC.opa
DBG_test-500009/Debug/OPT/AD_BASIC.opb
DBG_test-500009/Debug/OPT/AD_BASIC.opc
DBG_test-500009/Debug/OPT/AD_BASIC.opl
DBG_test-500009/Debug/OPT/AD_BASIC.opv
DBG_test-500009/Debug/OPT/DBGtest.opa
DBG_test-500009/Debug/OPT/DBGtest.opb
DBG_test-500009/Debug/OPT/DBGtest.opc
DBG_test-500009/Debug/OPT/DBGtest.opl
DBG_test-500009/Debug/OPT/DBGtest.opv
DBG_test-500009/scr/
DBG_test-500009/scr/ioreg.txt
DBG_test-500009/scr/ioregj.txt
DBG_test-500009/scr/ioregj_a.txt
DBG_test-500009/scr/ioreg_a.txt
DBG_test-500009/scr/Main.c
DBG_test-500009/scr/mb95200.asm
DBG_test-500009/scr/MB95200.h
DBG_test-500009/scr/mb95200_a.inc
DBG_test-500009/scr/readme.txt
DBG_test-500009/scr/startup.asm
DBG_test-500009/scr/vectors.c
DBG_test-500009/scr/_f2mc8fx.c
DBG_test-500009/scr/_f2mc8fx.h
DBG_test-500009/scr/_f2mc8fx_a.asm
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.