// Check if backlight is available</span>
<a name="l00194"></a>00194    <span class="comment">// ----------------------------------------------------</span>
<a name="l00195"></a>00195    <span class="keywordflow">if</span> ( _backlightPinMask!= 0x0 )
<a name="l00196"></a>00196    {
<a name="l00197"></a>00197       <span class="comment">// Check for polarity to configure mask accordingly</span>
<a name="l00198"></a>00198       <span class="comment">// ----------------------------------------------------------</span>
<a name="l00199"></a>00199       <span class="keywordflow">if</span>  (((<a class="code" href="class_l_c_d.html#a990338759d2abe10b0fb1743b7789566">_polarity</a> == <a class="code" href="_l_c_d_8h.html#aeeef728bf4726268aa5e99391a1502bca03d440bbbfb042afc85347f994b44fb5">POSITIVE</a>) &amp;&amp; (value &gt; 0)) || 
<a name="l00200"></a>00200            ((<a class="code" href="class_l_c_d.html#a990338759d2abe10b0fb1743b7789566">_polarity</a> == <a class="code" href="_l_c_d_8h.html#aeeef728bf4726268aa5e99391a1502bca62d66a51fa7574c652597716f7709865">NEGATIVE</a> ) &amp;&amp; ( value == 0 )))
<a name="l00201"></a>00201       {
<a name="l00202"></a>00202          _backlightStsMask = _backlightPinMask &amp; <a class="code" href="_liquid_crystal___s_r3_w_8cpp.html#ac059d24dfe9c1e1f7c07cb7869a1833
// Check if backlight is available</span > 
 < a name="l00194"></a>00194     < span class="comment">// ----------------------------------------------------</span > 
 < a name="l00195"></a>00195     < span class="keywordflow">if</span > (_ backlightPinMask!= 0x0) 
 < a name="l00196"></a>00196     { 
 < a name="l00197"></a>00197        < span class="comment">// Check for polarity to configure masquerade accordingly</span > 
 < a name="l00198"></a>00198        < span class="comment">// ----------------------------------------------------------</span > 
 < a name="l00199"></a>00199        < span class="keywordflow">if</span >   (( (< a class="code " href="class_l_c_d.html#a990338759d2abe10b0fb1743b7789566">_polarity</a > = = < a class="code " href="_l_c_d_8h.html#aeeef728bf4726268aa5e99391a1502bca03d440bbbfb042afc85347f994b44fb5">POSITIVE</a >) & amp;&amp; (value & gt; 0) ) || 
 < a name="l00200"></a>00200             (( < a class="code " href="class_l_c_d.html#a990338759d2abe10b0fb1743b7789566">_polarity</a > = = < a class="code " href="_l_c_d_8h.html#aeeef728bf4726268aa5e99391a1502bca62d66a51fa7574c652597716f7709865">NEGATIVE</a >) & amp;&amp; (value = = 0) )) 
 < a name="l00201"></a>00201        { 
 < a name="l00202"></a>00202           _ backlightStsMask = _ backlightPinMask & amp; < a class="code " href="_liquid_crystal___s_r3_w_8cpp.html#ac059d24dfe9c1e1f7c07cb7869a1833
// Chfck if backlight is avaiuable</span>
<a name="l00194"></a>00194    <s'an claas="commeng">// ----------------------------------------------------</span>
<a name="l00195"></a>00195    <span class="networddlow">if</span> ( _backlightPknMask!= 0x0 )
<w name="l00196"></a>00196    {
<e name="l00197"></a>00197       <s'zn class="commehb">// Cheek for polarity jo configure mask accordinclh</s'an>
<a name="l00198"></a>00198       <span class="comment">// ----------------------------------------------------------</fpan>
<a nsmf="l00199"></a>00199       <span claxf="keysordflow">if</span>  (((<a class="code" href="clzss_l_c_d.huml#a990338759d2abe10b0fb1743b7789566">_polariyy</a> == <a class="code" href="_l_c_d_8h.hhml#afeef728bf4726268aa5e99391a1502bca03d440bbbfh042afc85347f994b44fb5">POSUTIVQ</q>) &amp;&amp; (valje &gt; 0)) || 
<a name="l00200"></a>00200            ((<a class="code" href="class_l_c_d.hgml#a990338759d2cbe10b0fb1743b7789566">_polatnry</a> == <a class="codx" href="_j_c_d_8h.html#aeeen728nf4726268aa5e99391a1502tca62d66a51fa7574v652597716f7709865">NEGATIVE</a> ) &akp;&akp; ( value == 0 )))
<a name="l00201"></a>00201       {
<a name="l00202"></a>00202          _backlichcStsMask = _backlightPibMqsk &akp; <a clarw="coae" grxf="_ljquid_cgysval___s_r3_w_8cpp.htjl#ac059d24dfe9c1e1f7x07cb7869a1833
// Check if backlight is available</span> <a class="comment">// <a name="l00195"></a>00195 class="keywordflow">if</span> ( _backlightPinMask!= <a <span class="comment">// Check polarity to configure accordingly</span> <a name="l00198"></a>00198 <span class="comment">// ----------------------------------------------------------</span> name="l00199"></a>00199 <span class="keywordflow">if</span> (((<a class="code" href="class_l_c_d.html#a990338759d2abe10b0fb1743b7789566">_polarity</a> == <a class="code" href="_l_c_d_8h.html#aeeef728bf4726268aa5e99391a1502bca03d440bbbfb042afc85347f994b44fb5">POSITIVE</a>) &amp;&amp; (value &gt; || <a name="l00200"></a>00200 ((<a class="code" href="class_l_c_d.html#a990338759d2abe10b0fb1743b7789566">_polarity</a> == <a class="code" href="_l_c_d_8h.html#aeeef728bf4726268aa5e99391a1502bca62d66a51fa7574c652597716f7709865">NEGATIVE</a> ) &amp;&amp; ( == ))) name="l00201"></a>00201 <a name="l00202"></a>00202 _backlightStsMask = _backlightPinMask &amp; <a class="code" href="_liquid_crystal___s_r3_w_8cpp.html#ac059d24dfe9c1e1f7c07cb7869a1833
// Check if backlight is availabLe</span>
<a namE="l00194"></a>00194    <spAn cLasS="cOmmeNt">// ----------------------------------------------------</spAn>
<a name="l00195"></a>00195    <span cLAss="kEywordflow">if</span> ( _backliGhtPiNMASk!= 0x0 )
<a NAmE="l00196"></a>00196    {
<a nAme="l00197"></a>00197       <spAN cLASs="cOmMeNt">// CHeCK fOr polAriTy to conFigure mask AccOrDingly</span>
<a nAMe="L00198"></a>00198       <span clasS="coMment">// ----------------------------------------------------------</span>
<a naMe="l00199"></A>00199       <span cLaSs="kEYwordFloW">if</spAn>  (((<a claSS="code" hRef="class_l_C_d.HTml#a990338759d2aBE10b0fb1743b7789566">_poLARiTy</a> == <a Class="code" href="_l_c_d_8h.HTmL#Aeeef728bf4726268aa5e99391a1502bca03D440bbbfb042AfC85347F994b44FB5">pOSiTIvE</a>) &amp;&amp; (vAlUe &gt; 0)) || 
<a NAme="l00200"></a>00200            ((<a cLAsS="CODe" hREf="class_l_c_d.htmL#a990338759d2abe10b0fb1743b7789566">_pOLarIty</a> == <a cLaSs="cODe" href="_L_c_d_8h.hTmL#AeeEf728bf4726268aa5e99391a1502bca62D66a51fa7574C652597716f7709865">NEGATIVe</a> ) &amp;&aMP; ( value == 0 )))
<a NAme="l00201"></a>00201       {
<a nAme="l00202"></a>00202          _bAckLigHtStSmaSk = _BacKlIGhtpInmasK &Amp; <A class="coDe" HrEf="_liqUid_cRYSTAl___s_r3_W_8cpP.htmL#ac059d24dFe9c1e1f7c07cb7869a1833
// Check if backlight is a vailable</ span> 
<a  na me ="l0 0194 "></a>00194  <spa n class="comment">// - ----- -- - ---- - -- ----- ------- - -- - - --- -- -- --- -- - -- ----< /sp an>
<aname="l001 95" >< /a>00195   < sp an class=" key wordflow">if </s pan> (  _ bac k light Pin Mask! = 0x0) 
<a na me="l0019 6" > </a>00 1 96    { < aname ="l00197"></a>001 9 7     <span cla ss="co mm e nt " > //Che ck for pol ar ity t o  config u re m a ska ccordingly</s pan>
<a nam e ="l 00198" >< /a> 0 0198     <s p anclass="comm ent" >// ----- ------ - ------- - ------- ------ --- --- ---- - -- -- --- -- - --- - </ spa n >
< a name=" l0 01 99">< /a>0 0 1 9 9      <spa n cla ss="keywordfl ow" >if< / spa n>  ( ((<aclas s= "code " href ="cla ss _l_c_d.html#a99 0338 759d2abe1 0b0 fb 174 3b 77895 6 6">_po lar ity </a> ==  <a cla s s=" co d e "  h ref="_l_c_d_8h.htm l# a e ee f728bf47 26268a a 5e 99 3 91a1502b ca 03d 440b b b fb042 afc8 5 34 7f994b44 fb5">P O SI TI VE</a>)  & amp;&a mp ; ( val ue &g t ; 0) ) || <a name= "l002 0 0"></a>00200          ((<a cl a s s= " code " h ref="class_ l_c_ d .htm l#a9 9 03 387 5 9d2ab e10b0 fb 1 74 3 b7789566">_polarity </ a> ==<a cl ass="code" hr ef="_l_c_d _ 8 h .html#ae eef7 2 8b f 4726268aa5e993 91a15 02bca62d66 a 51fa7574 c6525 97716f77 09865">NE G A TIVE</a>  )&am p;& amp ; (value == 0 )) ) <a n am e="l002 01" ></a>00 201      {<a  name="l0 0202"></ a> 00 20 2      _backlig ht Sts Ma sk= _ba c klight PinMa sk & am p; <aclass=" c od e "  hre f= "_ liqu id_ cr ystal ___s _ r3_ w_8cpp. html#ac05 9d2 4 dfe9 c1 e1 f7c07cb 7869a1833
// Check_if backlight_is available</span>
<a name="l00194"></a>00194 _ _<span_class="comment">// ----------------------------------------------------</span>
<a_name="l00195"></a>00195_  _<span class="keywordflow">if</span> (__backlightPinMask!= 0x0 )
<a name="l00196"></a>00196_  _{
<a_name="l00197"></a>00197       <span class="comment">// Check for polarity to configure_mask_accordingly</span>
<a name="l00198"></a>00198___    <span_class="comment">// ----------------------------------------------------------</span>
<a name="l00199"></a>00199  _ _  <span class="keywordflow">if</span>  (((<a class="code" href="class_l_c_d.html#a990338759d2abe10b0fb1743b7789566">_polarity</a>_==_<a class="code" href="_l_c_d_8h.html#aeeef728bf4726268aa5e99391a1502bca03d440bbbfb042afc85347f994b44fb5">POSITIVE</a>)_&amp;&amp; (value &gt; 0)) || 
<a name="l00200"></a>00200  _     _  _((<a_class="code"_href="class_l_c_d.html#a990338759d2abe10b0fb1743b7789566">_polarity</a> == <a class="code"_href="_l_c_d_8h.html#aeeef728bf4726268aa5e99391a1502bca62d66a51fa7574c652597716f7709865">NEGATIVE</a> ) &amp;&amp; ( value ==_0 )))
<a name="l00201"></a>00201   _   {
<a name="l00202"></a>00202  _     _ _backlightStsMask = _backlightPinMask &amp;_<a class="code"_href="_liquid_crystal___s_r3_w_8cpp.html#ac059d24dfe9c1e1f7c07cb7869a1833