what is the difference between sbit and bit

Thread Starter

kof97

Joined May 8, 2010
9
what is the difference between sbit and bit data type.and where we use sbit and bit?
and sumetimes we use bit instead of sbit why?
 
Last edited:

bertus

Joined Apr 5, 2008
22,270
Hello,

With the info you provided we can not give you an answer.
What language is used?
What processor is used?
What context is it used?

Bertus
 

AlexR

Joined Jan 16, 2008
732
I'd never heard of sbit refore but a quick google search indicates that it's a data type used by the Keil compiler for bits in special function registers.
Since I neither know nor really want to know anything about the Keil compiler I suggest you read your manual for details on how and why it is used.
 
Top