### GPIO_DIR

Bit Field | Read/Write | Field Name | Description
--- | --- | --- | ---
15:0 | R | GPIO | Get GPIO[15:0] direction
15:0 | W | GPIO | Set GPIO[15:0] GPIO direction (only in GPIO_MODE_GPIO_x)

Bit Field | Field Name | Value Symbol | Value Description | Hex Value
--- | --- | --- | --- | ---
15:0 | GPIO | GPIO0_STATUS_IN | GPIO is an input | 0x0*
|  | GPIO1_STATUS_IN | GPIO is an input | 0x0*
|  | GPIO2_STATUS_IN | GPIO is an input | 0x0*
|  | GPIO3_STATUS_IN | GPIO is an input | 0x0*
|  | GPIO4_STATUS_IN | GPIO is an input | 0x0*
|  | GPIO5_STATUS_IN | GPIO is an input | 0x0*
|  | GPIO6_STATUS_IN | GPIO is an input | 0x0*
|  | GPIO7_STATUS_IN | GPIO is an input | 0x0*
|  | GPIO8_STATUS_IN | GPIO is an input | 0x0*
|  | GPIO9_STATUS_IN | GPIO is an input | 0x0*
|  | GPIO10_STATUS_IN | GPIO is an input | 0x0*
|  | GPIO11_STATUS_IN | GPIO is an input | 0x0*
|  | GPIO12_STATUS_IN | GPIO is an input | 0x0*
|  | GPIO13_STATUS_IN | GPIO is an input | 0x0*
|  | GPIO14_STATUS_IN | GPIO is an input | 0x0*
|  | GPIO15_STATUS_IN | GPIO is an input | 0x0*
|  | GPIO0_STATUS_OUT | GPIO is an output | 0x1
|  | GPIO1_STATUS_OUT | GPIO is an output | 0x2
|  | GPIO2_STATUS_OUT | GPIO is an output | 0x4
|  | GPIO3_STATUS_OUT | GPIO is an output | 0x8
|  | GPIO4_STATUS_OUT | GPIO is an output | 0x10
|  | GPIO5_STATUS_OUT | GPIO is an output | 0x20
|  | GPIO6_STATUS_OUT | GPIO is an output | 0x40
|  | GPIO7_STATUS_OUT | GPIO is an output | 0x80
|  | GPIO8_STATUS_OUT | GPIO is an output | 0x100
|  | GPIO9_STATUS_OUT | GPIO is an output | 0x200
|  | GPIO10_STATUS_OUT | GPIO is an output | 0x400
|  | GPIO11_STATUS_OUT | GPIO is an output | 0x800
|  | GPIO12_STATUS_OUT | GPIO is an output | 0x1000
|  | GPIO13_STATUS_OUT | GPIO is an output | 0x2000
|  | GPIO14_STATUS_OUT | GPIO is an output | 0x4000
|  | GPIO15_STATUS_OUT | GPIO is an output | 0x8000
15:0 | GPIO | GPIO0_DIR_IN | Set GPIO to input if GPIO_MODE_GPIO_IN_x | 0x0
|  | GPIO1_DIR_IN | Set GPIO to input if GPIO_MODE_GPIO_IN_x | 0x0
|  | GPIO2_DIR_IN | Set GPIO to input if GPIO_MODE_GPIO_IN_x | 0x0
|  | GPIO3_DIR_IN | Set GPIO to input if GPIO_MODE_GPIO_IN_x | 0x0
|  | GPIO4_DIR_IN | Set GPIO to input if GPIO_MODE_GPIO_IN_x | 0x0
|  | GPIO5_DIR_IN | Set GPIO to input if GPIO_MODE_GPIO_IN_x | 0x0
|  | GPIO6_DIR_IN | Set GPIO to input if GPIO_MODE_GPIO_IN_x | 0x0
|  | GPIO7_DIR_IN | Set GPIO to input if GPIO_MODE_GPIO_IN_x | 0x0
|  | GPIO8_DIR_IN | Set GPIO to input if GPIO_MODE_GPIO_IN_x | 0x0
|  | GPIO9_DIR_IN | Set GPIO to input if GPIO_MODE_GPIO_IN_x | 0x0
|  | GPIO10_DIR_IN | Set GPIO to input if GPIO_MODE_GPIO_IN_x | 0x0
|  | GPIO11_DIR_IN | Set GPIO to input if GPIO_MODE_GPIO_IN_x | 0x0
|  | GPIO12_DIR_IN | Set GPIO to input if GPIO_MODE_GPIO_IN_x | 0x0
|  | GPIO13_DIR_IN | Set GPIO to input if GPIO_MODE_GPIO_IN_x | 0x0
|  | GPIO14_DIR_IN | Set GPIO to input if GPIO_MODE_GPIO_IN_x | 0x0
|  | GPIO15_DIR_IN | Set GPIO to input if GPIO_MODE_GPIO_IN_x | 0x0
|  | GPIO0_DIR_OUT | Set GPIO to output if GPIO_MODE_GPIO_OUT_x | 0x1
|  | GPIO1_DIR_OUT | Set GPIO to output if GPIO_MODE_GPIO_OUT_x | 0x2
|  | GPIO2_DIR_OUT | Set GPIO to output if GPIO_MODE_GPIO_OUT_x | 0x4
|  | GPIO3_DIR_OUT | Set GPIO to output if GPIO_MODE_GPIO_OUT_x | 0x8
|  | GPIO4_DIR_OUT | Set GPIO to output if GPIO_MODE_GPIO_OUT_x | 0x10
|  | GPIO5_DIR_OUT | Set GPIO to output if GPIO_MODE_GPIO_OUT_x | 0x20
|  | GPIO6_DIR_OUT | Set GPIO to output if GPIO_MODE_GPIO_OUT_x | 0x40
|  | GPIO7_DIR_OUT | Set GPIO to output if GPIO_MODE_GPIO_OUT_x | 0x80
|  | GPIO8_DIR_OUT | Set GPIO to output if GPIO_MODE_GPIO_OUT_x | 0x100
|  | GPIO9_DIR_OUT | Set GPIO to output if GPIO_MODE_GPIO_OUT_x | 0x200
|  | GPIO10_DIR_OUT | Set GPIO to output if GPIO_MODE_GPIO_OUT_x | 0x400
|  | GPIO11_DIR_OUT | Set GPIO to output if GPIO_MODE_GPIO_OUT_x | 0x800
|  | GPIO12_DIR_OUT | Set GPIO to output if GPIO_MODE_GPIO_OUT_x | 0x1000
|  | GPIO13_DIR_OUT | Set GPIO to output if GPIO_MODE_GPIO_OUT_x | 0x2000
|  | GPIO14_DIR_OUT | Set GPIO to output if GPIO_MODE_GPIO_OUT_x | 0x4000
|  | GPIO15_DIR_OUT | Set GPIO to output if GPIO_MODE_GPIO_OUT_x | 0x8000