27.4.3.2 Multi-Pin Write Configuration

The Write Configuration register (WRCONFIG) allows writing the Pin Configuration registers (PINCFG[n]) and Peripheral Multiplexing registers (PMUX[m]) for up to 16 pins in one write.

The Half-Word Select bit (WRCONFIG.HWSEL) selects whether pins 0-15 or 16-31 are addressed, while the Pin Mask for Multiple Pin Configuration bit field (WRCONFIG.PINMASK) is used to specify which of those 16 pin registers are written.

The Write PMUX bit (WRCONFIG.WRPMUX) can be used to enable or disable writing to the selected Peripheral Multiplexing registers. If WRPMUX is written to ‘1’, the Peripheral Multiplexing bit field (WRCONFIG.PMUX) is written to the respective Peripheral Multiplexing for Odd-Numbered Pin (PMUX[m].PMUXO) or Peripheral Multiplexing for Even-Numbered Pin (PMUX[m].PMUXE) bit fields for all the selected pins.

The Write PINCFG bit (WRCONFIG.WRPINCFG) can be used to enable or disable writing to the selected Peripheral Configuration registers. If WRPINCFG is written to ‘1’, the PINCFG mirror bit fields in the WRCONFIG register are written to all the selected registers.