Fujitsu MB90480 Series Hardware Manual page 404

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

CHAPTER 17 8/10-BIT A/D CONVERTER
The start trigger occurs due to underflow of the reload timer when output signal of the reload
timer is set to rising edge.
• Method to start by external trigger
The external trigger is set by the external trigger input pin (ADTG). The external trigger input
pin is set by the data direction bit (DDR9.P93).
To set ADTG pin to trigger input
● Method to confirm termination of conversion
There are two methods to confirm the termination of conversion.
• Method to confirm using A/D conversion end interrupt request bit (ADCS2.INT).
• Method to confirm using operation confirmation bit (ADCS2.BUSY)
● Method to read conversion value
The conversion value can be read by the data registers (ADCR1, ADCR2).
● Method to stop A/D conversion operation forcibly
Set by the forced stop bit (ADCS2.BUSY).
To stop A/D conversion operation forcibly
Writing "1" to forced stop bit (BUSY) does not affect the A/D operation.
382
Operation
(INT)
Read value is "0"
Read value is "1"
(BUSY)
Read value is "0"
Read value is "1"
Operation
Setting
Set bit in data direction register (DDR9.P93) to "0".
Meaning
No interrupt request upon termination of A/D conversion
Interrupt request upon termination of A/D conversion
Setting
A/D conversion is terminated (stopping).
A/D conversion is in progress.
Forced stop bit (BUSY)
Write "0"

Advertisement

Table of Contents
loading

Table of Contents