Electronic Components Datasheet Search
  English  ▼

X  

7540 Datasheet(PDF) 106 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) 106 Page - Renesas Technology Corp

Back Button 7540 Datasheet HTML 102Page - Renesas Technology Corp 7540 Datasheet HTML 103Page - Renesas Technology Corp 7540 Datasheet HTML 104Page - Renesas Technology Corp 7540 Datasheet HTML 105Page - Renesas Technology Corp 7540 Datasheet HTML 106Page - Renesas Technology Corp 7540 Datasheet HTML 107Page - Renesas Technology Corp 7540 Datasheet HTML 108Page - Renesas Technology Corp 7540 Datasheet HTML 109Page - Renesas Technology Corp 7540 Datasheet HTML 110Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 106 / 366 page
background image
2-30
REJ09B0018-0200Z
Rev.2.00
Jun 21, 2004
APPLICATION
7540 Group
2.2 Timer A
Fig. 2.2.21 Setting method for pulse width HL continuously measurement mode (1)
2.2.6 Pulse width HL continuously measurement mode
(1) Operation description
In the pulse width HL continuously measurement mode, the pulse width (“H” and “L” levels) input to
the P00/CNTR1 pin is measured.
CNTR1 interrupt request is generated at both rising and falling edges of CNTR1 pin input signal.
Except for this, the operation in pulse width HL continuously measurement mode is the same as in
period measurement mode.
The count value when trigger input from the CNTR1 pin is accepted is retained until Timer A is read once.
Timer A can stop counting by setting “1” to the timer A count stop bit.
Also, when Timer A underflows, the timer A interrupt request bit is set to “1”.
(2) Pulse width HL continuously measurement mode setting method
Figure 2.2.21 and Figure 2.2.22 show the setting method for pulse width HL continuously measurement
mode of timer A.
b7b0
0
b7b0
11 1
b7b0
b7b0
0
b7b0
0
Process 1: Disable timer A interrupt and CNTR1 interrupt.
Interrupt control register 1 (ICON1) [Address 3E16]
CNTR1 interrupt disabled
Port P0 direction register (P0D) [Address 0116]
Set the P00/CNTR1 pin to the input mode
Process 2: Set the CNTR1 pin to the input mode.
Interrupt control register 2 (ICON2) [Address 3F16]
Timer A interrupt disabled
Process 3: Set the pull-up control register.
Pull-up control register (PULL) [Address 1616]
P00/CNTR1 pull-up control bit
0: Pull-up Off
1: Pull-up On
Process 4: Set timer A mode register.
Timer A mode register (TAM) [Address 1D16]
Pulse width HL continuously measurement mode
Timer A count stop
Process 5: Set the count value to timer A (Note).
• Set the initial value to timer A (low-order)
Timer A (low-order) (TAL) (Address 1E16)
Initial value
Timer A (high-order) (TAH) (Address 1F16)
Note: Write both registers in order of timer X (low-order) and the timer X (high-order) following, certainly.
Initial value
• Set the initial value to timer A (high-order)



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