| Electronic Components Datasheet Search |
|
MCP19124 Datasheet(PDF) 147 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
MCP19124 Datasheet(HTML) 147 Page - Microchip Technology |
|
147 / 236 page ![]() 2016 Microchip Technology Inc. DS20005619A-page 147 MCP19124/5 24.3 Dual Capture/Compare Register The Dual Capture/Compare Module is a new module based on the standard CCP. It has no PWM function. REGISTER 24-1: CCDCON: DUAL CAPTURE/COMPARE CONTROL MODULE R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 CC2M3 CC2M2 CC2M1 CC2M0 CC1M3 CC1M2 CC1M1 CC1M0 bit 7 bit 0 Legend: R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’ u = Bit is unchanged x = Bit is unknown -n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared bit 7-4 CC2M<3:0>: CC Register Set 2 Mode Select bits 00xx = Capture/Compare off (resets the module) 0100 = Capture mode, every falling edge 0101 = Capture mode, every rising edge 0110 = Capture mode, every 4th rising edge 0111 = Capture mode, every 16th rising edge 1000 = Compare mode, set output on match (CC2IF bit is set) 1001 = Compare mode, clear output on match (CC2IF bit is set) 1010 = Compare mode, toggle output on match (CC2IF bit is set) 1011 = Reserved 11xx = Compare mode, generate software interrupt on match (CC2IF bit is set, CMP2 pin is unaffected and configured as an I/O) 1111 = Compare mode, trigger special event (CC2IF bit is set; CC2 does not reset TMR1 (1) and starts an A/D conversion, if the A/D module is enabled. CMP2 pin is unaffected and configured as an I/O port). bit 3-0 CC1M<3:0>: CC Register Set 1 Mode Select bits 00xx = Capture/Compare off (resets the module) 0100 = Capture mode, every falling edge 0101 = Capture mode, every rising edge 0110 = Capture mode, every 4th rising edge 0111 = Capture mode, every 16th rising edge 1000 = Compare mode, set output on match (CC1IF bit is set) 1001 = Compare mode, clear output on match (CC1IF bit is set) 1010 = Compare mode, toggle output on match (CC1IF bit is set) 1011 = Reserved 11xx = Compare mode, generate software interrupt on match (CC1IF bit is set, CMP1 pin is unaffected and configured as an I/O) 1111 = Compare mode, trigger special event (CC1IF bit is set; CC1 resets TMR1 and starts an A/D conversion, if the A/D module is enabled. CMP1 pin is unaffected and configured as an I/O port). Note 1: When the Compare interrupt is set, a PIC will typically reset TMR1. This module does NOT reset TMR1. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |