<h1>gpiops v2_1</h1><p>The Xilinx PS GPIO driver. This driver supports the Xilinx PS GPIO Controller.</p>
<p>The GPIO Controller supports the following features:</p>
<ul>
<li>4 banks</li>
<li>Masked writes (There are no masked reads)</li>
<li>Bypass mode</li>
<li>Configurable Interrupts (Level/Edge)</li>
</ul>
<p>This driver is intended to be RTOS and processor independent. Any needs for dynamic memory management, threads or thread mutual exclusion, virtual memory, or cache control must be satisfied by the layer above this driver.</p>
<p>This driver supports all the features listed above, if applicable.</p>
<p><b>Driver Description</b></p>
<p>The device driver enables higher layer software (e.g., an application) to communicate to the GPIO.</p>
<p><b>Interrupts</b></p>
<p>The driver provides interrupt management functions and an interrupt handler. Users of this driver need to provide callback functions. An interrupt handler example is available with the driver.</p>
<p><b>Threads</b></p>
<p>This driver is not thread safe. Any needs for threads or thread mutual exclusion must be satisfied by the layer above this driver.</p>
<p><b>Asserts</b></p>
<p>Asserts are used within all Xilinx drivers to enforce constraints on argument values. Asserts can be turned off on a system-wide basis by defining, at compile time, the NDEBUG identifier. By default, asserts are turned on and it is recommended that users leave asserts on during development.</p>
<p><b>Building the driver</b></p>
<p>The <aclass="el"href="struct_x_gpio_ps.html">XGpioPs</a> driver is composed of several source files. This allows the user to build and link only those parts of the driver that are necessary. <br/>