/* Sets a high output level on all the PIOs defined in the given Pin instance. This has no immediate effects on PIOs that are not output, but the PIO controller will memorize the value they are changed to outputs.  */
void PIO_Set(const Pin *pin)
/* Sets a high output level on all the PIOs defined in the given Pin instance. This has no immediate effects on PIOs that are not output, but the PIO controller will memorize the value they are changed to outputs.  */
void PIO_Set(const Pin *pin)
{
    pin->pio->PIO_SODR = pin->mask;
}