| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
3819 bảng dữ liệu(PDF) 92 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
3819 bảng dữ liệu(HTML) 92 Page - Renesas Technology Corp |
|
92 / 218 page ![]() 78 3819 Group USER’S MANUAL 2. APPLICATION MITSUBISHI MICROCOMPUTER 3819 Group 2.2 Timer (2) Timer application example 1: Clock function (measurement of one second) Outline : The input clock is divided by a timer so that the clock counts up every second. Specifications : • The clock f(XIN) = 4.19 MHz (2 ) is divided by a timer. • The Timer 3 interrupt request bit is checked in the main routine, and the clock is counted up when an interrupt request occurs. • Another interrupt processing is executed in a parallel, so a timer interrupt occurs every 244 µs. Figure 2.2.11 shows a connection of timers and a setting of division ratios, Figures 2.2.12 and 2.2.13 show a setting of related registers, and Figure 2.2.14 shows a control procedure. Fig. 2.2.11 Connection of timers and setting of division ratios [Clock function] Fig. 2.2.12 Setting of related registers (1) [Clock function] 22 000 00 1 Timer 1 count : Stopped Set to "0" at starting to count Timer 2 count : Operating Timer 1 count source : f(X IN)/16 Timer 2 count source : Timer 1 underflow Timer 1 output selection : I/O port T12M Timer 12 mode register (Address:28 16) 01 0 Timer 3 count source : Timer 2 underflow Timer 3 output selection : I/O port Timer 3 count : Operating T34M Timer 34 mode register (Address:29 16) Timer 3 interrupt request bit 1/16 0 or 1 1/256 1/16 f(XIN) = 4.19 MHz Fixed Timer 1 Timer 2 Timer 3 1 second 244 µs Timer 1 interrupt request bit 1/64 0 or 1 0 : No interrupt request 1 : Interrupt request |
|
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 |