Update for 16-11-21 12:00
This commit is contained in:
parent
f3ee2b258d
commit
42152e8312
@ -245,7 +245,8 @@ The primary control register is the ADC Multiplexer Selection Register (ADMUX
|
|||||||
0x7C). Bit 7 and 6 select the reference voltage for the ADC. Any updates to
|
0x7C). Bit 7 and 6 select the reference voltage for the ADC. Any updates to
|
||||||
this register do not take effect till after an ongoing ADC operations has
|
this register do not take effect till after an ongoing ADC operations has
|
||||||
completed. The internal voltage reference may not be used if a voltage is
|
completed. The internal voltage reference may not be used if a voltage is
|
||||||
applied across the AREF pin. Below are valid values for bits 7 and 6
|
applied across the AREF pin (Pin 21 on the Nano). Below are valid values
|
||||||
|
for bits 7 and 6.
|
||||||
|
|
||||||
| Bits (7-6) | Description |
|
| Bits (7-6) | Description |
|
||||||
----------------------------
|
----------------------------
|
||||||
@ -269,4 +270,6 @@ To control the ADC, the ADC control and Status Register A (ADCSRA 0x7A) and ADC
|
|||||||
Control and Status Register B (ADCSRB 0x7B) are used. Bit 7 of ADCSRA (ADC
|
Control and Status Register B (ADCSRB 0x7B) are used. Bit 7 of ADCSRA (ADC
|
||||||
Enable or ADEN) enables the ADC when high (1), and disables when low.
|
Enable or ADEN) enables the ADC when high (1), and disables when low.
|
||||||
Setting this bit low during a conversion will stop the conversion. Bit 6 of
|
Setting this bit low during a conversion will stop the conversion. Bit 6 of
|
||||||
ADCSRA (ADC Start Conversion or ADSC)
|
ADCSRA (ADC Start Conversion or ADSC) will start the ADC. The first conversion
|
||||||
|
performed when enabling this (since ADEN was changed), will take 25 cycles
|
||||||
|
instead of 13, due to the init that must be done
|
||||||
|
Loading…
Reference in New Issue
Block a user