beautypg.com

4 interrupt of 8-/10-bit a/d converter, Interrupt of 8-/10-bit a/d converter – FUJITSU F2MCTM-16LX User Manual

Page 374

background image

358

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

18.4

Interrupt of 8-/10-bit A/D Converter

When A/D conversion is terminated and its results are stored in the A/D data register

(ADCR), the 8-/10-bit A/D converter generates an interrupt request. The EI

2

OS function

can be used.

Interrupt of A/D Converter

When A/D conversion of the analog input voltage is terminated and its results are stored in the A/D data

register (ADCR), the interrupt request flag bit in the A/D control status register (ADCS:INT) is set to "1".

When the interrupt request flag bit is set (ADCS:INT = 1) with an interrupt request output enabled

(ADCS:INTE = 1), an interrupt request is generated.

8-/10-bit A/D Converter Interrupt and EI

2

OS

EI

2

OS Function of 8-/10-bit A/D Converter

In the 8-/10-bit A/D converter, the EI

2

OS function can be used to transfer the A/D conversion results from

the A/D data register (ADCR) to memory. If the EI

2

OS function is used, the A/D-converted data protection

function is activated to cause A/D conversion to pause during memory transfer and prevent data loss as A/

D conversion is performed continuously.

Reference:

See "CHAPTER 3 INTERRUPTS" for details of the interrupt number, interrupt control register, and
interrupt vector address.