Electronic Components Datasheet Search
  English  ▼

X  

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

Back Button 7906 Datasheet HTML 112Page - Renesas Technology Corp 7906 Datasheet HTML 113Page - Renesas Technology Corp 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 116 / 531 page
background image
TIMER A
7906 Group User’s Manual Rev.2.0
7-13
7.3.1 Setting for timer mode
Figure 7.3.2 shows an initial setting example for registers related to the timer mode.
Note that when using interrupts, set up to enable the interrupts. For details, refer to section “CHAPTER
6. INTERRUPTS.”
7.3 Timer mode
Fig. 7.3.2 Initial setting example for registers relevant to timer mode
Note: Counter divides the count source frequency by (n + 1).
b7
b0
Pulse output function select bit (Note)
0 : No pulse output
1 : Pulses output
00
Selecting timer mode and each function
Timer Ai mode register (i = 0 to 4) (Addresses 5616 to 5A16)
(i = 5 to 9) (Addresses D616 to DA16)
1 0 : Gate function (Counter counts only while TAjIN pin’s input signal level is “L.”)
1 1 : Gate function (Counter counts only while TAjIN pin’s input signal level is “H.”)
b4 b3
Selection of timer mode
Setting division ratio
b7
b0
Can be set to “000016” to “FFFF16” (n).
(b15)
(b8)
b7
b0
Timer A0 register (Addresses 4716, 4616)
Timer A1 register (Addresses 4916, 4816)
Timer A2 register (Addresses 4B16, 4A16)
Timer A3 register (Addresses 4D16, 4C16)
Timer A4 register (Addresses 4F16, 4E16)
Timer A5 register (Addresses C716, C616)
Timer A6 register (Addresses C916, C816)
Timer A7 register (Addresses CB16, CA16)
Timer A8 register (Addresses CD16, CC16)
Timer A9 register (Addresses CF16, CE16)
Gate function select bits (Note)
Count source select bits
See Table 7.2.3.
No Gate function
0
Count starts.
Setting count start bit to “1.”
b7
b0
Count start register 0 (Address 4016)
Timer A0 count start bit
Timer A1 count start bit
Timer A2 count start bit
Timer A3 count start bit
Timer A4 count start bit
Setting interrupt priority level
b7
b0
Timer Ai interrupt control register
(i = 0 to 4) (Addresses 7516 to 7916)
(i = 5 to 9) (Addresses F516 to F916)
Interrupt priority level select bits
When using interrupts, set these bits to one of
levels 1 to 7.
When disabling interrupts, set these bits to
level 0.
Setting port P6 and port P2 direction registers
b7
b0
Port P6 direction register (Address 1016)
Pin TA0IN
Pin TA1IN
When gate function is selected, clear the bit corresponding to the TAjIN
pin to “0.”
Note: In timers A3, A5 to A8, do not set the above registers.
b7
b0
Port P2 direction register (Address 816)
Pin TA4IN
Pin TA2IN
Pin TA9IN
Note: Valid only in timer Aj (j = 0 to 2, 4, 9).
Invalid in timer Ak (k = 3, 5 to 8); therefore, fix each of these bits to “0.”
b7
b0
Count start register 1 (Address 4116)
Timer A5 count start bit
Timer A6 count start bit
Timer A7 count start bit
Timer A8 count start bit
Timer A9 count start bit
0 0 :
0 1 :



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