Beep .C; Eeprom .C; Ext-Interrupt .C - Fujitsu MB2146-450-E Setup Manual

F2mc-8fx mb95f310 series 8-bit microcontroller
Hide thumbs Also See for MB2146-450-E:
Table of Contents

Advertisement

4.2.2 Beep .c

When AD key is pressed, it will sound beep and then it will be off. All the occasions are
driven by setting different values for PIN PPG1.
Following table describes the Beep library:
Function Name
void Beep_On(void)
void Beep_Off(void)

4.2.3 EEPROM .c

In this function, all values of EEPROM are initialled to 0x80 and global parameters are
initialled to 0.
Following table describes the EEPROM library:
Function Name
void Init_EEProm(void)

4.2.4 Ext-interrupt .c

In this function external interrupt register are initialled.
Following table describes the external interrupt library:
Function Name
void EXT_Init(void)
__interrupt void INTER_EXT (void)
MB2146-450-E Setup Guide
Chapter 4 Sample Code Manual
Make beep to sound out
Off beep sound
Initializes all global variable and EEPROM to
its' value to sub-address number
Initializes external interrupt
Captures falling edge and generates interrupt
MCU-AN-500072-E-10 – Page 32
Description
Description
Description

Advertisement

Table of Contents
loading

Table of Contents