| Electronic Components Datasheet Search |
|
R8C/12 Datasheet(PDF) 118 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
R8C/12 Datasheet(HTML) 118 Page - Renesas Technology Corp |
|
118 / 198 page ![]() R8C/12 Group Rev.1.20 Jan 27, 2006 page 108 of 181 REJ09B0110-0120 14.1 One-shot Mode In one-shot mode, the input voltage on one selected pin is A/D converted once. Table 14.2 lists the specifications of one-shot mode. Figure 14.4 shows the ADCON0 and ADCON1 registers in one-shot mode. AD control register 0(1) SymbolAddressAfter reset ADCON000D616 00000XXX2 b7 b6 b5 b4 b3 b2 b1 b0 Analog input pin select bit2 0 0 0 : AN0 is selected 0 0 1 : AN1 is selected 0 1 0 : AN2 is selected 0 1 1 : AN3 is selected 1 0 0 : AN4 is selected 1 0 1 : AN5 is selected 1 1 0 : AN6 is selected 1 1 1 : AN71 is selected CH0 Bit symbolBit nameFunction CH1 CH2 AD operation mode select bit(2) 0 : One-shot mode MD ADST A/D conversion start flag0 : A/D conversion disabled 1 : A/D conversion started Frequency select bit 0(3) 0 : fAD/4 is selected 1 : fAD/2 is selected CKS0 RW AD control register 1(1) Symbol Address After reset ADCON1 00D716 0016 Bit name Function Bit symbol b7 b6 b5 b4 b3 b2 b1 b0 b2 b1 b0 NOTES: 1. If the ADCON0 register is rewritten during A/D conversion, the conversion result is indeterminate. 2. When changing A/D operation mode, set analog input pin again. 3. This bit is valid when the CKS1 bit in the ADCON1 register is set to “0”. NOTES: 1. If the ADCON1 register is rewritten during A/D conversion, the conversion result is indeterminate. 2. The φAD frequency must be 10 MHz or less. 3. If the VCUT bit is reset from “0” (Vref unconnected) to “1” (Vref connected), wait for 1 µs or more before starting A/D conversion. BITS 8/10-bit mode select bit 0 : 8-bit mode 1 : 10-bit mode VCUT Vref connect bit(3) 1 : Vref connected Frequency select bit 1(2) CKS1 0 Set to “0” 0 Reserved bit 0 0 0 RW RW RW RW RW RW RW RW (b4) Set to “0” Reserved bit (b5) 0 0 Set to “0” Reserved bit (b2-b0) RW RW RW RW RW RW Set to “0” Reserved bit (b6-b7) 0 1 0 : CKS0 bit in ADCON0 register is valid 1 : fAD is selected Figure 14.4 ADCON0 Register and ADCON1 Registers in One-shot Mode Item Specification Function Input voltage on one pin selected by CH2 to CH0 bits is A/D converted once. Start condition Set ADST bit to “1” Stop condition • Completion of A/D conversion (ADST bit is set to “0”) • Set ADST bit to “0” Interrupt request generation timing End of A/D conversion Input pin One of AN0 to AN7, as selected Reading of result of A/D converter Read AD register Table 14.2 One-shot Mode Specifications 14.1 One-shot Mode |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |