<tr><tdclass="memItemLeft"align="right"valign="top">void </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="xgpiops_8c.html#a1e08a2eab17a71fe2ddfcaf5b752fcfa">StubHandler</a> (void *CallBackRef, int Bank, u32 Status)</td></tr>
<tr><tdclass="memItemLeft"align="right"valign="top">int </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="xgpiops_8c.html#aebedae64d77059711217f31abd7ba098">XGpioPs_ReadPin</a> (<aclass="el"href="struct_x_gpio_ps.html">XGpioPs</a> *InstancePtr, int Pin)</td></tr>
<tr><tdclass="memItemLeft"align="right"valign="top">void </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="xgpiops_8c.html#acda78d38a3b2dbf4398c5df2c88e0424">XGpioPs_Write</a> (<aclass="el"href="struct_x_gpio_ps.html">XGpioPs</a> *InstancePtr, u8 Bank, u32 Data)</td></tr>
<tr><tdclass="memItemLeft"align="right"valign="top">void </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="xgpiops_8c.html#aa3f73f12266c57bd138d6814ab24ba93">XGpioPs_WritePin</a> (<aclass="el"href="struct_x_gpio_ps.html">XGpioPs</a> *InstancePtr, int Pin, int Data)</td></tr>
<tr><tdclass="memItemLeft"align="right"valign="top">void </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="xgpiops_8c.html#a85638e14681720794efa7e55d69360fc">XGpioPs_SetDirection</a> (<aclass="el"href="struct_x_gpio_ps.html">XGpioPs</a> *InstancePtr, u8 Bank, u32 Direction)</td></tr>
<tr><tdclass="memItemLeft"align="right"valign="top">void </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="xgpiops_8c.html#a936aa50aa1b0d0be57a42fcfbdc79895">XGpioPs_SetDirectionPin</a> (<aclass="el"href="struct_x_gpio_ps.html">XGpioPs</a> *InstancePtr, int Pin, int Direction)</td></tr>
<tr><tdclass="memItemLeft"align="right"valign="top">int </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="xgpiops_8c.html#a29e7e8fc2ff7a0b34e2f18cbcc099e54">XGpioPs_GetDirectionPin</a> (<aclass="el"href="struct_x_gpio_ps.html">XGpioPs</a> *InstancePtr, int Pin)</td></tr>
<tr><tdclass="memItemLeft"align="right"valign="top">void </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="xgpiops_8c.html#a867a6006d591516ed79727bb6392b9ac">XGpioPs_SetOutputEnable</a> (<aclass="el"href="struct_x_gpio_ps.html">XGpioPs</a> *InstancePtr, u8 Bank, u32 OpEnable)</td></tr>
<tr><tdclass="memItemLeft"align="right"valign="top">void </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="xgpiops_8c.html#a40f354039a1009e431674b8f8cb7be66">XGpioPs_SetOutputEnablePin</a> (<aclass="el"href="struct_x_gpio_ps.html">XGpioPs</a> *InstancePtr, int Pin, int OpEnable)</td></tr>
<tr><tdclass="memItemLeft"align="right"valign="top">int </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="xgpiops_8c.html#a8e2276e021fde606daa6d67454f8312c">XGpioPs_GetOutputEnablePin</a> (<aclass="el"href="struct_x_gpio_ps.html">XGpioPs</a> *InstancePtr, int Pin)</td></tr>
<p>The <aclass="el"href="struct_x_gpio_ps.html">XGpioPs</a> driver. Functions in this file are the minimum required functions for this driver. See <aclass="el"href="xgpiops_8h.html">xgpiops.h</a> for a detailed description of the driver.</p>
<tr><tdvalign="top"></td><tdvalign="top"><em>InstancePtr</em> </td><td>is a pointer to the <aclass="el"href="struct_x_gpio_ps.html">XGpioPs</a> instance. </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>Bank</em> </td><td>is the bank number of the GPIO to operate on. Valid values are 0 to XGPIOPS_MAX_BANKS - 1.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>InstancePtr</em> </td><td>is a pointer to the <aclass="el"href="struct_x_gpio_ps.html">XGpioPs</a> instance. </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>Pin</em> </td><td>is the pin number for which the Direction is to be retrieved. Valid values are 0 to XGPIOPS_DEVICE_MAX_PIN_NUM - 1.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>InstancePtr</em> </td><td>is a pointer to the <aclass="el"href="struct_x_gpio_ps.html">XGpioPs</a> instance. </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>Bank</em> </td><td>is the bank number of the GPIO to operate on. Valid values are 0 to XGPIOPS_MAX_BANKS - 1.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>InstancePtr</em> </td><td>is a pointer to the <aclass="el"href="struct_x_gpio_ps.html">XGpioPs</a> instance. </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>Pin</em> </td><td>is the pin number for which the Output Enable status is to be retrieved. Valid values are 0 to XGPIOPS_DEVICE_MAX_PIN_NUM - 1.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>InstancePtr</em> </td><td>is a pointer to the <aclass="el"href="struct_x_gpio_ps.html">XGpioPs</a> instance. </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>Bank</em> </td><td>is the bank number of the GPIO to operate on. Valid values are 0 to XGPIOPS_MAX_BANKS - 1.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>InstancePtr</em> </td><td>is a pointer to the <aclass="el"href="struct_x_gpio_ps.html">XGpioPs</a> instance. </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>Pin</em> </td><td>is the pin number for which the data has to be read. Valid values are 0 to XGPIOPS_DEVICE_MAX_PIN_NUM - 1. See <aclass="el"href="xgpiops_8h.html">xgpiops.h</a> for the mapping of the pin numbers in the banks.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>InstancePtr</em> </td><td>is a pointer to the <aclass="el"href="struct_x_gpio_ps.html">XGpioPs</a> instance. </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>Bank</em> </td><td>is the bank number of the GPIO to operate on. Valid values are 0 to XGPIOPS_MAX_BANKS - 1. </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>Direction</em> </td><td>is the 32 bit mask of the Pin direction to be set for all the pins in the Bank. Bits with 0 are set to Input mode, bits with 1 are set to Output Mode.</td></tr>
<dlclass="note"><dt><b>Note:</b></dt><dd>This function is used for setting the direction of all the pins in the specified bank. The previous state of the pins is not maintained. </dd></dl>
</div>
</div>
<aclass="anchor"id="a936aa50aa1b0d0be57a42fcfbdc79895"></a><!-- doxytag: member="xgpiops.c::XGpioPs_SetDirectionPin" ref="a936aa50aa1b0d0be57a42fcfbdc79895" args="(XGpioPs *InstancePtr, int Pin, int Direction)" -->
<tr><tdvalign="top"></td><tdvalign="top"><em>InstancePtr</em> </td><td>is a pointer to the <aclass="el"href="struct_x_gpio_ps.html">XGpioPs</a> instance. </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>Pin</em> </td><td>is the pin number to which the Data is to be written. Valid values are 0 to XGPIOPS_DEVICE_MAX_PIN_NUM - 1. </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>Direction</em> </td><td>is the direction to be set for the specified pin. Valid values are 0 for Input Direction, 1 for Output Direction.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>InstancePtr</em> </td><td>is a pointer to the <aclass="el"href="struct_x_gpio_ps.html">XGpioPs</a> instance. </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>Bank</em> </td><td>is the bank number of the GPIO to operate on. Valid values are 0 to XGPIOPS_MAX_BANKS - 1. </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>OpEnable</em> </td><td>is the 32 bit mask of the Output Enables to be set for all the pins in the Bank. The Output Enable of bits with 0 are disabled, the Output Enable of bits with 1 are enabled.</td></tr>
<dlclass="note"><dt><b>Note:</b></dt><dd>This function is used for setting the Output Enables of all the pins in the specified bank. The previous state of the Output Enables is not maintained. </dd></dl>
</div>
</div>
<aclass="anchor"id="a40f354039a1009e431674b8f8cb7be66"></a><!-- doxytag: member="xgpiops.c::XGpioPs_SetOutputEnablePin" ref="a40f354039a1009e431674b8f8cb7be66" args="(XGpioPs *InstancePtr, int Pin, int OpEnable)" -->
<tr><tdvalign="top"></td><tdvalign="top"><em>InstancePtr</em> </td><td>is a pointer to the <aclass="el"href="struct_x_gpio_ps.html">XGpioPs</a> instance. </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>Pin</em> </td><td>is the pin number to which the Data is to be written. Valid values are 0 to XGPIOPS_DEVICE_MAX_PIN_NUM - 1. </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>OpEnable</em> </td><td>specifies whether the Output Enable for the specified pin should be enabled. Valid values are 0 for Disabling Output Enable, 1 for Enabling Output Enable.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>InstancePtr</em> </td><td>is a pointer to the <aclass="el"href="struct_x_gpio_ps.html">XGpioPs</a> instance. </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>Bank</em> </td><td>is the bank number of the GPIO to operate on. Valid values are 0 to XGPIOPS_MAX_BANKS - 1. </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>Data</em> </td><td>is the value to be written to the Data register.</td></tr>
<dlclass="note"><dt><b>Note:</b></dt><dd>This function is used for writing to all the GPIO pins of the bank. The previous state of the pins is not maintained. </dd></dl>
</div>
</div>
<aclass="anchor"id="aa3f73f12266c57bd138d6814ab24ba93"></a><!-- doxytag: member="xgpiops.c::XGpioPs_WritePin" ref="aa3f73f12266c57bd138d6814ab24ba93" args="(XGpioPs *InstancePtr, int Pin, int Data)" -->
<tr><tdvalign="top"></td><tdvalign="top"><em>InstancePtr</em> </td><td>is a pointer to the <aclass="el"href="struct_x_gpio_ps.html">XGpioPs</a> instance. </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>Pin</em> </td><td>is the pin number to which the Data is to be written. Valid values are 0 to XGPIOPS_DEVICE_MAX_PIN_NUM - 1. </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>Data</em> </td><td>is the data to be written to the specified pin (0 or 1).</td></tr>
<dlclass="note"><dt><b>Note:</b></dt><dd>This function does a masked write to the specified pin of the specified GPIO bank. The previous state of other pins is maintained. </dd></dl>