Motore di ricerca datesheet componenti elettronici
  Italian  ▼
ALLDATASHEETIT.COM

X  

UPSD3422EB40U6 Scheda tecnica(PDF) 101 Page - STMicroelectronics

Il numero della parte UPSD3422EB40U6
Spiegazioni elettronici  Turbo Plus series Fast Turbo 8032 MCU with USB and programmable logic
PDF  300 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Produttore elettronici  STMICROELECTRONICS [STMicroelectronics]
Homepage  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UPSD3422EB40U6 Scheda tecnica(HTML) 101 Page - STMicroelectronics

Back Button UPSD3422EB40U6 Datasheet HTML 97Page - STMicroelectronics UPSD3422EB40U6 Datasheet HTML 98Page - STMicroelectronics UPSD3422EB40U6 Datasheet HTML 99Page - STMicroelectronics UPSD3422EB40U6 Datasheet HTML 100Page - STMicroelectronics UPSD3422EB40U6 Datasheet HTML 101Page - STMicroelectronics UPSD3422EB40U6 Datasheet HTML 102Page - STMicroelectronics UPSD3422EB40U6 Datasheet HTML 103Page - STMicroelectronics UPSD3422EB40U6 Datasheet HTML 104Page - STMicroelectronics UPSD3422EB40U6 Datasheet HTML 105Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 101 / 300 page
background image
Obsolete
Product(s)
- Obsolete
Product(s)
Obsolete
Product(s)
- Obsolete
Product(s)
UPSD3422, UPSD3433, UPSD3434, UPSD3454
Standard 8032 timer/counters
101/300
20.6.1
Capture mode
In Capture mode there are two options which are selected by the bit EXEN2 in T2CON.
Figure 27 on page 105 illustrates Capture mode.
If EXEN2 = 0, then Timer 2 is a 16-bit timer if C/T2 = 0, or it is a 16-bit counter if C/T2 = 1,
either of which sets the interrupt flag bit TF2 upon overflow.
If EXEN2 = 1, then Timer 2 still does the above, but with the added feature that a 1-to-0
transition at external input pin T2X causes the current value in the Timer 2 registers, TL2
and TH2, to be captured into registers RCAP2L and RCAP2H, respectively. In addition, the
transition at T2X causes interrupt flag bit EXF2 in T2CON to be set. Either flag TF2 or EXF2
will generate an interrupt and the MCU must read both flags to determine the cause. Flags
TF2 and EXF2 are not automatically cleared by hardware, so the firmware servicing the
interrupt must clear the flag(s) upon exit of the interrupt service routine.
20.6.2
Auto-reload mode
In the Auto-reload mode, there are again two options, which are selected by the bit EXEN2
in T2CON. Figure 28 on page 106 shows Auto-reload mode.
If EXEN2 = 0, then when Timer 2 counts up and rolls over from FFFFh it not only sets the
interrupt flag TF2, but also causes the Timer 2 registers to be reloaded with the 16-bit value
contained in registers RCAP2L and RCAP2H, which are preset with firmware.
If EXEN2 = 1, then Timer 2 still does the above, but with the added feature that a 1-to-0
transition at external input T2X will also trigger the 16-bit reload and set the interrupt flag
EXF2. Again, firmware servicing the interrupt must read both TF2 and EXF2 to determine
the cause, and clear the flag(s) upon exit.
Note:
The UPSD34xx does not support selectable up/down counting in Auto-reload mode (this
feature was an extension to the original 8032 architecture).
Table 60.
T2CON: Timer 2 control register (SFR C8h, reset value 00h)
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
TF2
EXF2
RCLK
TCLK
EXEN2
TR2
C/T2
CP/RL2
Table 61.
T2CON register bit definition
Bit
Symbol
R/W
Definition
7TF2
R,W
Timer 2 flag, causes interrupt if enabled.
TF2 is set by hardware upon overflow. Must be cleared by
firmware. TF2 will not be set when either RCLK or TCLK =1.
6
EXF2
R,W
Timer 2 flag, causes interrupt if enabled.
EXF2 is set when a capture or reload is caused by a negative
transition on T2X pin and EXEN2 = 1. EXF2 must be cleared
by firmware.
5
RCLK(1)
R,W
UART0 Receive Clock control.
When RCLK = 1, UART0 uses Timer 2 overflow pulses for its
receive clock in Modes 1 and 3. RCLK=0, Timer 1 overflow is
used for its receive clock
Obsolete
Product(s)
- Obsolete
Product(s)



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