04.03.2013 Views

RL78/D1A User's Manual: Hardware - Renesas

RL78/D1A User's Manual: Hardware - Renesas

RL78/D1A User's Manual: Hardware - Renesas

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Under development<br />

Preliminary document<br />

Specifications in this document are tentative and subject to change.<br />

<strong>RL78</strong>/<strong>D1A</strong> CHAPTER 11 A/D CONVERTER<br />

Figure 11-5. A/D Converter Sampling and A/D Conversion Timing (Example for Software Trigger Mode)<br />

ADCS<br />

Sampling<br />

timing<br />

INTAD<br />

ADCS ← 1 or ADS rewrite<br />

SAR<br />

clear<br />

Sampling<br />

Successive conversion Transfer<br />

to ADCR,<br />

INTAD<br />

generation<br />

Sampling<br />

Conversion time Conversion time<br />

(3) A/D converter mode register 1 (ADM1)<br />

This register is used to specify the A/D conversion trigger, conversion mode, and hardware trigger signal.<br />

<strong>Hardware</strong> trigger mode with ADTRG is added to be supported. ADTRG is allocated to P72 as alternate function.<br />

The ADM1 register can be set by a 1-bit or 8-bit memory manipulation instruction.<br />

Reset signal generation clears this register to 00H.<br />

Address: FFF32H After reset: 00H R/W<br />

R01UH0317EJ0004 Rev. 0.04 518<br />

Feb. 22, 2013<br />

SAR<br />

clear<br />

Figure 11-6. Format of A/D Converter Mode Register 1 (ADM1)<br />

Symbol 7 6 5 4 3 2 1 0<br />

ADM1 ADTMD1 ADTMD0 ADSCM 0 0 0 ADTRS1 ADTRS0<br />

ADTMD1 ADTMD0 Selection of the A/D conversion trigger mode<br />

0 × Software trigger mode<br />

1 0 <strong>Hardware</strong> trigger no-wait mode<br />

1 1 <strong>Hardware</strong> trigger wait mode<br />

ADSCM Specification of the A/D conversion mode<br />

0 Sequential conversion mode<br />

1 One-shot conversion mode<br />

ADTRS1 ADTRS0 Selection of the hardware trigger signal<br />

0 0 End of TAU 02 count or capture interrupt (INTTM02)<br />

0 1 End of TAU 04 count or capture interrupt (INTTM04)<br />

1 0 <strong>Hardware</strong> trigger from external pin (ADTRG) without noise filter<br />

1 1 <strong>Hardware</strong> trigger from external pin (ADTRG) with noise filter<br />

(Caution and Remark are given on the next page.)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!