PIC32CM1216LE00032 EIC registers

The 13 registers of EIC (External Interrupt Controller), from 0x40002800, with their reset value and every field. The PIC32CM1216LE00032 has 1252 registers in 40 peripherals, one page each.

EIC External Interrupt Controller

CTRLAControl A

Address
0x40002800
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4CKSEL
  5. 3–
  6. 2–
  7. 1ENABLE
  8. 0SWRST
3 fields
FieldBitsWhat it does
CKSEL4Clock Selection
  • 0 Clocked by GCLK
  • 1 Clocked by ULP32K
ENABLE1Enable
SWRST0Software Reset

NMICTRLNon-Maskable Interrupt Control

Address
0x40002801
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4NMIASYNCH
  5. 3NMIFILTEN
  6. 2NMISENSE2
  7. 1NMISENSE1
  8. 0NMISENSE0
3 fields
FieldBitsWhat it does
NMIASYNCH4Asynchronous Edge Detection Mode
  • 0 Edge detection is clock synchronously operated
  • 1 Edge detection is clock asynchronously operated
NMIFILTEN3Non-Maskable Interrupt Filter Enable
NMISENSE2:0Non-Maskable Interrupt Sense Configuration
  • 0 No detection
  • 1 Rising-edge detection
  • 2 Falling-edge detection
  • 3 Both-edges detection
  • 4 High-level detection
  • 5 Low-level detection

NMIFLAGNon-Maskable Interrupt Flag Status and Clear

Address
0x40002802
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0NMI
1 field
FieldBitsWhat it does
NMI0Non-Maskable Interrupt

SYNCBUSYSynchronization Busy

Address
0x40002804
Reset
0x00000000
Access
read only
Size
32-bit
2 fields
FieldBitsWhat it does
ENABLE1Enable Synchronization Busy Status
SWRST0Software Reset Synchronization Busy Status

EVCTRLEvent Control

Address
0x40002808
Reset
0x00000000
Access
read/write
Size
32-bit
8 fields
FieldBitsWhat it does
EXTINTEO77External Interrupt 7 Event Output Enable
EXTINTEO66External Interrupt 6 Event Output Enable
EXTINTEO55External Interrupt 5 Event Output Enable
EXTINTEO44External Interrupt 4 Event Output Enable
EXTINTEO33External Interrupt 3 Event Output Enable
EXTINTEO22External Interrupt 2 Event Output Enable
EXTINTEO11External Interrupt 1 Event Output Enable
EXTINTEO00External Interrupt 0 Event Output Enable

INTENCLRInterrupt Enable Clear

Address
0x4000280C
Reset
0x00000000
Access
read/write
Size
32-bit
8 fields
FieldBitsWhat it does
EXTINT77External Interrupt 7 Enable
EXTINT66External Interrupt 6 Enable
EXTINT55External Interrupt 5 Enable
EXTINT44External Interrupt 4 Enable
EXTINT33External Interrupt 3 Enable
EXTINT22External Interrupt 2 Enable
EXTINT11External Interrupt 1 Enable
EXTINT00External Interrupt 0 Enable

INTENSETInterrupt Enable Set

Address
0x40002810
Reset
0x00000000
Access
read/write
Size
32-bit
8 fields
FieldBitsWhat it does
EXTINT77External Interrupt 7 Enable
EXTINT66External Interrupt 6 Enable
EXTINT55External Interrupt 5 Enable
EXTINT44External Interrupt 4 Enable
EXTINT33External Interrupt 3 Enable
EXTINT22External Interrupt 2 Enable
EXTINT11External Interrupt 1 Enable
EXTINT00External Interrupt 0 Enable

INTFLAGInterrupt Flag Status and Clear

Address
0x40002814
Reset
0x00000000
Access
read/write
Size
32-bit
8 fields
FieldBitsWhat it does
EXTINT77External Interrupt 7
EXTINT66External Interrupt 6
EXTINT55External Interrupt 5
EXTINT44External Interrupt 4
EXTINT33External Interrupt 3
EXTINT22External Interrupt 2
EXTINT11External Interrupt 1
EXTINT00External Interrupt 0

ASYNCHExternal Interrupt Asynchronous Mode

Address
0x40002818
Reset
0x00000000
Access
read/write
Size
32-bit
8 fields
FieldBitsWhat it does
ASYNCH77Asynchronous Edge Detection Mode of EXTINT7
  • 0 Edge detection is clock synchronously operated
  • 1 Edge detection is clock asynchronously operated
ASYNCH66Asynchronous Edge Detection Mode of EXTINT6
  • 0 Edge detection is clock synchronously operated
  • 1 Edge detection is clock asynchronously operated
ASYNCH55Asynchronous Edge Detection Mode of EXTINT5
  • 0 Edge detection is clock synchronously operated
  • 1 Edge detection is clock asynchronously operated
ASYNCH44Asynchronous Edge Detection Mode of EXTINT4
  • 0 Edge detection is clock synchronously operated
  • 1 Edge detection is clock asynchronously operated
ASYNCH33Asynchronous Edge Detection Mode of EXTINT3
  • 0 Edge detection is clock synchronously operated
  • 1 Edge detection is clock asynchronously operated
ASYNCH22Asynchronous Edge Detection Mode of EXTINT2
  • 0 Edge detection is clock synchronously operated
  • 1 Edge detection is clock asynchronously operated
ASYNCH11Asynchronous Edge Detection Mode of EXTINT1
  • 0 Edge detection is clock synchronously operated
  • 1 Edge detection is clock asynchronously operated
ASYNCH00Asynchronous Edge Detection Mode of EXTINT0
  • 0 Edge detection is clock synchronously operated
  • 1 Edge detection is clock asynchronously operated

CONFIG0External Interrupt Sense Configuration

Address
0x4000281C
Reset
0x00000000
Access
read/write
Size
32-bit
16 fields
FieldBitsWhat it does
SENSE730:28Input Sense Configuration 7
  • 0 No detection
  • 1 Rising edge detection
  • 2 Falling edge detection
  • 3 Both edges detection
  • 4 High level detection
  • 5 Low level detection
FILTEN627Filter Enable 6
SENSE626:24Input Sense Configuration 6
  • 0 No detection
  • 1 Rising edge detection
  • 2 Falling edge detection
  • 3 Both edges detection
  • 4 High level detection
  • 5 Low level detection
FILTEN523Filter Enable 5
SENSE522:20Input Sense Configuration 5
  • 0 No detection
  • 1 Rising edge detection
  • 2 Falling edge detection
  • 3 Both edges detection
  • 4 High level detection
  • 5 Low level detection
FILTEN419Filter Enable 4
SENSE418:16Input Sense Configuration 4
  • 0 No detection
  • 1 Rising edge detection
  • 2 Falling edge detection
  • 3 Both edges detection
  • 4 High level detection
  • 5 Low level detection
FILTEN315Filter Enable 3
SENSE314:12Input Sense Configuration 3
  • 0 No detection
  • 1 Rising edge detection
  • 2 Falling edge detection
  • 3 Both edges detection
  • 4 High level detection
  • 5 Low level detection
FILTEN211Filter Enable 2
SENSE210:8Input Sense Configuration 2
  • 0 No detection
  • 1 Rising edge detection
  • 2 Falling edge detection
  • 3 Both edges detection
  • 4 High level detection
  • 5 Low level detection
FILTEN17Filter Enable 1
SENSE16:4Input Sense Configuration 1
  • 0 No detection
  • 1 Rising edge detection
  • 2 Falling edge detection
  • 3 Both edges detection
  • 4 High level detection
  • 5 Low level detection
FILTEN03Filter Enable 0
SENSE02:0Input Sense Configuration 0
  • 0 No detection
  • 1 Rising edge detection
  • 2 Falling edge detection
  • 3 Both edges detection
  • 4 High level detection
  • 5 Low level detection
FILTEN731Filter Enable 7

DEBOUNCENDebouncer Enable

Address
0x40002830
Reset
0x00000000
Access
read/write
Size
32-bit
8 fields
FieldBitsWhat it does
DEBOUNCEN77Debouncer Enable of EXTINT7
DEBOUNCEN66Debouncer Enable of EXTINT6
DEBOUNCEN55Debouncer Enable of EXTINT5
DEBOUNCEN44Debouncer Enable of EXTINT4
DEBOUNCEN33Debouncer Enable of EXTINT3
DEBOUNCEN22Debouncer Enable of EXTINT2
DEBOUNCEN11Debouncer Enable of EXTINT1
DEBOUNCEN00Debouncer Enable of EXTINT0

DPRESCALERDebouncer Prescaler

Address
0x40002834
Reset
0x00000000
Access
read/write
Size
32-bit
3 fields
FieldBitsWhat it does
TICKON16Pin Sampler frequency selection
  • 0 Clocked by GCLK
  • 1 Clocked by Low Frequency Clock
STATES03Debouncer number of states
  • 0 3 low frequency samples
  • 1 7 low frequency samples
PRESCALER02:0Debouncer Prescaler
  • 0 EIC clock divided by 2
  • 1 EIC clock divided by 4
  • 2 EIC clock divided by 8
  • 3 EIC clock divided by 16
  • 4 EIC clock divided by 32
  • 5 EIC clock divided by 64
  • 6 EIC clock divided by 128
  • 7 EIC clock divided by 256

PINSTATEPin State

Address
0x40002838
Reset
0x00000000
Access
read only
Size
32-bit
8 fields
FieldBitsWhat it does
PINSTATE77Pin State of EXTINT7
PINSTATE66Pin State of EXTINT6
PINSTATE55Pin State of EXTINT5
PINSTATE44Pin State of EXTINT4
PINSTATE33Pin State of EXTINT3
PINSTATE22Pin State of EXTINT2
PINSTATE11Pin State of EXTINT1
PINSTATE00Pin State of EXTINT0