Code Of Inter_I2Cslavemodewakeup - Fujitsu F2MC-8FX Series Application Note

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

Advertisement

4.6.12 Code of INTER_I2CSlaveModeWakeUp

IBCR01_WUE = 0;
if (IBCR01_SPF == 0x01)
{
IBCR01_SPF = 0x00;
}
if (IBCR11_INT == 0x01)
{
same as mcu address
PDR0_P05 = 0;
}
if(IBCR11_BER == 0x01)
{
}
MB2146-460-E Setup Guide V1.2
Chapter 4 Sample Code Manual
ReaDat = IDDR1;
Tim ++;
if(Tim == 2)
{
Tim = 0;
PraGlo.DatSlavI2CRead = ReaDat;
PraGlo.CoordiFlag
}
IBCR11_INT = 0x00;
DDR0_P05 = 1;
IBCR11_BER = 0x00;
MCU-AN-500083-E-12 – Page 46
//disable i2c wake up interrupt
// stop condition detected
// clear stop condition
// transfer completed
=
1;
//slave
// clear bit
// bus error detected
// bit cleared
address
receive
is

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb95350l seriesMb2146-460-e

Table of Contents