Q & a, 2 how do i specify a bit length – FUJITSU MB91460 SERIES FR60 User Manual
Page 917

901
Chapter 44 A/D Converter
6.Q & A
6. Q & A
6.1 What conversion modes are available and how are they selected?
Two modes of conversion are available:
• Single-shot conversion mode, in which the conversion takes place only once.
• Scan conversion mode, in which a specified sequence of channels are converted.
Mode selection is made using the conversion mode selection bits (ADCS.MD[1:0]).
6.2 How do I specify a bit length?
Configure the conversion result storage bit length setting (ADCS.S10).
MD1 MD0
Operating mode
0
0
Single mode ; all restarts conversion during operation enabled
0
1
Single mode ; restarts conversion during operation disabled
1
0
Continuous mode ; restarts conversion during operation disabled
1
1
Stop mode ; restarts conversion during operation disabled
Operation Mode
Conversion Result Storage Bit Length (S10)
To store conversion results in the ADCR register in 10 bits
Set “0”.
To store conversion results in the ADCR register in 8 bits
Set “1”.