ATSAML21J16B EIC registers The 11 registers of EIC (External Interrupt Controller), from 0x40002400, with their reset value and every field. The ATSAML21J16B has 1323 registers in 42 peripherals, one page each.
EIC External Interrupt Controller CTRLAControl
Address 0x40002400
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
NMICTRLNMI Control
Address 0x40002401
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 NMI Asynchronous edge Detection Enable0 Edge detection is clock synchronously operated1 Edge detection is clock asynchronously operated NMIFILTEN 3 NMI Filter Enable NMISENSE 2:0 NMI Input Sense Configuration0 No detection1 Rising edge detection2 Falling edge detection3 Both edges detection4 High level detection5 Low level detection
NMIFLAGNMI Interrupt Flag
Address 0x40002402
Reset 0x0000
Access read/write
Size 16-bit 1 field
Field Bits What it does NMI 0 NMI Interrupt Flag
SYNCBUSYSyncbusy register
Address 0x40002404
Reset 0x00000000
Access read only
Size 32-bit 2 fields
Field Bits What it does ENABLE 1 Enable synchronisation SWRST 0 Software reset synchronisation
EVCTRLEvent Control
Address 0x40002408
Reset 0x00000000
Access read/write
Size 32-bit 1 field
Field Bits What it does EXTINTEO 15:0 External Interrupt Event Output Enable
INTENCLRInterrupt Enable Clear
Address 0x4000240C
Reset 0x00000000
Access read/write
Size 32-bit 1 field
Field Bits What it does EXTINT 15:0 External Interrupt Disable
INTENSETInterrupt Enable Set
Address 0x40002410
Reset 0x00000000
Access read/write
Size 32-bit 1 field
Field Bits What it does EXTINT 15:0 External Interrupt Enable
INTFLAGInterrupt Flag Status and Clear
Address 0x40002414
Reset 0x00000000
Access read/write
Size 32-bit 1 field
Field Bits What it does EXTINT 15:0 External Interrupt Flag
ASYNCHEIC Asynchronous edge Detection Enable
Address 0x40002418
Reset 0x00000000
Access read/write
Size 32-bit 1 field
Field Bits What it does ASYNCH 15:0 EIC Asynchronous edge Detection Enable0 Edge detection is clock synchronously operated1 Edge detection is clock asynchronously operated
CONFIG0Configuration n
Address 0x4000241C
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
CONFIG1Configuration n
Address 0x40002420
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