Source Code File Description; Adc .C - Fujitsu MB2146-450-E Setup Manual

F2mc-8fx family 8-bit microcontroller mb95310/370 series ev board
Hide thumbs Also See for MB2146-450-E:
Table of Contents

Advertisement

4.2 Source Code File Description

Eight drive files are available in this project shown below.

4.2.1 ADC .c

In this function, environment temperature and key value will be calculated.
Following table describes the ADC library:
Function Name
void ADC0_Init(void)
void ADCTempSwitKey(void)
Following table describes how to use these functions.
Type
Key Value Detect
Temperature Detect
EV BOARD MB2146-450-E V1.3
Chapter 4 Sample Code Manual
Figure 4-2: Source Code Files
Example
Operation
ADC0_Init();
ADCTempSwitKey();
MCU-AN-500072-E-13 – Page 31
Description
Initialize ADC function
Detect keyboard value and temperature value
Return
Global variable PraGlo.KEYFuncValue saved the key
value
Global variable PraGlo.TempNum saved the
temperature value

Advertisement

Table of Contents
loading

Table of Contents