Added logic type and pin direction functions