24.6.2.1 Initialization
Before enabling events routing within the system, the User Multiplexer (USER) and Channel (CHANNEL) register must be configured. The User Multiplexer (USER) must be configured first.
Configure the User Multiplexer (USER) register:
- The channel to be connected to a user is written to the Channel bit group (USER.CHANNEL)
- The user to connect the channel is written to the User bit group (USER.USER)
Configure the Channel (CHANNEL) register:
- The channel to be configured is written to the Channel Selection bit group (CHANNEL.CHANNEL)
- The path to be used is written to the Path Selection bit group (CHANNEL.PATH)
- The type of edge detection to use on the channel is written to the Edge Selection bit group (CHANNEL.EDGSEL)
- The event generator to be used is written to the Event Generator bit group (CHANNEL.EVGEN)