DDR<x>IN Command

For devices that have a dedicated enable register for input and output GPIO functionality, the DDR<x>IN command sets the simulated pins on port <x> as an input and clears corresponding output enable bit (see DDR<x>OUT). Use the INPUT <x> command to change the values of the port pins.

Syntax
  >gdi DDR<x>IN<n>  

Where: <x> is the letter representing corresponding port

<n> Eight-bit simulated value for port <x>

Example
  >gdi DDRCIN 0F  

Simulate port C with bits 0-3 as input.