Electronic Components Datasheet Search
  English  ▼

X  

7906 Datasheet(PDF) 118 Page - Renesas Technology Corp

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

7906 Datasheet(HTML) 118 Page - Renesas Technology Corp

Back Button 7906 Datasheet HTML 114Page - Renesas Technology Corp 7906 Datasheet HTML 115Page - Renesas Technology Corp 7906 Datasheet HTML 116Page - Renesas Technology Corp 7906 Datasheet HTML 117Page - Renesas Technology Corp 7906 Datasheet HTML 118Page - Renesas Technology Corp 7906 Datasheet HTML 119Page - Renesas Technology Corp 7906 Datasheet HTML 120Page - Renesas Technology Corp 7906 Datasheet HTML 121Page - Renesas Technology Corp 7906 Datasheet HTML 122Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 118 / 531 page
background image
TIMER A
7906 Group User’s Manual Rev.2.0
7-15
7.3 Timer mode
7.3.3 Select function
In timer Aj (j = 0 to 2, 4, 9), the gate function or pulse output function can be selected.
The following describes the gate and pulse output functions.
(1)
Gate function
The gate function is selected by setting the gate function select bits (bits 4 and 3 at addresses 5616
to 5816, 5A16, DA16) to “102” or “112.” The gate function makes it possible to start or stop counting
depending on the TAjIN pin’s input signal. Table 7.3.2 lists the count valid levels.
Figure 7.3.4 shows an example of operation with the gate function selected.
When selecting the gate function, set the port P2 and port P6 direction registers’ bits which correspond
to the TAjIN pins for the input mode. Additionally, make sure that the TAjIN pin’s input signal has a
pulse width equal to or more than two cycles of the count source.
Table 7.3.2 Count valid levels
Gate function select bits
Count valid level (Duration while counter counts)
b4
b3
1
0
While TAjIN pin’s input signal level is at “L” level
1
1
While TAjIN pin’s input signal level is at “H” level
Note: The counter does not count while the TAjIN pin’s input signal is not at the count valid level.
Fig. 7.3.4 Example of operation with gate function selected
FFFF16
n
000016
Time
➀ Starts counting.
➁ Stops counting.
Set to “1” by software.
Count start bit
TAjIN pin’s
input signal
Count valid
level
Timer Aj interrupt
request bit
Cleared to “0” when
interrupt request is
accepted or cleared
by software.
➀ The counter counts while the count start bit = “1” and the TAjIN pin’s input signal is at the count valid level.
➁ The counter stops counting while the TAjIN pin’s input signal is not at the count valid level, and the counter
value is retained.
Invalid level
n : Reload register’s contents



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