271
11.2 Control Status Register (ADCS)
<Note>
Set the bit to "0" for clearing it while A/D conversion is stop ped.
The bit is initialized to "0" when the register is reset.
A Read Modify Write instruction reads "1" from this bit.
[bit 13] INTE (INTerrupt Enable)
This bit specifies whether to enable issuing interrupt reques t at the end of conversion.
0: Disable interrupts.
1: Enable interrupts.
Set this bit to "1" for starting DMA transfer by issuing an interrupt. The bit is init ialized to "0 "
when the register is reset.
[bit 12] PAUS (A/D converter PAUSe)
This bit is set when A/D conversion stops.
There is only one register that can contain the A/D co nversi on result. When A/D conv ersion
is performed continuously, previously stored data i s lost unless the conversion result is
transferred by DMA.
This bit is provided to prevent storing the following conv erted data items until the current
data in the data register is transferred by DMA. A/D conversion is stopped during this
period.
A/D conversion resumes after DMA transfer is finished.
This bit is effective only when DMA is used.
See Section 11.5, "Conversion Data Protection Function," for mor e information.
The bit is cleared when the register is reset.
[bit 11, 10] STS1, STS0 (STart Source select)
These bits are cleared when the register is reset.
The bits are used to select the cause for starting the A/D conv erter.
In a mode for which multiple trigger causes apply, the A/D con verter is activat ed by the first
cause.
Since the specified start mode becomes effective soon after the b it setting is changed, be
careful when changing the bit setting during A/D conversi on.
Table 11.2-1 Selecting the Causes for Starting the A/D Converter
STS1 STS0 A/D converter started by
0 0 Software
0 1 External pin trigger signal or software
1 0 Timer or software
1 1 External pin trigger signal, timer, or software