EGU — Event generator unit

Event generator unit (EGU) provides support for interlayer signaling. This means providing support for atomic triggering of both CPU execution and hardware tasks, from both firmware (by CPU) and hardware (by PPI). This feature can be used for triggering CPU execution at a lower priority execution from a higher priority execution, or to handle a peripheral's interrupt service routine (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:

Each instance of EGU implements a set of tasks which can individually be triggered to generate the corresponding event. For example, the corresponding event for TASKS_TRIGGER[n] is EVENTS_TRIGGERED[n]. See Instances for a list of EGU instances.

Registers

Instances

InstanceDomainBase addressTrustZoneSplit accessDescription
MapAttDMA
EGU10 : S
EGU10 : NS
GLOBAL0x50087000
0x40087000
USSNANoEvent generator unit EGU10
EGU20 : S
EGU20 : NS
GLOBAL0x500C9000
0x400C9000
USSNANoEvent generator unit EGU20

Configuration

InstanceDomainConfiguration
EGU10 : S
EGU10 : NS
GLOBAL16 events
EGU20 : S
EGU20 : NS
GLOBAL6 events

Register overview

RegisterOffsetTZDescription
TASKS_TRIGGER[n]0x000Trigger n for triggering the corresponding TRIGGERED[n] event
SUBSCRIBE_TRIGGER[n]0x080Subscribe configuration for task TRIGGER[n]
EVENTS_TRIGGERED[n]0x100Event number n generated by triggering the corresponding TRIGGER[n] task
PUBLISH_TRIGGERED[n]0x180Publish configuration for event TRIGGERED[n]
INTEN0x300Enable or disable interrupt
INTENSET0x304Enable interrupt
INTENCLR0x308Disable interrupt

TASKS_TRIGGER[n]

Address offset: 0x000 + (n × 0x4)

Trigger n for triggering the corresponding TRIGGERED[n] event

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
AWTASKS_TRIGGERTrigger n for triggering the corresponding TRIGGERED[n] event
Trigger1Trigger task

SUBSCRIBE_TRIGGER[n]

Address offset: 0x080 + (n × 0x4)

Subscribe configuration for task TRIGGER[n]

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWCHIDX[0..255]DPPI channel that task TRIGGER[n] will subscribe to
BRWEN
Disabled0Disable subscription
Enabled1Enable subscription

EVENTS_TRIGGERED[n]

Address offset: 0x100 + (n × 0x4)

Event number n generated by triggering the corresponding TRIGGER[n] task

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWEVENTS_TRIGGEREDEvent number n generated by triggering the corresponding TRIGGER[n] task
NotGenerated0Event not generated
Generated1Event generated

PUBLISH_TRIGGERED[n]

Address offset: 0x180 + (n × 0x4)

Publish configuration for event TRIGGERED[n]

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWCHIDX[0..255]DPPI channel that event TRIGGERED[n] will publish to
BRWEN
Disabled0Disable publishing
Enabled1Enable publishing

INTEN

Address offset: 0x300

Enable or disable interrupt

Bit number313029282726252423222120191817161514131211109876543210
IDPONMLKJIHGFEDCBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A-PRWTRIGGERED[i] (i=0..15)Enable or disable interrupt for event TRIGGERED[i]
Disabled0Disable
Enabled1Enable

INTENSET

Address offset: 0x304

Enable interrupt

Bit number313029282726252423222120191817161514131211109876543210
IDPONMLKJIHGFEDCBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A-PRW
W1S
TRIGGERED[i] (i=0..15)Write '1' to enable interrupt for event TRIGGERED[i]
Set1Enable
Disabled0Read: Disabled
Enabled1Read: Enabled

INTENCLR

Address offset: 0x308

Disable interrupt

Bit number313029282726252423222120191817161514131211109876543210
IDPONMLKJIHGFEDCBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A-PRW
W1C
TRIGGERED[i] (i=0..15)Write '1' to disable interrupt for event TRIGGERED[i]
Clear1Disable
Disabled0Read: Disabled
Enabled1Read: Enabled