Fujitsu MB2146-450-E Instrukcja konfiguracji - Strona 39

Przeglądaj online lub pobierz pdf Instrukcja konfiguracji dla Płyta główna Fujitsu MB2146-450-E. Fujitsu MB2146-450-E 42 stron. F2mc-8fx mb95f310 series 8-bit microcontroller
Również dla Fujitsu MB2146-450-E: Instrukcja konfiguracji (40 strony)

Fujitsu MB2146-450-E Instrukcja konfiguracji

4.4 How to Add these Library

Before using chapter4.2 library, following step ought to be referenced.
Create a new project
Copy .lib file to project document
Add .lib file to project
Add all needed .lib files to project

4.5 Usage Demo

Following table is an example for how to use this C file. Process_Control() is a function user
defined which transfer C file to come true user's idea when to use ADC when to use I2C
when to use RTC.
ADC0_Init();
UART_init();
EXT_Init();
Init_LCD();
TBT_Init();
Init_EEProm();
while(1)
{
ADCTempSwitKey();
Process_Control();
LCD_LigON_NUM(0,2);
}
MB2146-450-E Setup Guide
Chapter 4 Sample Code Manual
// initialise ADC
// initialise UART
// initialise Interrupt
// initialise LCD
// initialise Timebase timer
// initialise EEPROM
// Judge key value
// transfer every library
// display LCD
MCU-AN-500072-E-10 – Page 37