r5f71374an80fpv Renesas Electronics Corporation., r5f71374an80fpv Datasheet - Page 727

no-image

r5f71374an80fpv

Manufacturer Part Number
r5f71374an80fpv
Description
32-bit Risc Microcomputer Superh?? Risc Engine Family
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
R5F71374AN80FPV
Manufacturer:
TI
Quantity:
1 001
17.4.2
The following example shows the operation when analog input channels 0, 2, and 3 (AN0, AN2,
AN3) are selected and the A/D_0 conversion is performed in continuous scan mode using the
three channels. This operation also applies to the A/D_1 conversion.
1. Set the ADCS bit in the A/D control register_0 (ADCR_0) to 0.
2. Set all bits ANS0, ANS2, and ANS3 in the A/D analog input channel select register_0
3. Set the ADST bit in the A/D control register_0 (ADCR_0) to 1 to start A/D conversion.
4. Channels 0 and 2 (GrA) are sampled simultaneously. As the ANS1 bit in ADANSR_0 is set to
5. The A/D conversion of channel 3 is started. Upon completion of the A/D conversion, the A/D
6. When the A/D conversion ends on all the specified channels (AN0 to AN3), the ADF bit is set
7. Steps 4 to 6 are repeated as long as the ADST bit remains set to 1. When the ADST bit is
(ADANSR_0) to 1.
0, channel 1 is not sampled. After this, offset canceling processing (OFC) is performed. Then
the A/D conversion on channel 0 is started. Upon completion of the A/D conversion, the A/D
conversion result is transferred to ADDR0. In the same way, channel 2 is converted and the
A/D conversion result is transferred to ADDR2. The A/D conversion is not performed on
channel 1.
conversion result is transferred to ADDR3.
to 1. At this time, if the ADIE bit is set to 1, an ADI_3 interrupt is generated after the A/D
conversion.
cleared to 0, the A/D conversion stops. After this, if the ADST bit is set to 1, the A/D
conversion starts again and repeats steps 4 to 6.
Continuous Scan Mode
Rev. 1.00 Sep. 21, 2007 Page 701 of 1124
Section 17 A/D Converter (ADC)
REJ09B0402-0100

Related parts for r5f71374an80fpv