Electronic Components Datasheet Search
  English  ▼

X  

7540 Datasheet(PDF) 130 Page - Renesas Technology Corp

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

7540 Datasheet(HTML) 130 Page - Renesas Technology Corp

Back Button 7540 Datasheet HTML 126Page - Renesas Technology Corp 7540 Datasheet HTML 127Page - Renesas Technology Corp 7540 Datasheet HTML 128Page - Renesas Technology Corp 7540 Datasheet HTML 129Page - Renesas Technology Corp 7540 Datasheet HTML 130Page - Renesas Technology Corp 7540 Datasheet HTML 131Page - Renesas Technology Corp 7540 Datasheet HTML 132Page - Renesas Technology Corp 7540 Datasheet HTML 133Page - Renesas Technology Corp 7540 Datasheet HTML 134Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 130 / 366 page
background image
2-54
REJ09B0018-0200Z
Rev.2.00
Jun 21, 2004
APPLICATION
7540 Group
2.4 Timer X
Fig. 2.4.18 Setting method for event counter mode (1)
2.4.5 Event counter mode
(1) Operation description
The timer X counts signals input from the P14/CNTR0 pin.
Except for this, the operation in event counter mode is the same as in timer mode.
The active edge of CNTR0 pin input signal can be selected from rising or falling by the CNTR0 active
edge switch bit.
Timer X can stop counting by setting “1” to the timer X count stop bit.
Also, when Timer X underflows, the timer X interrupt request bit is set to “1”.
(2) Event counter mode setting method
Figure 2.4.18 and Figure 2.4.19 show the setting method for event counter mode of timer X.
b7b0
1
1
0
b7
b0
0
b7b0
0
b7b0
00
Process 1: Disable timer X interrupt and CNTR0 interrupt.
Interrupt control register 1 (ICON1) [Address 3E16]
CNTR0 interrupt disabled
Timer X interrupt disabled
Port P1 direction register (P1D) [Address 0316]
Set the P14/CNTR0 pin to the input mode
Process 2: Set the CNTR0 pin to the input mode.
Process 3: Set timer X mode register.
Timer X mode register (TXM) [Address 2B16]
Event counter mode
CNTR0 active edge switch
0: Count at rising edge
CNTR0 interrupt request occurs at falling edge
1: Count at falling edge
CNTR0 interrupt request occurs at rising edge
Timer X count stop
Note: f(XIN) can be used only when a ceramic oscillator or an on-chip oscillator is used.
Do not use f(XIN) at RC oscillation.
Process 4: Set timer count source set register.
Timer count source set register (TCSS) [Address 2E16]
Timer X count source selection bits
b1 b0
0 0 : f(XIN)/16
0 1 : f(XIN)/2
1 0 : f(XIN) (Note)
1 1 : Not available



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