| Electronic Components Datasheet Search |
|
7702 Datasheet(PDF) 161 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
7702 Datasheet(HTML) 161 Page - Renesas Technology Corp |
|
161 / 217 page ![]() TIMER B 7702/7703 Group User’s Manual 6–25 6.5 Pulse period/pulse width measurement mode (2) Timer Bi overflow flag The timer Bi interrupt request occurs when the measurement pulse’s valid edge is input or the counter overflows. The timer Bi overflow flag is used to identify the cause of the interrupt request, that is, whether it is an overflow occurrence or an effective edge input. The timer Bi overflow flag is set to “1” by an overflow. Accordingly, the cause 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 with the count start bit = “1,” the timer Bi overflow flag is cleared to “0” at the next count timing of the count source 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 to do that. Figure 6.5.3 shows the operation during pulse period measurement. Figure 6.5.4 shows the operation during pulse width measurement. Fig. 6.5.3 Operation during pulse period measurement Count source Measurement pulse Timing at which counter is cleared to “000016” “1” “H” “1” Note: The above applies when measurement is performed for an interval from one falling to the next falling of the measurement pulse. Reload register counter Transfer timing “L” “0” “0” Count start bit “1” “0” Counter is initialized by completion of measurement. Counter overflow. Cleared to “0” when interrupt request is accepted or cleared by software. Timer Bi interrupt request bit Timer Bi overflow flag Transferred (undefined value) Transferred (measured value) |
|
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 |
| 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 |