Rename pinFunction to _PinFunction

This follows the internal function naming convention instead of the standard wiring naming convention