Hi, Amey
It is dependent on what you use the GPIO pin, if you use the GPIO pin to output signal, this is the procedure:
1)enable the GPIO module clock in the SIM_SCGC5 register, for example, enable PORTA by setting the PORTA bit in SIM_SCGC5
2)configure the MUX bits in PORTx_PCRn register based on the section 10.3.1 K70 Signal Multiplexing and Pin Assignments in reference manual of k70
3)set the corresponding bit in GPIOx_PDDR register to enable GPIO output mode
4)you can set/clear the GPIO pin by writing GPIOx_PDOR.
If you read the logic of the GPIO pin, after you enable the GPIO port clock, I think you can read the pin directly by reading the GPIOx_PTOR register. I think It is okay to set the GPIO pin in GPIO mode by writing the PORTx_PCRn register as above procedure, clear the bit in GPIOx_PDDR register, then read GPIOx_PDIR register to get the pin logic.
Have a nice festival
BR
XiangJun Rong