
MB91460P Series
DS07-16615-2E
47
[bit 12] PAUS (A/D converter pause)
This bit is set when A/D conversion temporarily halts.
The A/D converter has one register to store the conversion result (ADCR) and additionally 32 ADC channel data
registers. If a conversion is finished and the data of the previous conversion has not been read out before,
previous data would be overwritten.
To avoid this problem, the next conversion data is not stored in the data registers until the previous value has
been read out (e.g. by DMA). A/D conversion halts during this time. A/D conversion resumes when the ADC
interrupt flag ADCR1.INT is cleared.
The register protection function depends on the conversion mode and the setting of ADCR2.INTE2:
In continuous mode with INTE2==1, PAUS is set when data of the start channel (set by ADSCH) is ready for
writing to the registers, but IRQ2 (End of Scan interrupt) is active.
In the other modes or if INTE2==0, PAUS is set when data of any channel is ready for writing to the registers,
but IRQ (End of Conversion) is active.
PAUS is cleared by writing "0" or by a reset. (Not cleared at the end of DMA transfer.) However when waiting
condition of DMA transfer, this bit cannot be cleared.
[bit 11, 10] STS1, STS0 (Start source select)
These bits select the A/D activation source.
These bits are initialized "00" by software reset (RST).
In multiple-activation modes, the first activation to occur starts A/D conversion.
The activation source changes immediately on writing to the register. Therefore care is required when switching
activation mode during A/D operation.
The A/D converter detects falling edges on the external trigger pin. When external trigger level is "L" and if
these bits are changed to external trigger activation mode, A/D converting may starts.
Selecting the timer selects the 16-bit reload timer 7.
Mode
INTE2
Function
Single,
Stop
X
Protect ADCR (the common result register)
Continuous
0
Protect ADCR (the common result register)
1
Protect ADCD0...ADCD31 (the dedicated channel data registers)
STS1
STS0
Function
0
Software activation [Initial value]
0
1
External trigger pin activation and software activation
1
0
Timer activation and software activation
1
External trigger pin activation, timer activation and software activation