Changed all of the step/dirn bits to uint16_t.
Each GPIO port only has 16 lines.