3.3.18.2 W Address Register Selection

The Modulo and Bit-Reversed Addressing Control register, MODCON[15:0], contains enable flags as well as a W register field to specify the W Address registers. The XWM and YWM fields select the registers that operate with Modulo Addressing.

  • If XWM = 1111, X RAGU and X WAGU Modulo Addressing is disabled.
  • If YWM = 1111, Y AGU Modulo Addressing is disabled.

The X Address Space Pointer W (XWM) register, to which Modulo Addressing is to be applied, is stored in MODCON[3:0]. Modulo Addressing is enabled for X data space when XWM is set to any value other than ‘1111’ and the XMODEN bit is set (MODCON[15]).

The Y Address Space Pointer W (YWM) register, to which Modulo Addressing is to be applied, is stored in MODCON[7:4]. Modulo Addressing is enabled for Y data space when YWM is set to any value other than ‘1111’ and the YMODEN bit is set (MODCON[14]).

Figure 3-19. Modulo Addressing Operation Example