| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
PIC18F4331 bảng dữ liệu(PDF) 147 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC18F4331 bảng dữ liệu(HTML) 147 Page - Microchip Technology |
|
147 / 396 page ![]() 2003 Microchip Technology Inc. Preliminary DS39616B-page 145 PIC18F2331/2431/4331/4431 14.0 TIMER5 MODULE The Timer5 module implements these features: • 16-bit timer/counter operation • Synchronous and asynchronous counter modes • Continuous and Single-Shot operating modes • Four programmable prescaler values (1:1 to 1:8) • Interrupt generated on period match • Special event trigger Reset function • Double-buffered registers • Operation during Sleep • CPU wake-up from Sleep • Selectable hardware Reset input with a wake-up feature Timer5 is a general-purpose timer/counter that incorpo- rates additional features for use with the Motion Feed- back module (see Section 16.0 “Motion Feedback Module”). It may also be used as a general-purpose timer or a special event trigger delay timer. When used as a general-purpose timer, it can be configured to gen- erate a delayed special event trigger (e.g., an ADC special event trigger) using a pre-programmed period delay. Timer5 is controlled through the Timer5 Control Regis- ter (T5CON), shown in Register 14-1. The timer can be enabled or disabled by setting or clearing the control bit TMR5ON (T5CON<0>). A block diagram of Timer5 is shown in Figure 14-1. REGISTER 14-1: T5CON: TIMER5 CONTROL REGISTER R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 T5SEN RESEN T5MOD T5PS1 T5PS0 T5SYNC TMR5CS TMR5ON bit 7 bit 0 bit 7 T5SEN: Timer5 Sleep Enable bit(1) 1 = Timer5 enabled during Sleep 0 = Timer5 disabled during Sleep bit 6 RESEN: Special Event Reset Enable bit 1 = Special Event Reset disabled 0 = Special Event Reset enabled bit 5 T5MOD: Timer5 Mode bit 1 = Single-Shot mode enabled 0 = Continuous Count mode enabled bit 4:3 T5PS1:T5PS0: Timer5 Input Clock Prescale Select bits 11 =1:8 10 =1:4 01 =1:2 00 =1:1 bit 2 T5SYNC: Timer5 External Clock Input Synchronization Select bit When TMR5CS = 1: 1 = Do not synchronize external clock input 0 = Synchronize external clock input When TMR5CS = 0: This bit is ignored. Timer5 uses the internal clock when TMR5CS = 0 bit 1 TMR5CS: Timer5 Clock Source Select bit 1 = External clock from pin T5CKI 0 = Internal clock (TCY) bit 0 TMR5ON: Timer5 On bit 1 = Timer5 enabled 0 = Timer5 disabled Note 1: For Timer5 to operate during Sleep mode, T5SYNC must be set. Legend: R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’ - n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown |
|
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 |