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
Architecture8-bit AVR
Flash Memory32 KB
SRAM2 KB
EEPROM1 KB
Clock Speed16 MHz
GPIO Pins32
I/O Pins32
ADC Channels8
ADC Resolution10-bit
UART1
USART1
SPI1
I2C1
PWM Channels6
CAN1
Operating Voltage2.7V - 5.5V
Operating Temperature-40°C to +85°C
Temperature Range-40°C to +85°C
Package44-TQFP, 44-QFN

Related product manuals