33.5.1.2 Programming I/O Line Configuration
The user must first define which I/O line in the group will be targeted by writing a 1 to the corresponding bit in the Mask register (PIO_MSKRx). Several I/O lines in an I/O group can be configured at the same time by setting the corresponding bits in PIO_MSKRx. Then, writing PIO_CFGRx applies the configuration to the I/O line(s) defined in PIO_MSKRx. All the I/O lines defined as secure in S_PIO_SIOSRx must be configured by writing the S_PIO_CFGRx and S_PIO_MSKRx registers.
For more details about I/O line configuration using PIO_MSKRx and PIO_CFGRx, see I/O Lines Programming Example.
