22.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:
  1. The channel to be connected to a user is written to the Channel bit group (USER.CHANNEL)
  2. The user to connect the channel is written to the User bit group (USER.USER)
Configure the Channel (CHANNEL) register:
  1. The channel to be configured is written to the Channel Selection bit group (CHANNEL.CHANNEL)
  2. The path to be used is written to the Path Selection bit group (CHANNEL.PATH)
  3. The type of edge detection to use on the channel is written to the Edge Selection bit group (CHANNEL.EDGSEL)
  4. The event generator to be used is written to the Event Generator bit group (CHANNEL.EVGEN)