| 数据搜索系统,热门电子元器件搜索 |
|
F21 数据表(PDF) 188 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
F21 数据表(HTML) 188 Page - Microchip Technology |
|
188 / 416 page ![]() PIC24FJ256GA705 FAMILY DS30010118D-page 188 2016-2018 Microchip Technology Inc. 16.4 Input Capture Mode Input Capture mode is used to capture a timer value from an independent timer base upon an event on an input pin or other internal Trigger source. The input capture features are useful in applications requiring frequency (time period) and pulse measurement. Figure 16-6 depicts a simplified block diagram of the Input Capture mode. Input Capture mode uses a dedicated 16/32-bit, synchro- nous, up counting timer for the capture function. The timer value is written to the FIFO when a capture event occurs. The internal value may be read (with a synchronization delay) using the CCPxTMRH/L registers. To use Input Capture mode, the CCSEL bit (CCPxCON1L<4>) must be set. The T32 and MOD<3:0> bits are used to select the proper Capture mode, as shown in Table 16-3. FIGURE 16-6: INPUT CAPTURE x BLOCK DIAGRAM TABLE 16-3: INPUT CAPTURE MODES MOD<3:0> (CCPxCON1L<3:0>) T32 (CCPxCON1L<5>) Operating Mode 0000 0 Edge Detect (16-bit capture) 0000 1 Edge Detect (32-bit capture) 0001 0 Every Rising (16-bit capture) 0001 1 Every Rising (32-bit capture) 0010 0 Every Falling (16-bit capture) 0010 1 Every Falling (32-bit capture) 0011 0 Every Rise/Fall (16-bit capture) 0011 1 Every Rise/Fall (32-bit capture) 0100 0 Every 4th Rising (16-bit capture) 0100 1 Every 4th Rising (32-bit capture) 0101 0 Every 16th Rising (16-bit capture) 0101 1 Every 16th Rising (32-bit capture) CCPxBUFx 4-Level FIFO Buffer MOD<3:0> Set CCPxIF OPS<3:0> Interrupt Logic System Bus Event and Trigger and Sync Logic Clock Select ICx Clock Sources Trigger and Sync Sources ICS<2:0> 16 16 16 CCPxTMRH/L Increment Reset T32 Edge Detect Logic and Clock Synchronizer |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |