Code Of Stbled_On; Code Of Write_Standby; Code Of Clock_Init - Fujitsu F2MC-8FX Series Application Note

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

Advertisement

4.6.13 Code of STBLED_ON

if(LEDSwiDat == 1)
{
PDR0_P07 = 0;
DDR0_P07 = 1;
}
else
{
PDR0_P07 = 1;
DDR0_P07 = 1;
}

4.6.14 Code of Write_StandBy

STBLED_ON(1);
SYCC = 0x00;
SYCC2 = 0x21;//0x34;
While (STBC_MCRDY==0);
SlaveI2C_PrepareForInter ();
IBCR01_WUE = 1;
while (IBSR1_BB);
STBC = 0x80;
STBLED_ON(0);
Delay(60);

4.6.15 Code of Clock_Init

SYSC = 0x05;
PF/PG is clock use
SYCC = 0x00;
SYCC2 = 0xe1;
While (STBC_MCRDY==0);
MB2146-460-E Setup Guide V1.2
Chapter 4 Sample Code Manual
//enable
reset,
//main clock
MCU-AN-500083-E-12 – Page 47
//on
//off
//LED on
//main clock
//enable i2c wake up
//Stop ENTERED
//LED OFF
enable
I2C1
pin,select

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb95350l seriesMb2146-460-e

Table of Contents