Electronic Components Datasheet Search
  English  ▼

X  

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

Back Button 7906 Datasheet HTML 171Page - Renesas Technology Corp 7906 Datasheet HTML 172Page - Renesas Technology Corp 7906 Datasheet HTML 173Page - Renesas Technology Corp 7906 Datasheet HTML 174Page - Renesas Technology Corp 7906 Datasheet HTML 175Page - Renesas Technology Corp 7906 Datasheet HTML 176Page - Renesas Technology Corp 7906 Datasheet HTML 177Page - Renesas Technology Corp 7906 Datasheet HTML 178Page - Renesas Technology Corp 7906 Datasheet HTML 179Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 175 / 531 page
background image
7906 Group User’s Manual Rev.2.0
8-24
TIMER B
(2)
Timer Bi overflow flag
s When counter clear type is selected
A timer Bi interrupt request occurs when a measurement pulse’s valid edge is input or when a
counter overflow occurs. The timer Bi overflow flag is used to identify the source of the interrupt
request occurrence, that is, whether it is an overflow occurrence or a valid edge input.
The timer Bi overflow flag is set to “1” at an overflow occurrence. Accordingly, the source of the
interrupt request occurrence is identified by checking the timer Bi overflow flag in the interrupt
routine. When a value is written to the timer Bi mode register after the next count timing of the
count source with the count start bit = “1,” the timer Bi overflow flag will be cleared to “0”.
The timer Bi overflow flag is a read-only bit.
Use the timer Bi interrupt request bit to detect the overflow timing. Do not use the timer Bi overflow
flag for this detection.
s When free-run type is selected
The timer Bi overflow flag is set to “1” at an overflow occurrence. (At this time, no timer Bi interrupt
request is generated.) Accordingly, whether a counter overflow occurs between valid edges is
identified by checking the timer Bi overflow flag in the interrupt routine owing to a valid edge input.
When a value is written to the timer Bi mode register after the next count timing of the count
source with the count start bit = “1,” the timer Bi overflow flag will be cleared to “0”.
The timer Bi overflow flag is a read-only bit.
Figure 8.5.3 shows the processing example of a timer Bi interrupt when a measurement pulse’s valid
edge is detected by the timer Bi interrupt request.
8.5 Pulse period/pulse width measurement mode
Fig. 8.5.3 Processing example of timer Bi interrupt when free-run count type is selected
RTI
0
1
Timer Bi interrupt
(Note 1)
Measured value is read out.
(Note 2)
Timer Bi overflow flag ?
Timer Bi overflow flag is
cleared to “0.” (Note 3)
Processing with overflow
Processing without overflow
Notes 1: The valid edge of the measurement pulse is detected.
2: Be sure to read out the timer Bi register.
3: After the timer Bi overflow flag is set to “1”, be sure to wait for one cycle
of the count source to elapse.
Then, write a value to the timer Bi mode register.



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