27.6.12 Event Control

This register allows the user to configure event actions for one or more I/O pins. There are up to four input events for each PORT group. Each byte of this register addresses one input event.
Name: EVCTRL
Offset: 0x2C
Reset: 0x00000000
Property: PAC Write-Protection

Bit 3130292827262524 
 PORTEI3EVACT3[1:0]PID3[4:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 2322212019181716 
 PORTEI2EVACT2[1:0]PID2[4:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 15141312111098 
 PORTEI1EVACT1[1:0]PID1[4:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 76543210 
 PORTEI0EVACT0[1:0]PID0[4:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 

Bits 7, 15, 23, 31 – PORTEIn PORT Event n Input Enable

This bit field controls whether the input to Event n Action (EVACTn) is enabled.
ValueDescription
0x00The event action will not be triggered by any incoming event
0x01The event action will be triggered by any incoming event

Bits 5:6, 13:14, 21:22, 29:30 – EVACTn Event n Action

This bit field controls the event action to execute on the pin configured by Event n Pin Identifier (PIDn).
ValueNameDescription
0x00OUTThe output value of pin PIDn will be set to the level of the event
0x01SETSet the output value of pin PIDn on the rising edge of the event
0x02CLRClear the output value of pin PIDn on the rising edge of the event
0x03TGLToggle the output value of pin PIDn on the rising edge of the event

Bits 0:4, 8:12, 16:20, 24:28 – PIDn Event n Pin Identifier

This bit field selects the bit in the Data Output Value register (OUT) on which the Event n Action (EVACTn) will be executed.
ValueNameDescription
0x00PIN0Event actions will be executed on pin 0
0x01PIN1Event actions will be executed on pin 1
0x02PIN2Event actions will be executed on pin 2
0x03PIN3Event actions will be executed on pin 3
0x04PIN4Event actions will be executed on pin 4
0x05PIN5Event actions will be executed on pin 5
0x06PIN6Event actions will be executed on pin 6
0x07PIN7Event actions will be executed on pin 7
0x08PIN8Event actions will be executed on pin 8
0x09PIN9Event actions will be executed on pin 9
0x0APIN10Event actions will be executed on pin 10
0x0BPIN11Event actions will be executed on pin 11
0x0CPIN12Event actions will be executed on pin 12
0x0DPIN13Event actions will be executed on pin 13
0x0EPIN14Event actions will be executed on pin 14
0x0FPIN15Event actions will be executed on pin 15
0x10PIN16Event actions will be executed on pin 16
0x11PIN17Event actions will be executed on pin 17
0x12PIN18Event actions will be executed on pin 18
0x13PIN19Event actions will be executed on pin 19
0x14PIN20Event actions will be executed on pin 20
0x15PIN21Event actions will be executed on pin 21
0x16PIN22Event actions will be executed on pin 22
0x17PIN23Event actions will be executed on pin 23
0x18PIN24Event actions will be executed on pin 24
0x19PIN25Event actions will be executed on pin 25
0x1APIN26Event actions will be executed on pin 26
0x1BPIN27Event actions will be executed on pin 27
0x1CPIN28Event actions will be executed on pin 28
0x1DPIN29Event actions will be executed on pin 29
0x1EPIN30Event actions will be executed on pin 30
0x1FPIN31Event actions will be executed on pin 31