Global Variable Description - Fujitsu F2MC-8FX Series Application Note

Hide thumbs Also See for F2MC-8FX Series:
Table of Contents

Advertisement

4.4 Global Variable Description

Five drive files are available in this project shown below.
_f2mc8fx.h
_f2mc8fx.h is system-defined document. Ignore it
mb95350l.h
Mb95350l.h is system-defined document. Ignore it
def.h
This file basically includes all global variables of FW
Following picture describes the global variable.
typedef struct
{
unsigned char CoordiFlag; //flag for slave and master coordinate
is successfully
unsigned char DatSlavI2CRead; //slave i2c read data
unsigned char KeyStatus;
unsigned char AddrMCU;
}Global;
typedef struct
{
unsigned char TBT_Hour;
unsigned char TBT_Minute;
unsigned char TBT_Second;
unsigned int
unsigned char ErrorDet;
unsigned char ErrorFlag;
time
unsigned int DeadWhile_Tim;
while
}RTCPar;
#define AddrEEPROM
MB2146-460-E Setup Guide V1.2
Chapter 4 Sample Code Manual
Figure 4-4: H Files
TBT_Tim;
0xa0
MCU-AN-500083-E-12 – Page 39
//record key status
//slave i2c address
//RTC hour
//RTC minute
//RTC second
//RTC add number every 0.65ms
//detect error enter dead while
//flag
for
//count
after
dead
while
out
enter
dead

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb95350l seriesMb2146-460-e

Table of Contents