How to use PA03/AREF as output ? [SOLVED]

See Section 6: "6. I/O Multiplexing and Considerations"
and the PMUXn description in the section on PORT (section 22) ("22.8.12 Peripheral Multiplexing n")

something like (untested!):

PORT->Group[PORTA].PINCFG.PMUXEN = 0; // disable alternate peripherals on pin