Code Of I2C_Mastermacro; Code Of I2C_Slavemacro; Code Of Sleep_Macro - Fujitsu F2MC-8FX Series Application Note

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

Advertisement

4.6.20 Code of I2C_MasterMacro

if(PraGlo.KeyStatus == 1)
{
P00Status = Judge_P00 ();
if(P00Status == 1)
else
}
PraGlo.KeyStatus = 0;

4.6.21 Code of I2C_SlaveMacro

unsigned char ReadADC;
ReadADC = Read_ADC();
PraGlo.AddrMCU = Judge_SlaveAddr(ReadADC);
IAAR1 = (PraGlo.AddrMCU>>1);

4.6.22 Code of Sleep_Macro

Write_StandBy();
MB2146-460-E Setup Guide V1.2
Chapter 4 Sample Code Manual
EEPROM_I2C ();
EndDevice_I2C ();
MCU-AN-500083-E-12 – Page 50

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb95350l seriesMb2146-460-e

Table of Contents