Electronic Components Datasheet Search
  English  ▼

X  

AT90PWM2 Datasheet(PDF) 239 Page - ATMEL Corporation

Part # AT90PWM2
Description  8-bit Microcontroller with 8K Bytes In-System Programmable Flash
PDF  365 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

AT90PWM2 Datasheet(HTML) 239 Page - ATMEL Corporation

Back Button AT90PWM2 Datasheet HTML 235Page - ATMEL Corporation AT90PWM2 Datasheet HTML 236Page - ATMEL Corporation AT90PWM2 Datasheet HTML 237Page - ATMEL Corporation AT90PWM2 Datasheet HTML 238Page - ATMEL Corporation AT90PWM2 Datasheet HTML 239Page - ATMEL Corporation AT90PWM2 Datasheet HTML 240Page - ATMEL Corporation AT90PWM2 Datasheet HTML 241Page - ATMEL Corporation AT90PWM2 Datasheet HTML 242Page - ATMEL Corporation AT90PWM2 Datasheet HTML 243Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 239 / 365 page
background image
239
AT90PWM2/3
4317B–AVR–02/05
These 2 bits determine the sensitivity of the interrupt trigger.
The different setting are shown in Table 92.
• Bit 3– AC1ICE: Analog Comparator 1 Interrupt Capture Enable bit
Set this bit to enable the input capture of the Timer/Counter1 on the analog comparator
event. The comparator output is in this case directly connected to the input capture
front-end logic, making the comparator utilize the noise canceler and edge select fea-
tures of the Timer/Counter1 Input Capture interrupt. To make the comparator trigger the
Timer/Counter1 Input Capture interrupt, the ICIE1 bit in the Timer Interrupt Mask Regis-
ter (TIMSK1) must be set.
In case ICES1 bit (“Timer/Counter1 Control Register B – TCCR1B” on page 127) is set
high, the rising edge of AC1O is the capture/trigger event of the Timer/Counter1, in case
ICES1 is set to zero, it is the falling edge which is taken into account.
Clear this bit to disable this function. In this case, no connection between the Analog
Comparator and the input capture function exists.
• Bit 2, 1, 0– AC1M2, AC1M1, AC1M0: Analog Comparator 1 Multiplexer register
These 3 bits determine the input of the negative input of the analog comparator.
The different setting are shown in Table 95.
Analog Comparator 2 Control
Register – AC2CON
• Bit 7– AC2EN: Analog Comparator 2 Enable Bit
Set this bit to enable the analog comparator 2.
Clear this bit to disable the analog comparator 2.
Table 94. Interrupt sensitivity selection
AC1IS1
AC1IS0
Description
0
0
Comparator Interrupt on output toggle
01
Reserved
1
0
Comparator interrupt on output falling edge
1
1
Comparator interrupt on output rising edge
Table 95. Analog Comparator 1 negative input selection
AC1M2
AC1M1
AC1M0
Description
0
0
0
“Vref”/6.40
0
0
1
“Vref”/3.20
0
1
0
“Vref”/2.13
0
1
1
“Vref”/1.60
1
0
0
Analog Comparator Negative Input (ACMPM pin)
10
1
DAC result
1
1
0
Reserved
1
1
1
Reserved
Bit
7
65
43
21
0
AC2EN
AC2IE
AC2IS1
AC2IS0
AC2M2
AC2M1
AC2M0
AC2CON
Read/Write
R/W
R/W
R/W
R/W
-
R/W
R/W
R/W
Initial Value
0
0
0
0
0
0
0
0



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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