| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
M16C/62M bảng dữ liệu(PDF) 355 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
M16C/62M bảng dữ liệu(HTML) 355 Page - Renesas Technology Corp |
|
355 / 615 page ![]() Timer B Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER 2-38 2.3 Timer B Usage 2.3.1 Overview of the timer B usage Timer B is a 16-bit timer. The following is an overview of the timer B usage. (1) Mode Timer B operates in one of three modes: (a) Timer mode The internal count source is counted. • Operation in timer mode .......................................................................................................... P2-42 (b) Event counter mode The number of pulses coming from outside and the number of the timer overflows are counted. • Operation in event counter mode ............................................................................................ P2-44 (c) Pulse period measurement/pulse width measurement mode External pulse period or external pulse widths are measured. If pulse period measurement mode is selected, the periods of input pulses are continuously measured. If pulse width measurement mode is selected, widths of “H” level pulses and those of “L” level pulses are continuously measured. • Operation in pulse period measurement mode ....................................................................... P2-46 • Operation in pulse width measurement mode ......................................................................... P2-48 (2) Count source An internal count source can be selected from f1, f8, f32, and fC32. f1, f8, and f32 are clocks obtained by dividing the CPU main clock by 1, 8, and 32 respectively. fC32 is the clock obtained by dividing the CPU secondary clock by 32. (3) Count value The count value equals [the value set in the timer register + 1]. The counter underflows when a count source equal to a count value is input, and an interrupt request occurs. (4) Reading the timer In timer mode or event counter mode, the count value at the time of reading the timer register will be read. Read the register in 16-bit increments. In both the pulse period measurement mode and pulse width measurement mode, an indeterminate value is read until the second effective edge is input after a count is started, otherwise, the measurement results are read. (5) Writing to the timer When writing to the timer register while a count is in progress, the value is written only to the reload register. When writing to the timer register while a count has stopped, the value is written both to the reload register and the count. Write the value in 16-bit increments. The timer register cannot be written to in either the pulse period measurement mode or the 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 |