Electronic Components Datasheet Search
  English  ▼

Delete All
ON OFF
ALLDATASHEET.COM

X  

Preview PDF Download HTML

AT90S4433 Datasheet(PDF) 41 Page - ATMEL Corporation

Part No. AT90S4433
Description  8-Bit AVR Microcontroller with 4K Bytes of In-System Programmable Flash
Download  126 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

AT90S4433 Datasheet(HTML) 41 Page - ATMEL Corporation

Back Button AT90S4433 Datasheet HTML 37Page - ATMEL Corporation AT90S4433 Datasheet HTML 38Page - ATMEL Corporation AT90S4433 Datasheet HTML 39Page - ATMEL Corporation AT90S4433 Datasheet HTML 40Page - ATMEL Corporation AT90S4433 Datasheet HTML 41Page - ATMEL Corporation AT90S4433 Datasheet HTML 42Page - ATMEL Corporation AT90S4433 Datasheet HTML 43Page - ATMEL Corporation AT90S4433 Datasheet HTML 44Page - ATMEL Corporation AT90S4433 Datasheet HTML 45Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 41 / 126 page
background image
41
AT90S/LS4433
1042H–AVR–04/03
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 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 and OCR1. If the main pro-
gram and interrupt routines perform access to registers using TEMP, interrupts must be
disabled during access from the main program.
Timer/Counter1 in PWM Mode
When the PWM mode is selected, Timer/Counter1 and the Output Compare Register1
(OCR1) form a 8-, 9-, or 10-bit, free-running, glitch-free, phase correct PWM with output
on the PB1(OC1) pin. Timer/Counter1 acts as an up/down counter, counting up from
$0000 to TOP (see Table 13), 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 of OCR1, the PB1(OC1) pin is set or cleared according to the settings of
the COM11 and COM10 bits in the Timer/Counter1 Control Register (TCCR1). Refer to
Table 14 for details.
Note:
1. If the Compare Register contains the TOP value and the prescaler is not in use
(CS12..CS10 = 001), the PWM output will not produce any pulse at all, because the
up-counting and down-counting values are reached simultaneously. When the pres-
caler is in use (CS12..CS10
≠ 001 or 000), the PWM output goes active when the
counter reaches the TOP value, but the down-counting compare match is not inter-
preted to be reached before the next time the counter reaches the TOP value,
making a one-period PWM pulse.
Bit
15141312
11
10
9
8
$27 ($47)
MSB
ICR1H
$26 ($46)
LSB
ICR1L
76
543
210
Read/Write
RR
RR
RRR
R
RR
RR
RRR
R
Initial Value
0
0
0
0
0
0
0
0
00
000
000
Table 13. Timer TOP Values and PWM Frequency(1)
PWM Resolution
Timer TOP Value
Frequency
8-bit
$00FF (255)
fTCK1/510
9-bit
$01FF (511)
fTCK1/1022
10-bit
$03FF(1023)
f
TCK1/2046


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