4 Reading the Status Bit
Before using the MVIO feature, it is recommended to check the VDDIO2 Status (VDDIO2S) bit in the
MVIO.STATUS (Status) register, to make sure that the voltage level of VDDIO2 is within
the acceptable range of operation. If this bit is ‘1
’, then VDDIO2 is
within the acceptable range of operation.
//Polling the VDDIO2S bit if(MVIO.STATUS & MVIO_VDDIO2S_bm) { //Do something if VDDIO2 is within acceptable range. }