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]).
MD1 MD0
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
6.2 How do I specify a bit length?
Configure the conversion result storage bit length setting (ADCS.S10).
Operation Mode
To store conversion results in the ADCR register in 10 bits
To store conversion results in the ADCR register in 8 bits
Operating mode
Conversion Result Storage Bit Length (S10)
Chapter 44 A/D Converter
Set "0".
Set "1".
6.Q & A
901