Motore di ricerca datesheet componenti elettronici
  Italian  ▼
ALLDATASHEETIT.COM

X  

AT43USB355 Scheda tecnica(PDF) 49 Page - ATMEL Corporation

Il numero della parte AT43USB355
Spiegazioni elettronici  Full-speed USB Microcontroller with Embedded Hub, ADC and PWM
PDF  115 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Produttore elettronici  ATMEL [ATMEL Corporation]
Homepage  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

AT43USB355 Scheda tecnica(HTML) 49 Page - ATMEL Corporation

Back Button AT43USB355 Datasheet HTML 45Page - ATMEL Corporation AT43USB355 Datasheet HTML 46Page - ATMEL Corporation AT43USB355 Datasheet HTML 47Page - ATMEL Corporation AT43USB355 Datasheet HTML 48Page - ATMEL Corporation AT43USB355 Datasheet HTML 49Page - ATMEL Corporation AT43USB355 Datasheet HTML 50Page - ATMEL Corporation AT43USB355 Datasheet HTML 51Page - ATMEL Corporation AT43USB355 Datasheet HTML 52Page - ATMEL Corporation AT43USB355 Datasheet HTML 53Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 49 / 115 page
background image
49
AT43USB355
2603G–USB–04/06
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 sig-
nal 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 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 pro-
gram and also interrupt routines perform access to registers using TEMP, interrupts must be
disabled during access from the main program and from interrupt routines, if interrupts are
allowed from within interrupt routines.
Timer/Counter1 In
PWM Mode
When the PWM mode is selected, Timer/Counter1, the Output Compare Register1A (OCR1A)
and the Output Compare Register1B (OCR1B) form a dual 8-, 9- or 10-bit, free-running, glitch-
fr ee and phase correct PWM with outputs on the PD5 (O C1A) and OC1B pins.
Timer/Counter1 acts as an up/down counter, counting up from $0000 to TOP (see Table 15),
where it turns and counts down again to zero before the cycle is repeated. When the counter
value matches the contents of the 10 least significant bits of OCR1A or OCR1B, the
PD5(OC1A)/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 16
for details.
Bit
15
14
131211
10
9
8
$25 ($45)
MSB
ICR1H
$24 ($44)
––
LSB
ICR1L
76
5
4
3
2
1
0
Read/Write
R
R
R
R
R
R
R
R
RR
R
R
R
R
R
R
Initial Value
0
0
0
0
0
0
0
0
00
0
0
0
0
0
0
Table 15. Timer TOP Values and PWM Frequency
PWM Resolution
Timer TOP value
Frequency
8-bit
$00FF (255)
f
TCK1/510
9-bit
$01FF (511)
f
TCK1/1022
10-bit
$03FF(1023)
fTCK1/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


Scheda tecnica Scarica

Go To PDF Page


Link URL



Lei ha avuto il aiuto da alldatasheet?  [ DONATE ] 

Di alldatasheet   |   Richest di pubblicita   |   contatti   |   Privacy Policy   |   Collegamento alla scheda tecnica    |   scambio Link   |   Ricerca produttore
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