33.5.1.3 Reading an I/O Line Configuration

As for a programming operation, a reading configuration requires the user to first define which I/O line in the group x will be targeted by writing a 1 to the corresponding bit in PIO_MSKRx. The value of the targeted I/O line is read in PIO_CFGRx.

If several bits are set in PIO_MSKRx, the read configuration in PIO_CFGRx is the configuration of the I/O line with the lowest index.

Note: To read a secure I/O line configuration, use S_PIO_MSKRx and S_PIO_CFGRx.