CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

What _bif mean

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
rikotech8



Joined: 10 Dec 2011
Posts: 376
Location: Sofiq,Bulgariq

View user's profile Send private message

What _bif mean
PostPosted: Mon Jan 05, 2015 1:14 pm     Reply with quote

Hello guys.
Looking the header file of one uC I came across to
Quote:
_bif
.
I saw it defined a few lines above but I still don't grasp what is it for and why does it prefix the function prototypes?
Code:

#define _bif

_bif void set_tris_a(int8 value);
_bif int8 get_tris_a(void);     
_bif void output_a(int8 value); 
_bif int8 input_a(void);         
_bif int1 input_change_a(void); 
_bif int1 input(int16 pin);     
_bif int1 input_state(int16 pin);
_bif void output_low(int16 pin);
_bif void output_high(int16 pin);
_bif void output_toggle(int16 pin
_bif void output_bit(int16 pin, i
_bif void output_float(int16 pin)
_bif void output_drive(int16 pin)

Thank you.
_________________
A person who never made a mistake never tried anything new.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Jan 05, 2015 1:21 pm     Reply with quote

built-in function
Ttelmah



Joined: 11 Mar 2010
Posts: 19224

View user's profile Send private message

PostPosted: Mon Jan 05, 2015 3:44 pm     Reply with quote

It's for things like MPLAB, tells them how to display these. With these definitions, they 'understand' the functions and highlight/colour them correctly.
rikotech8



Joined: 10 Dec 2011
Posts: 376
Location: Sofiq,Bulgariq

View user's profile Send private message

PostPosted: Tue Jan 06, 2015 2:25 am     Reply with quote

Thanks!
_________________
A person who never made a mistake never tried anything new.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group