Electronic Components Datasheet Search
  English  ▼

X  

7630 Datasheet(PDF) 95 Page - Renesas Technology Corp

Part # 7630
Description  8-BIT SINGLE-CHIP MICROCOMPUTER
PDF  238 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

7630 Datasheet(HTML) 95 Page - Renesas Technology Corp

Back Button 7630 Datasheet HTML 91Page - Renesas Technology Corp 7630 Datasheet HTML 92Page - Renesas Technology Corp 7630 Datasheet HTML 93Page - Renesas Technology Corp 7630 Datasheet HTML 94Page - Renesas Technology Corp 7630 Datasheet HTML 95Page - Renesas Technology Corp 7630 Datasheet HTML 96Page - Renesas Technology Corp 7630 Datasheet HTML 97Page - Renesas Technology Corp 7630 Datasheet HTML 98Page - Renesas Technology Corp 7630 Datasheet HTML 99Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 95 / 238 page
background image
APPLICATION
2.3 Timers
2-29
7630 Group User’s Manual
Control procedure : Figure 2.3.14 shows a control procedure.
Fig. 2.3.14 Control procedure [Measurement of frequency]
RESET
Initialization
SEI
TXM [Address: 001E16]
ICONB [Address: 000616], bit 2
CLI
CPUM [Address: 000016]
00000X002
111000002
1
Timer Y interrupt processing routine
CLT (Note 1)
CLD (Note 2)
Push registers to the stack area
TXH [Address: 001B16]?
Fpulse
RTI
≠ 0016
= 0016
• All interrupts : Disabled
• Timer X : Event counter mode (Count at falling edge of pulse input
from CNTR0 pin), stop counting
• Timer Y : Timer mode (
φ divided by 8 as count source), stop counting
• Interrupts : Enabled
Note 1: When using the Index X mode flag (T).
Note 2: When using the Decimal mode flag (D).
• Push the registers used in the interrupt processing routine on the stack.
• Pop registers which are pushed on the stack.
X : These bits are not used in this application.
Please set these bits to “0” or “1” appropriately.
P1D [Address: 000B16]
XXX0XX002
TXL [Address: 001A16]
FF16
TXH [Address: 001B16]
0016
TYM [Address: 001F16]
1X0001XX2
TYL [Address: 001C16]
E716
TYH [Address: 001D16]
0316
IREQB [Address: 000316], bit 2
0
TXM [Address: 001E16], bit 7
0
TYM [Address: 001F16], bit 7
0
ICONB [Address: 000616], bit 1
0
• Set the Timer Y division ratio so that the Timer Y interrupt occurs every 2 ms.
• Timer Y interrupt : Enabled
• Timer X interrupt : Enabled
• Set the Timer Y interrupt request bit to “0”.
• Timer X : Start counting
• Timer Y : Start counting
D616 < TXL [Address: 001A16] < E416?
Out of range
In range
Pop registers from the stack area
0
Fpulse
1
TXL [Address: 001A16]
FF16
TXH [Address: 001B16]
0016
Processing for a result of judgment
• When the count value is 256 or more,
the processing is performed as out of range.
• Initialize the count value
• Initialize the count value
• Compare the count value with the reference value
• Store the comparison result in flag Fpulse.
•
φ = f(XIN) divided by 2 (high-speed mode)



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