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

X  

UPSD3354D Datasheet(PDF) 100 Page - STMicroelectronics

Part # UPSD3354D
Description  fast 8032 MCU with programmable logic
PDF  272 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UPSD3354D Datasheet(HTML) 100 Page - STMicroelectronics

Back Button UPSD3354D Datasheet HTML 96Page - STMicroelectronics UPSD3354D Datasheet HTML 97Page - STMicroelectronics UPSD3354D Datasheet HTML 98Page - STMicroelectronics UPSD3354D Datasheet HTML 99Page - STMicroelectronics UPSD3354D Datasheet HTML 100Page - STMicroelectronics UPSD3354D Datasheet HTML 101Page - STMicroelectronics UPSD3354D Datasheet HTML 102Page - STMicroelectronics UPSD3354D Datasheet HTML 103Page - STMicroelectronics UPSD3354D Datasheet HTML 104Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 100 / 272 page
background image
Obsolete
Product(s)
- Obsolete
Product(s)
Obsolete
Product(s)
- Obsolete
Product(s)
Standard 8032 timer/counters
UPSD33xx
100/272
Doc ID 9685 Rev 7
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 25 on page 104 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 UPSD33xx does not support selectable up/down counting in Auto-reload mode (this
feature was an extension to the original 8032 architecture).
Table 58.
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 59.
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.
6EXF2
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
4TCLK(1)
R,W
UART0 Transmit Clock control.
When TCLK = 1, UART0 uses Timer 2 overflow pulses for its transmit
clock in modes 1 and 3. TCLK=0, Timer 1 overflow is used for transmit
clock
3
EXEN2
R,W
Timer 2 External Enable.
When EXEN2 = 1, capture or reload results when negative edge on
pin T2X occurs. EXEN2 = 0 causes Timer 2 to ignore events at pin
T2X.
2TR2
R,W
Timer 2 run control.
1 = Timer/Counter 2 is on, 0 = Timer Counter 2 is off.



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