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 7 – 6 – 5 – 4 CKSEL 3 – 2 – 1 ENABLE 0 SWRST 3 fields
Field Bits What it does CKSEL 4 Clock Selection0 Clocked by GCLK1 Clocked by ULP32K ENABLE 1 Enable SWRST 0 Software Reset
NMICTRLNon-Maskable Interrupt Control
Address 0x40002801
Reset 0x00
Access read/write 7 – 6 – 5 – 4 NMIASYNCH 3 NMIFILTEN 2 NMISENSE2 1 NMISENSE1 0 NMISENSE0 3 fields
Field Bits What it does NMIASYNCH 4 Asynchronous Edge Detection Mode0 Edge detection is clock synchronously operated1 Edge detection is clock asynchronously operated NMIFILTEN 3 Non-Maskable Interrupt Filter Enable NMISENSE 2:0 Non-Maskable Interrupt Sense Configuration0 No detection1 Rising-edge detection2 Falling-edge detection3 Both-edges detection4 High-level detection5 Low-level detection
NMIFLAGNon-Maskable Interrupt Flag Status and Clear
Address 0x40002802
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 – 1 – 0 NMI 1 field
Field Bits What it does NMI 0 Non-Maskable Interrupt
SYNCBUSYSynchronization Busy
Address 0x40002804
Reset 0x00000000
Access read only
Size 32-bit 2 fields
Field Bits What it does ENABLE 1 Enable Synchronization Busy Status SWRST 0 Software Reset Synchronization Busy Status
EVCTRLEvent Control
Address 0x40002808
Reset 0x00000000
Access read/write
Size 32-bit 8 fields
Field Bits What it does EXTINTEO7 7 External Interrupt 7 Event Output Enable EXTINTEO6 6 External Interrupt 6 Event Output Enable EXTINTEO5 5 External Interrupt 5 Event Output Enable EXTINTEO4 4 External Interrupt 4 Event Output Enable EXTINTEO3 3 External Interrupt 3 Event Output Enable EXTINTEO2 2 External Interrupt 2 Event Output Enable EXTINTEO1 1 External Interrupt 1 Event Output Enable EXTINTEO0 0 External Interrupt 0 Event Output Enable
INTENCLRInterrupt Enable Clear
Address 0x4000280C
Reset 0x00000000
Access read/write
Size 32-bit 8 fields
Field Bits What it does EXTINT7 7 External Interrupt 7 Enable EXTINT6 6 External Interrupt 6 Enable EXTINT5 5 External Interrupt 5 Enable EXTINT4 4 External Interrupt 4 Enable EXTINT3 3 External Interrupt 3 Enable EXTINT2 2 External Interrupt 2 Enable EXTINT1 1 External Interrupt 1 Enable EXTINT0 0 External Interrupt 0 Enable
INTENSETInterrupt Enable Set
Address 0x40002810
Reset 0x00000000
Access read/write
Size 32-bit 8 fields
Field Bits What it does EXTINT7 7 External Interrupt 7 Enable EXTINT6 6 External Interrupt 6 Enable EXTINT5 5 External Interrupt 5 Enable EXTINT4 4 External Interrupt 4 Enable EXTINT3 3 External Interrupt 3 Enable EXTINT2 2 External Interrupt 2 Enable EXTINT1 1 External Interrupt 1 Enable EXTINT0 0 External Interrupt 0 Enable
INTFLAGInterrupt Flag Status and Clear
Address 0x40002814
Reset 0x00000000
Access read/write
Size 32-bit 8 fields
Field Bits What it does EXTINT7 7 External Interrupt 7 EXTINT6 6 External Interrupt 6 EXTINT5 5 External Interrupt 5 EXTINT4 4 External Interrupt 4 EXTINT3 3 External Interrupt 3 EXTINT2 2 External Interrupt 2 EXTINT1 1 External Interrupt 1 EXTINT0 0 External Interrupt 0
ASYNCHExternal Interrupt Asynchronous Mode
Address 0x40002818
Reset 0x00000000
Access read/write
Size 32-bit 8 fields
Field Bits What it does ASYNCH7 7 Asynchronous Edge Detection Mode of EXTINT70 Edge detection is clock synchronously operated1 Edge detection is clock asynchronously operated ASYNCH6 6 Asynchronous Edge Detection Mode of EXTINT60 Edge detection is clock synchronously operated1 Edge detection is clock asynchronously operated ASYNCH5 5 Asynchronous Edge Detection Mode of EXTINT50 Edge detection is clock synchronously operated1 Edge detection is clock asynchronously operated ASYNCH4 4 Asynchronous Edge Detection Mode of EXTINT40 Edge detection is clock synchronously operated1 Edge detection is clock asynchronously operated ASYNCH3 3 Asynchronous Edge Detection Mode of EXTINT30 Edge detection is clock synchronously operated1 Edge detection is clock asynchronously operated ASYNCH2 2 Asynchronous Edge Detection Mode of EXTINT20 Edge detection is clock synchronously operated1 Edge detection is clock asynchronously operated ASYNCH1 1 Asynchronous Edge Detection Mode of EXTINT10 Edge detection is clock synchronously operated1 Edge detection is clock asynchronously operated ASYNCH0 0 Asynchronous Edge Detection Mode of EXTINT00 Edge detection is clock synchronously operated1 Edge detection is clock asynchronously operated
CONFIG0External Interrupt Sense Configuration
Address 0x4000281C
Reset 0x00000000
Access read/write
Size 32-bit 16 fields
Field Bits What it does SENSE7 30:28 Input Sense Configuration 70 No detection1 Rising edge detection2 Falling edge detection3 Both edges detection4 High level detection5 Low level detection FILTEN6 27 Filter Enable 6 SENSE6 26:24 Input Sense Configuration 60 No detection1 Rising edge detection2 Falling edge detection3 Both edges detection4 High level detection5 Low level detection FILTEN5 23 Filter Enable 5 SENSE5 22:20 Input Sense Configuration 50 No detection1 Rising edge detection2 Falling edge detection3 Both edges detection4 High level detection5 Low level detection FILTEN4 19 Filter Enable 4 SENSE4 18:16 Input Sense Configuration 40 No detection1 Rising edge detection2 Falling edge detection3 Both edges detection4 High level detection5 Low level detection FILTEN3 15 Filter Enable 3 SENSE3 14:12 Input Sense Configuration 30 No detection1 Rising edge detection2 Falling edge detection3 Both edges detection4 High level detection5 Low level detection FILTEN2 11 Filter Enable 2 SENSE2 10:8 Input Sense Configuration 20 No detection1 Rising edge detection2 Falling edge detection3 Both edges detection4 High level detection5 Low level detection FILTEN1 7 Filter Enable 1 SENSE1 6:4 Input Sense Configuration 10 No detection1 Rising edge detection2 Falling edge detection3 Both edges detection4 High level detection5 Low level detection FILTEN0 3 Filter Enable 0 SENSE0 2:0 Input Sense Configuration 00 No detection1 Rising edge detection2 Falling edge detection3 Both edges detection4 High level detection5 Low level detection FILTEN7 31 Filter Enable 7
DEBOUNCENDebouncer Enable
Address 0x40002830
Reset 0x00000000
Access read/write
Size 32-bit 8 fields
Field Bits What it does DEBOUNCEN7 7 Debouncer Enable of EXTINT7 DEBOUNCEN6 6 Debouncer Enable of EXTINT6 DEBOUNCEN5 5 Debouncer Enable of EXTINT5 DEBOUNCEN4 4 Debouncer Enable of EXTINT4 DEBOUNCEN3 3 Debouncer Enable of EXTINT3 DEBOUNCEN2 2 Debouncer Enable of EXTINT2 DEBOUNCEN1 1 Debouncer Enable of EXTINT1 DEBOUNCEN0 0 Debouncer Enable of EXTINT0
DPRESCALERDebouncer Prescaler
Address 0x40002834
Reset 0x00000000
Access read/write
Size 32-bit 3 fields
Field Bits What it does TICKON 16 Pin Sampler frequency selection0 Clocked by GCLK1 Clocked by Low Frequency Clock STATES0 3 Debouncer number of states0 3 low frequency samples1 7 low frequency samples PRESCALER0 2:0 Debouncer Prescaler0 EIC clock divided by 21 EIC clock divided by 42 EIC clock divided by 83 EIC clock divided by 164 EIC clock divided by 325 EIC clock divided by 646 EIC clock divided by 1287 EIC clock divided by 256
PINSTATEPin State
Address 0x40002838
Reset 0x00000000
Access read only
Size 32-bit 8 fields
Field Bits What it does PINSTATE7 7 Pin State of EXTINT7 PINSTATE6 6 Pin State of EXTINT6 PINSTATE5 5 Pin State of EXTINT5 PINSTATE4 4 Pin State of EXTINT4 PINSTATE3 3 Pin State of EXTINT3 PINSTATE2 2 Pin State of EXTINT2 PINSTATE1 1 Pin State of EXTINT1 PINSTATE0 0 Pin State of EXTINT0