EasyManuals Logo

Atmel ATmega32M1 User Manual

Atmel ATmega32M1
367 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #261 background imageLoading...
Page #261 background image
261
7647H–AVR–03/12
Atmel ATmega16/32/64/M1/C1
19.2.4 Threshold Reference for Internal Analog Comparator
An external resistor used in conjunction with the Current Source can be used as threshold refer-
ence for internal Analog Comparator (See ”Analog Comparator” on page 262.). This can be
connected to AIN0 (negative Analog Compare input pin) as well as AIN1 (positive Analog Com-
pare input pin). Using a resistor in serie with a lower tolerance than the Current Source accuracy
(2%) is recommended. Table 19-2 gives an example of threshold references using standard val-
ues of resistors.
19.3 Control Register
19.3.1 ADC Control and Status Register B– ADCSRB
Bit 6 – ISRCEN: Current Source Enable
Set this bit to source a 100µA current to the AREF pin.
Clear this bit to disconnect .
Bit 5 – AREFEN: Analog Reference pin Enable
Set this bit to connect the internal AREF circuit to the AREF pin.
Clear this bit to disconnect the internal AREF circuit from the AREF pin.
Bit 76543210
ADHSM ISRCEN AREFEN - ADTS3 ADTS2 ADTS1 ADTS0 ADCSRB
Read/Write R/W R/W R/W R R/W R/W R/W R/W
Initial Value 00000000

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Atmel ATmega32M1 and is the answer not in the manual?

Atmel ATmega32M1 Specifications

General IconGeneral
BrandAtmel
ModelATmega32M1
CategoryMicrocontrollers
LanguageEnglish

Related product manuals