<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Single bit getting of a user declared variable</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/16195/single-bit-getting-of-a-user-declared-variable</link><description> Can individual bits of a user declare variable be accessed just like using SBIT for Ports?. </description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Single bit getting of a user declared variable</title><link>https://community.arm.com/thread/71418?ContentTypeID=1</link><pubDate>Fri, 09 May 2003 00:38:05 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:f23714ec-7e03-441f-a956-28c711988736</guid><dc:creator>Mansoor Haq</dc:creator><description>&lt;p&gt;Thanks for the help sir.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Single bit getting of a user declared variable</title><link>https://community.arm.com/thread/40175?ContentTypeID=1</link><pubDate>Tue, 06 May 2003 05:46:18 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:2541b449-db87-4bfa-9b84-f7847f151f55</guid><dc:creator>John Donaldson</dc:creator><description>&lt;p&gt;Yes, as long as you declare the variable as bdata:&lt;br /&gt;
&lt;br /&gt;
unsigned char bdata var;&lt;br /&gt;
&lt;br /&gt;
sbit bit0=var^0;&lt;br /&gt;
&lt;br /&gt;
Stefan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>