23.3.7 Module Setup

The MVIO can be initialized by following these steps:

  1. Set the VDDIOxMD bit in the appropriate configuration register to select the proper operating voltage range.
  2. Optional: Enable the VDDIOx Interrupt by setting the VDDIOxIE bit in the appropriate PIEx register.
  3. Read the VDDIOxRDY bit in the MVIOSTAT status register to check if the VDDIOx voltage is within the acceptable range of operation.
  4. Configure and use the PORT pins powered by VDDIOx as usual.