View previous topic :: View next topic |
Author |
Message |
rikotech8
Joined: 10 Dec 2011 Posts: 376 Location: Sofiq,Bulgariq
|
What _bif mean |
Posted: Mon Jan 05, 2015 1:14 pm |
|
|
Hello guys.
Looking the header file of one uC I came across to .
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
|
|
Posted: Mon Jan 05, 2015 1:21 pm |
|
|
built-in function |
|
 |
Ttelmah
Joined: 11 Mar 2010 Posts: 19768
|
|
Posted: Mon Jan 05, 2015 3:44 pm |
|
|
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
|
|
Posted: Tue Jan 06, 2015 2:25 am |
|
|
Thanks! _________________ A person who never made a mistake never tried anything new. |
|
 |
|