Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

T83C5121XXX-ICSIL Datasheet(PDF) 77 Page - ATMEL Corporation

Part # T83C5121XXX-ICSIL
Description  8-bit Microcontroller with Multiprotocol Smart Card Interface
PDF  115 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

T83C5121XXX-ICSIL Datasheet(HTML) 77 Page - ATMEL Corporation

Back Button T83C5121XXX-ICSIL Datasheet HTML 73Page - ATMEL Corporation T83C5121XXX-ICSIL Datasheet HTML 74Page - ATMEL Corporation T83C5121XXX-ICSIL Datasheet HTML 75Page - ATMEL Corporation T83C5121XXX-ICSIL Datasheet HTML 76Page - ATMEL Corporation T83C5121XXX-ICSIL Datasheet HTML 77Page - ATMEL Corporation T83C5121XXX-ICSIL Datasheet HTML 78Page - ATMEL Corporation T83C5121XXX-ICSIL Datasheet HTML 79Page - ATMEL Corporation T83C5121XXX-ICSIL Datasheet HTML 80Page - ATMEL Corporation T83C5121XXX-ICSIL Datasheet HTML 81Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 77 / 115 page
background image
77
A/T8xC5121
4164G–SCR–07/06
Timer 1
Timer 1 is identical to Timer 0 except for Mode 3 which is a hold-count mode. The fol-
lowing comments help to understand the differences:
•
Timer 1 functions as either a Timer 0 or an event Counter in the three operating
modes. Figure 28 through Figure 30 show the logical configuration for modes 0, 1,
and 2. Mode 3 of Timer 1 is a hold-count mode.
•
Timer 1 is controlled by the four high-order bits of the TMOD register (see Figure 56)
and bits 2, 3, 6 and 7 of the TCON register (see Figure 55). The TMOD register
selects the method of Timer 0 gating (GATE1), Timer 0 or Counter operation
(C/T1#) and the operating mode (M11 and M01). The TCON register provides Timer
1 control functions: overflow flag (TF1), run control bit (TR1), interrupt flag (IE1) and
the interrupt type control bit (IT1).
•
Timer 1 can serve as the Baud Rate Generator for the Serial Port. Mode 2 is best
suited for this purpose.
•
For normal Timer 0 operation (GATE1 = 0), setting TR1 allows TL1 to be
incremented by the selected input. Setting GATE1 and TR1 allows external pin INT1
to control Timer 0 operation.
•
Timer 1 overflow (count rolls over from all 1s to all 0s) sets the TF1 flag and
generates an interrupt request.
•
When Timer 0 is in mode 3, it uses Timer 1’s overflow flag (TF1) and run control bit
(TR1). For this situation, use Timer 1 only for applications that do not require an
interrupt (such as a Baud Rate Generator for the Serial Port) and switch Timer 1 in
and out of mode 3 to turn it off and on.
•
It is important to stop the Timer 0/Counter before changing modes.
Mode 0 (13-bit Timer 0)
Mode 0 configures Timer 1 as a 13-bit Timer 0, which is set up as an 8-bit Timer 0 (TH1
register) with a modulo-32 prescaler implemented with the lower 5 bits of the TL1 regis-
ter (see Figure 28). The upper 3 bits of TL1 register are ignored. Prescaler overflow
increments the TH1 register.
Mode 1 (16-bit Timer 0)
Mode 1 configures Timer 1 as a 16-bit Timer 0 with TH1 and TL1 registers connected in
cascade (see Figure 29). The selected input increments the TL1 register.
Mode 2 (8-bit Timer 0 with
Auto-Reload)
Mode 2 configures Timer 1 as an 8-bit Timer 0 (TL1 register) with automatic reload from
the TH1 register on overflow (see Figure 30). TL1 overflow sets the TF1 flag in the
TCON register and reloads TL1 with the contents of TH1, which is preset by the soft-
ware. The reload leaves TH1 unchanged.
Mode 3 (Halt)
Placing Timer 1 in mode 3 causes it to halt and hold its count. This can be used to halt
Timer 1 when the TR1 run control bit is not available i.e., when Timer 0 is in mode 3.



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