PIC32MX675F256L IC2 registers

The 2 registers of IC2 (Input capture 2), from 0xBF802200, with their reset value and every field. The PIC32MX675F256L has 427 registers in 65 peripherals, one page each.

Most PIC32 SFRs have three more registers right after them: CLR at +4, SET at +8 and INV at +C (T1CONCLR, T1CONSET, T1CONINV), which clear, set or flip just the bits written as 1, in one write.

IC2 Input capture 2

IC2CONInput Capture 1 Control Register

Address
0xBF802200
Reset
0x00000000
Access
read/write
Size
32-bit
9 fields
FieldBitsWhat it does
ON15Input Capture Module Enable bit
  • 0 Disable and reset module, disable clocks, disable interrupt generation and allow SFR modifications
  • 1 Module is enabled
SIDL13Stop in Idle Control bit
  • 0 Continue to operate in Idle mode
  • 1 Halt in Idle mode
FEDGE9First Capture Edge Select bit
  • 0 Capture falling edge first
  • 1 Capture rising edge first
C32832-bit Capture Select bit
  • 0 16-bit timer resource capture
  • 1 32-bit timer resource capture
ICTMR7Timer Select bit
  • 0 Timer3 is the counter source for capture
  • 1 Timer2 is the counter source for capture
ICI6:5Interrupt Control bits
  • 0 Interrupt on every capture event
  • 1 Interrupt on every second capture event
  • 2 Interrupt on every third capture event
  • 3 Interrupt on every fourth capture event
ICOV4Input Capture Overflow Status Flag bit (read-only)
  • 0 No input capture overflow has occurred
  • 1 Input capture overflow has occurred
ICBNE3Input Capture Buffer Not Empty Status bit (read-only)
  • 0 Input capture buffer is empty
  • 1 Input capture buffer is not empty; at least one more capture value can be read
ICM2:0Input Capture Mode Select bits
  • 0 Input Capture module is disabled
  • 1 Edge Detect mode every edge (rising and falling)
  • 2 Simple Capture Event mode every falling edge
  • 3 Simple Capture Event mode every rising edge
  • 4 Prescaled Capture Event mode every fourth rising edge
  • 5 Prescaled Capture Event mode every sixteenth rising edge
  • 6 Simple Capture Event mode every edge, specified edge first and every edge thereafter
  • 7 Interrupt-Only mode (only supported while in Sleep mode or Idle mode)

IC2BUF

Address
0xBF802210
Reset
0x00000000
Access
read only
Size
32-bit