beautypg.com

FUJITSU F2MCTM-16LX User Manual

Page 384

background image

368

CHAPTER 18 8-/10-BIT A/D CONVERTER

Figure 18.5-5 Processing Flow of A/D Conversion Data Protection Function when Using EI

2

OS

Notes:

The A/D conversion data protection function is activated only when an interrupt request is enabled. Set
the interrupt request enable bit in the A/D control status register (ADCS:INTE) to 1.

The EI

2

OS function is used to transfer the A/D conversion results to memory, do not disable output of an

interrupt request. If output of an interrupt request is disabled during a pause of A/D conversion
(ADCS:INTE = 0), A/D conversion may be restarted to rewrite data being transferred.

The EI

2

OS function is used to transfer the A/D conversion results to memory, do not restart. Restarting

during a pause of A/D conversion may cause loss of the A/D conversion results.

EI

2

OS set

A/D continuous conversion

starts

First conversion terminates

Data in A/D data register stored

Second conversion terminates

EI

2

OS starts

Note: The operation flow of when
the A/D converter is stopped is omitted.

Data in A/D data register stored

Third conversion

Entire conversion terminates

End

EI

2

OS end

A/D pauses

EI

2

OS starts

A/D conversion pauses

NO

YES

EI

2

OS terminates

A/D pauses

NO

YES

Interrupt processing

Continued

EI

2

OS starts