Set the TRIS bits for all used I/O pins.