counter device and driver as a design example. </p>
<p>The purpose of this function is to illustrate how to use the <a class="el" href="struct_x_tmr_ctr.html" title="The XTmrCtr driver instance data. ">XTmrCtr</a> component in a polled mode.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">DeviceId</td><td>is the XPAR_&lt;TMRCTR_instance&gt;_DEVICE_ID value from xparameters.h </td></tr>
    <tr><td class="paramname">TmrCtrNumber</td><td>is the timer count