USB-100 Fujitsu Semiconductor America Inc, USB-100 Datasheet - Page 104

KIT STARTER FOR USB

USB-100

Manufacturer Part Number
USB-100
Description
KIT STARTER FOR USB
Manufacturer
Fujitsu Semiconductor America Inc
Type
MCUr
Datasheet

Specifications of USB-100

Contents
Board, Cable
For Use With/related Products
MB91F662
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
865-1108
7.3.2
A/D converter interrupt processing
When 10 converted data values are written to the FIFO buffer, an A/D interrupt is
generated so that interrupt processing can take place. The interrupt processing routine
fetches 10 A/D conversions from the FIFO buffer, and averages them. This is treated as the
acquired value (value used to determine humidity) from the humidity sensor. The figure
below shows the details of the A/D converter interrupt processing routine.
A/D converter interrupt processing
- Stop A/D converter
- Clear interrupt causing bit
Get 10 A/D conversion results from FIFO
Calculate average (ad_average) from A/D
conversion results
Clear FIFO
End
Figure 9.3.2-1 A/D converter interrupt processing
103

Related parts for USB-100