| Electronic Components Datasheet Search |
|
7702 Datasheet(PDF) 158 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
7702 Datasheet(HTML) 158 Page - Renesas Technology Corp |
|
158 / 217 page ![]() TIMER B 6–22 7702/7703 Group User’s Manual 6.5 Pulse period/pulse width measurement mode Fig. 6.5.2 Initial setting example for registers relevant to pulse period/pulse width measurement mode Count starts b7 b0 Measurement mode select bits 10 Selecting pulse period/pulse width measurement mode and each function Timer Bi mode register (i = 0 to 2) (Addresses 5B16 to 5D16) Setting count start bit to “1” b7 b0 Count start register (Address 4016) Timer B0 count start bit Timer B1 count start bit Timer B2 count start bit b3 b2 Count source select bits b7 b6 Timer Bi overflow flag (Note) 0: No overflow 1: Overflow Setting port P6 direction register b7 b0 Port P6 direction register (Address 1016) Clear the corresponding bit to “0.” TB0IN pin TB1IN pin TB2IN pin 0 0 : Pulse period measurement (Interval between falling edges of measured pulse) 0 1 : Pulse period measurement (Interval between rising edges of measured pulse) 1 0 : Pulse width measurement 1 1 : Not selected. 0 0 : f2 0 1 : f16 1 0 : f64 1 1 : f512 Note: The timer Bi overflow flag is a read-only bit. This bit is undefined after reset. This bit is cleared to "0" by writing to the timer Bi mode register with the count start bit = “1.” Setting interrupt priority level b7 b0 Timer Bi interrupt control register (i = 0 to 2) (Addresses 7A16 to 7C16) Interrupt priority level select bits When using interrupts, set these bits to level 1–7. When disabling interrupts, set these bits to level 0. Selection of pulse period/pulse width measurement mode |
|
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 |