Introduction - If you have any usage issues, please Google them yourself
/*** *** *** *** *** *** *** *** *** *** *** *** ***
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