EGU — Event generator unit

The Event generator unit (EGU) provides support for inter-layer signaling. This means support for atomic triggering of both CPU execution and hardware tasks from both firmware (by CPU) and hardware (by PPI). This feature can, for instance, be used for triggering CPU execution at a lower priority execution from a higher priority execution, or to handle a peripheral's ISR execution at a lower priority for some of its events. However, triggering any priority from any priority is possible.

Listed here are the main EGU features:

  • Enables SW triggering of interrupts
  • 6 EGU instances – separate interrupt vectors
  • Up to 16 separate event flags per interrupt for multiplexing

The EGU implements a set of tasks which can individually be triggered to generate the corresponding event, i.e., the corresponding event for TASKS_TRIGGER[n] is EVENTS_TRIGGERED[n].

Table 1. EGU configuration
EGU instanceNumber of event flags
0-516

Registers

Table 2. Instances
Base addressPeripheralInstanceDescriptionConfiguration
0x40014000EGUEGU0Event Generator Unit 0  
0x40015000EGUEGU1Event Generator Unit 1  
0x40016000EGUEGU2Event Generator Unit 2  
0x40017000EGUEGU3Event Generator Unit 3  
0x40018000EGUEGU4Event Generator Unit 4  
0x40019000EGUEGU5Event Generator Unit 5  
Table 3. Register Overview
RegisterOffsetDescription
TASKS_TRIGGER[0]0x000Trigger 0 for triggering the corresponding TRIGGERED[0] event 
TASKS_TRIGGER[1]0x004Trigger 1 for triggering the corresponding TRIGGERED[1] event 
TASKS_TRIGGER[2]0x008Trigger 2 for triggering the corresponding TRIGGERED[2] event 
TASKS_TRIGGER[3]0x00CTrigger 3 for triggering the corresponding TRIGGERED[3] event 
TASKS_TRIGGER[4]0x010Trigger 4 for triggering the corresponding TRIGGERED[4] event 
TASKS_TRIGGER[5]0x014Trigger 5 for triggering the corresponding TRIGGERED[5] event 
TASKS_TRIGGER[6]0x018Trigger 6 for triggering the corresponding TRIGGERED[6] event 
TASKS_TRIGGER[7]0x01CTrigger 7 for triggering the corresponding TRIGGERED[7] event 
TASKS_TRIGGER[8]0x020Trigger 8 for triggering the corresponding TRIGGERED[8] event 
TASKS_TRIGGER[9]0x024Trigger 9 for triggering the corresponding TRIGGERED[9] event 
TASKS_TRIGGER[10]0x028Trigger 10 for triggering the corresponding TRIGGERED[10] event 
TASKS_TRIGGER[11]0x02CTrigger 11 for triggering the corresponding TRIGGERED[11] event 
TASKS_TRIGGER[12]0x030Trigger 12 for triggering the corresponding TRIGGERED[12] event 
TASKS_TRIGGER[13]0x034Trigger 13 for triggering the corresponding TRIGGERED[13] event 
TASKS_TRIGGER[14]0x038Trigger 14 for triggering the corresponding TRIGGERED[14] event 
TASKS_TRIGGER[15]0x03CTrigger 15 for triggering the corresponding TRIGGERED[15] event 
EVENTS_TRIGGERED[0]0x100Event number 0 generated by triggering the corresponding TRIGGER[0] task 
EVENTS_TRIGGERED[1]0x104Event number 1 generated by triggering the corresponding TRIGGER[1] task 
EVENTS_TRIGGERED[2]0x108Event number 2 generated by triggering the corresponding TRIGGER[2] task 
EVENTS_TRIGGERED[3]0x10CEvent number 3 generated by triggering the corresponding TRIGGER[3] task 
EVENTS_TRIGGERED[4]0x110Event number 4 generated by triggering the corresponding TRIGGER[4] task 
EVENTS_TRIGGERED[5]0x114Event number 5 generated by triggering the corresponding TRIGGER[5] task 
EVENTS_TRIGGERED[6]0x118Event number 6 generated by triggering the corresponding TRIGGER[6] task 
EVENTS_TRIGGERED[7]0x11CEvent number 7 generated by triggering the corresponding TRIGGER[7] task 
EVENTS_TRIGGERED[8]0x120Event number 8 generated by triggering the corresponding TRIGGER[8] task 
EVENTS_TRIGGERED[9]0x124Event number 9 generated by triggering the corresponding TRIGGER[9] task 
EVENTS_TRIGGERED[10]0x128Event number 10 generated by triggering the corresponding TRIGGER[10] task 
EVENTS_TRIGGERED[11]0x12CEvent number 11 generated by triggering the corresponding TRIGGER[11] task 
EVENTS_TRIGGERED[12]0x130Event number 12 generated by triggering the corresponding TRIGGER[12] task 
EVENTS_TRIGGERED[13]0x134Event number 13 generated by triggering the corresponding TRIGGER[13] task 
EVENTS_TRIGGERED[14]0x138Event number 14 generated by triggering the corresponding TRIGGER[14] task 
EVENTS_TRIGGERED[15]0x13CEvent number 15 generated by triggering the corresponding TRIGGER[15] task 
INTEN0x300Enable or disable interrupt 
INTENSET0x304Enable interrupt 
INTENCLR0x308Disable interrupt 

INTEN

Address offset: 0x300

Enable or disable interrupt

Bit number313029282726252423222120191817161514131211109876543210
Id                PONMLKJIHGFEDCBA
Reset 0x0000000000000000000000000000000000000000
IdRWFieldValue IdValueDescription
ARWTRIGGERED0  

Enable or disable interrupt for TRIGGERED[0] event

See EVENTS_TRIGGERED[0]

   Disabled0Disable
   Enabled1Enable
BRWTRIGGERED1  

Enable or disable interrupt for TRIGGERED[1] event

See EVENTS_TRIGGERED[1]

   Disabled0Disable
   Enabled1Enable
CRWTRIGGERED2  

Enable or disable interrupt for TRIGGERED[2] event

See EVENTS_TRIGGERED[2]

   Disabled0Disable
   Enabled1Enable
DRWTRIGGERED3  

Enable or disable interrupt for TRIGGERED[3] event

See EVENTS_TRIGGERED[3]

   Disabled0Disable
   Enabled1Enable
ERWTRIGGERED4  

Enable or disable interrupt for TRIGGERED[4] event

See EVENTS_TRIGGERED[4]

   Disabled0Disable
   Enabled1Enable
FRWTRIGGERED5  

Enable or disable interrupt for TRIGGERED[5] event

See EVENTS_TRIGGERED[5]

   Disabled0Disable
   Enabled1Enable
GRWTRIGGERED6  

Enable or disable interrupt for TRIGGERED[6] event

See EVENTS_TRIGGERED[6]

   Disabled0Disable
   Enabled1Enable
HRWTRIGGERED7  

Enable or disable interrupt for TRIGGERED[7] event

See EVENTS_TRIGGERED[7]

   Disabled0Disable
   Enabled1Enable
IRWTRIGGERED8  

Enable or disable interrupt for TRIGGERED[8] event

See EVENTS_TRIGGERED[8]

   Disabled0Disable
   Enabled1Enable
JRWTRIGGERED9  

Enable or disable interrupt for TRIGGERED[9] event

See EVENTS_TRIGGERED[9]

   Disabled0Disable
   Enabled1Enable
KRWTRIGGERED10  

Enable or disable interrupt for TRIGGERED[10] event

See EVENTS_TRIGGERED[10]

   Disabled0Disable
   Enabled1Enable
LRWTRIGGERED11  

Enable or disable interrupt for TRIGGERED[11] event

See EVENTS_TRIGGERED[11]

   Disabled0Disable
   Enabled1Enable
MRWTRIGGERED12  

Enable or disable interrupt for TRIGGERED[12] event

See EVENTS_TRIGGERED[12]

   Disabled0Disable
   Enabled1Enable
NRWTRIGGERED13  

Enable or disable interrupt for TRIGGERED[13] event

See EVENTS_TRIGGERED[13]

   Disabled0Disable
   Enabled1Enable
ORWTRIGGERED14  

Enable or disable interrupt for TRIGGERED[14] event

See EVENTS_TRIGGERED[14]

   Disabled0Disable
   Enabled1Enable
PRWTRIGGERED15  

Enable or disable interrupt for TRIGGERED[15] event

See EVENTS_TRIGGERED[15]

   Disabled0Disable
   Enabled1Enable
 

INTENSET

Address offset: 0x304

Enable interrupt

Bit number313029282726252423222120191817161514131211109876543210
Id                PONMLKJIHGFEDCBA
Reset 0x0000000000000000000000000000000000000000
IdRWFieldValue IdValueDescription
ARWTRIGGERED0  

Write '1' to Enable interrupt for TRIGGERED[0] event

See EVENTS_TRIGGERED[0]

   Set1Enable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
BRWTRIGGERED1  

Write '1' to Enable interrupt for TRIGGERED[1] event

See EVENTS_TRIGGERED[1]

   Set1Enable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
CRWTRIGGERED2  

Write '1' to Enable interrupt for TRIGGERED[2] event

See EVENTS_TRIGGERED[2]

   Set1Enable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
DRWTRIGGERED3  

Write '1' to Enable interrupt for TRIGGERED[3] event

See EVENTS_TRIGGERED[3]

   Set1Enable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
ERWTRIGGERED4  

Write '1' to Enable interrupt for TRIGGERED[4] event

See EVENTS_TRIGGERED[4]

   Set1Enable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
FRWTRIGGERED5  

Write '1' to Enable interrupt for TRIGGERED[5] event

See EVENTS_TRIGGERED[5]

   Set1Enable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
GRWTRIGGERED6  

Write '1' to Enable interrupt for TRIGGERED[6] event

See EVENTS_TRIGGERED[6]

   Set1Enable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
HRWTRIGGERED7  

Write '1' to Enable interrupt for TRIGGERED[7] event

See EVENTS_TRIGGERED[7]

   Set1Enable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
IRWTRIGGERED8  

Write '1' to Enable interrupt for TRIGGERED[8] event

See EVENTS_TRIGGERED[8]

   Set1Enable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
JRWTRIGGERED9  

Write '1' to Enable interrupt for TRIGGERED[9] event

See EVENTS_TRIGGERED[9]

   Set1Enable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
KRWTRIGGERED10  

Write '1' to Enable interrupt for TRIGGERED[10] event

See EVENTS_TRIGGERED[10]

   Set1Enable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
LRWTRIGGERED11  

Write '1' to Enable interrupt for TRIGGERED[11] event

See EVENTS_TRIGGERED[11]

   Set1Enable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
MRWTRIGGERED12  

Write '1' to Enable interrupt for TRIGGERED[12] event

See EVENTS_TRIGGERED[12]

   Set1Enable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
NRWTRIGGERED13  

Write '1' to Enable interrupt for TRIGGERED[13] event

See EVENTS_TRIGGERED[13]

   Set1Enable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
ORWTRIGGERED14  

Write '1' to Enable interrupt for TRIGGERED[14] event

See EVENTS_TRIGGERED[14]

   Set1Enable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
PRWTRIGGERED15  

Write '1' to Enable interrupt for TRIGGERED[15] event

See EVENTS_TRIGGERED[15]

   Set1Enable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
 

INTENCLR

Address offset: 0x308

Disable interrupt

Bit number313029282726252423222120191817161514131211109876543210
Id                PONMLKJIHGFEDCBA
Reset 0x0000000000000000000000000000000000000000
IdRWFieldValue IdValueDescription
ARWTRIGGERED0  

Write '1' to Disable interrupt for TRIGGERED[0] event

See EVENTS_TRIGGERED[0]

   Clear1Disable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
BRWTRIGGERED1  

Write '1' to Disable interrupt for TRIGGERED[1] event

See EVENTS_TRIGGERED[1]

   Clear1Disable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
CRWTRIGGERED2  

Write '1' to Disable interrupt for TRIGGERED[2] event

See EVENTS_TRIGGERED[2]

   Clear1Disable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
DRWTRIGGERED3  

Write '1' to Disable interrupt for TRIGGERED[3] event

See EVENTS_TRIGGERED[3]

   Clear1Disable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
ERWTRIGGERED4  

Write '1' to Disable interrupt for TRIGGERED[4] event

See EVENTS_TRIGGERED[4]

   Clear1Disable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
FRWTRIGGERED5  

Write '1' to Disable interrupt for TRIGGERED[5] event

See EVENTS_TRIGGERED[5]

   Clear1Disable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
GRWTRIGGERED6  

Write '1' to Disable interrupt for TRIGGERED[6] event

See EVENTS_TRIGGERED[6]

   Clear1Disable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
HRWTRIGGERED7  

Write '1' to Disable interrupt for TRIGGERED[7] event

See EVENTS_TRIGGERED[7]

   Clear1Disable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
IRWTRIGGERED8  

Write '1' to Disable interrupt for TRIGGERED[8] event

See EVENTS_TRIGGERED[8]

   Clear1Disable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
JRWTRIGGERED9  

Write '1' to Disable interrupt for TRIGGERED[9] event

See EVENTS_TRIGGERED[9]

   Clear1Disable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
KRWTRIGGERED10  

Write '1' to Disable interrupt for TRIGGERED[10] event

See EVENTS_TRIGGERED[10]

   Clear1Disable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
LRWTRIGGERED11  

Write '1' to Disable interrupt for TRIGGERED[11] event

See EVENTS_TRIGGERED[11]

   Clear1Disable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
MRWTRIGGERED12  

Write '1' to Disable interrupt for TRIGGERED[12] event

See EVENTS_TRIGGERED[12]

   Clear1Disable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
NRWTRIGGERED13  

Write '1' to Disable interrupt for TRIGGERED[13] event

See EVENTS_TRIGGERED[13]

   Clear1Disable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
ORWTRIGGERED14  

Write '1' to Disable interrupt for TRIGGERED[14] event

See EVENTS_TRIGGERED[14]

   Clear1Disable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
PRWTRIGGERED15  

Write '1' to Disable interrupt for TRIGGERED[15] event

See EVENTS_TRIGGERED[15]

   Clear1Disable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
 

Electrical specification

EGU Electrical Specification

SymbolDescriptionMin.Typ.Max.Units
tEGU,EVTLatency between setting an EGU event flag and the system setting an interrupt1cycles