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 #267 background imageLoading...
Page #267 background image
267
7647H–AVR–03/12
Atmel ATmega16/32/64/M1/C1
Bit 2, 1, 0– AC2M2, AC2M1, AC2M0: Analog Comparator 2 Multiplexer register
These 3 bits determine the input of the negative input of the analog comparator.
The different setting are shown in Table 20-6.
20.4.4 Analog Comparator 3 Control Register – AC3CON
Bit 7– AC3EN: Analog Comparator 3 Enable Bit
Set this bit to enable the analog comparator 3.
Clear this bit to disable the analog comparator 3.
Bit 6– AC3IE: Analog Comparator 3 Interrupt Enable bit
Set this bit to enable the analog comparator 3 interrupt.
Clear this bit to disable the analog comparator 3 interrupt.
Bit 5, 4– AC3IS1, AC3IS0: Analog Comparator 3 Interrupt Select bit
These 2 bits determine the sensitivity of the interrupt trigger.
The different setting are shown in Table 18-7.
Bit 3 – Res: Reserved Bit
This bit is an unused bit in the ATmega16/32/64/M1/C1, and will always read as zero.
Bit 2, 1, 0– AC3M2, AC3M1, AC3M0: Analog Comparator 3 Multiplexer register
These 3 bits determine the input of the negative input of the analog comparator.
The different setting are shown in Table 20-6.
Table 20-6. Analog Comparator 2 negative input selection
AC2M2 AC2M1 AC2M0 Description
000“Vref/6.40
001“Vref/3.20
010“Vref/2.13
011“Vref/1.60
100Bandgap (1.1V)
101DAC result
110Analog Comparator Negative Input (ACMPM pin)
111Reserved
Bit 76543210
AC3EN AC3IE AC3IS1 AC3IS0 - AC3M2 AC3M1 AC3M0 AC3CON
Read/Write R/W R/W R/W R/W - R/W R/W R/W
Initial Value 00000000
Table 20-7. Interrupt sensitivity selection
AC3IS1 AC3IS0 Description
0 0 Comparator Interrupt on output toggle
01Reserved
1 0 Comparator interrupt on output falling edge
1 1 Comparator interrupt on output rising edge

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