Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.COM

X  

ATMEGA163 Datasheet(PDF) 48 Page - ATMEL Corporation

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

ATMEGA163 Datasheet(HTML) 48 Page - ATMEL Corporation

Back Button ATMEGA163 Datasheet HTML 44Page - ATMEL Corporation ATMEGA163 Datasheet HTML 45Page - ATMEL Corporation ATMEGA163 Datasheet HTML 46Page - ATMEL Corporation ATMEGA163 Datasheet HTML 47Page - ATMEL Corporation ATMEGA163 Datasheet HTML 48Page - ATMEL Corporation ATMEGA163 Datasheet HTML 49Page - ATMEL Corporation ATMEGA163 Datasheet HTML 50Page - ATMEL Corporation ATMEGA163 Datasheet HTML 51Page - ATMEL Corporation ATMEGA163 Datasheet HTML 52Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 48 / 187 page
background image
48
ATmega163(L)
1142E–AVR–02/03
The TEMP Register is also used when accessing TCNT1 and ICR1. If the main program
and also interrupt routines perform access to registers using TEMP, interrupts must be
disabled during access from the main program and interrupt routines.
Timer/Counter1 Input Capture
Register – ICR1H and ICR1L
The Input Capture Register is a 16-bit read-only register.
When the rising or falling edge (according to the input capture edge setting – ICES1) of
the signal at the Input Capture Pin – ICP – is detected, the current value of the
Timer/Counter1 Register – TCNT1 – is transferred to the Input Capture Register – ICR1.
At the same time, the Input Capture Flag – ICF1 – is set (one).
Since the Input Capture Register – ICR1 – is a 16-bit register, a temporary register
TEMP is used when ICR1 is read to ensure that both bytes are read simultaneously.
When the CPU reads the Low Byte ICR1L, the data is sent to the CPU and the data of
the High Byte ICR1H is placed in the TEMP Register. When the CPU reads the data in
the High Byte ICR1H, the CPU receives the data in the TEMP Register. Consequently,
the Low Byte ICR1L must be accessed first for a full 16-bit register read operation.
The TEMP Register is also used when accessing TCNT1, OCR1A, and OCR1B. If the
main program and also interrupt routines accesses registers using TEMP, interrupts
must be disabled during access from the main program and interrupt routines.
Timer/Counter1 in PWM Mode
When the PWM mode is selected, Timer/Counter1 and the Output Compare Register1A
– OCR1A and the Output Compare Register1B – OCR1B, form a dual 8,- 9-, or 10-bit,
free-running, glitch-free, and phase correct PWM with outputs on the PD5 (OC1A) and
PD4(OC1B) pins. In this mode, the Timer/Counter1 acts as an up/down counter, count-
ing up from $0000 to TOP (see Table 16), where it turns and counts down again to zero
before the cycle is repeated. When the counter value matches the contents of the 8, 9,
or 10 least significant bits (depending on resolution) of OCR1A or OCR1B, the
PD5(OC1A)/PD4(OC1B) pins are set or cleared according to the settings of the
COM1A1/COM1A0 or COM1B1/COM1B0 bits in the Timer/Counter1 Control Register
TCCR1A. Refer to Table 12 on page 44 for details.
Alternatively, the Timer/Counter1 can be configured to a PWM that operates at twice the
speed as in the mode described above. Then the Timer/Counter1 and the Output Com-
pare Register1A – OCR1A and the Output Compare Register1B – OCR1B, form a dual
8-, 9-, or 10-bit, free-running and glitch-free PWM with outputs on the PD5(OC1A) and
PD4(OC1B) pins.
Bit
15141312
1110
9
8
$27 ($47)
MSB
ICR1H
$26 ($46)
LSB
ICR1L
76543
210
Read/Write
R
R
RRRRRR
RR
RRRRRR
Initial Value
00000
000
00000
000


Similar Part No. - ATMEGA163

ManufacturerPart #DatasheetDescription
logo
ATMEL Corporation
ATmega163 ATMEL-ATmega163 Datasheet
2Mb / 61P
   AVR Studio Compatible
Rev. 1925C-AVR-3/03
ATMEGA163 ATMEL-ATMEGA163_14 Datasheet
2Mb / 187P
   Nonvolatile Program and Data Memories
More results

Similar Description - ATMEGA163

ManufacturerPart #DatasheetDescription
logo
ATMEL Corporation
ATMEGA16A ATMEL-ATMEGA16A Datasheet
426Kb / 19P
   8-bit Microcontroller with 16K Bytes In-System Programmable Flash
ATMEGA165V_091 ATMEL-ATMEGA165V_091 Datasheet
342Kb / 19P
   8-bit Microcontroller with 16K Bytes In-System Programmable Flash
ATMEGA169V ATMEL-ATMEGA169V_06 Datasheet
297Kb / 26P
   8-bit Microcontroller with 16K Bytes In-System Programmable Flash
ATMEGA165P ATMEL-ATMEGA165P_08 Datasheet
363Kb / 20P
   8-bit Microcontroller with 16K Bytes In-System Programmable Flash
ATMEGA16 ATMEL-ATMEGA16_06 Datasheet
320Kb / 24P
   8-bit Microcontroller with 16K Bytes In-System Programmable Flash
ATMEGA165V ATMEL-ATMEGA165V_06 Datasheet
241Kb / 19P
   8-bit Microcontroller with 16K Bytes In-System Programmable Flash
ATMEGA162V ATMEL-ATMEGA162V_07 Datasheet
2Mb / 325P
   8-bit Microcontroller with 16K Bytes In-System Programmable Flash
ATMEGA165V_0608 ATMEL-ATMEGA165V_0608 Datasheet
3Mb / 337P
   8-bit Microcontroller with 16K Bytes In-System Programmable Flash
ATMEGA165P_0611 ATMEL-ATMEGA165P_0611 Datasheet
3Mb / 368P
   8-bit Microcontroller with 16K Bytes In-System Programmable Flash
ATMEGA169P ATMEL-ATMEGA169P_1 Datasheet
4Mb / 393P
   8-bit Microcontroller with 16K Bytes In-System Programmable Flash
ATMEGA162 ATMEL-ATMEGA162_1 Datasheet
5Mb / 324P
   8-bit Microcontroller with 16K Bytes In-System Programmable Flash
More results


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




Privacy Policy
ALLDATASHEET.COM
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Datasheet Upload   |   Contact us   |   Privacy Policy   |   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