| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
7721 bảng dữ liệu(PDF) 188 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
7721 bảng dữ liệu(HTML) 188 Page - Renesas Technology Corp |
|
188 / 577 page ![]() TIMER B 7721 Group User’s Manual 9–21 9.5 Pulse period/Pulse width measurement mode 9.5.1 Setting for pulse period/pulse width measurement mode Figure 9.5.2 shows an initial setting example for registers relevant to the pulse period/pulse width measurement mode. Note that when using interrupts, set up to enable the interrupts. For details, refer to “CHAPTER 7. INTERRUPTS.” Fig. 9.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 Bj mode register (i = 0, 1) (Addresses 5B16, 5C16) Setting count start bit to “1” b7 b0 Count start register (Address 4016) Timer B0 count start bit Timer B1 count start bit b3 b2 Count source select bits b7 b6 Timer Bj overflow flag (Note) 0: No overflow 1: Overflowed Setting port P5 direction register b7 b0 Port P5 direction register (Address D16) Clear the corresponding bit to “0.” TB0IN pin TB1IN pin 0 0 : Pulse period measurement (Interval between falling edges of measurement pulse) 0 1 : Pulse period measurement (Interval between rising edges of measurement pulse) 1 0 : Pulse width measurement 1 1 : Do not select. 0 0 : f2 0 1 : f16 1 0 : f64 1 1 : f512 Note: The timer Bj overflow flag is a read-only bit. This bit is undefined after reset. When a value is written to the timer Bj mode register with the count start bit = “1,” this bit is cleared to “0” at the next count timing of the count source. Setting interrupt priority level b7 b0 Timer Bj interrupt control register (j = 0, 1) (Addresses 7A16, 7B16) 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. Selection of pulse period/pulse width measurement mode |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |