pavan.emb
Newbie level 5
Hi all,
I am writing an interfacing program for AT28C64B with C8051F120 microcontroller.
But my doubt is " I want to return the STATUS for Write function whether Success or not. I may use an int or char for this. But what I am Thinking is, is it possible to return bit type for a function."
Also i want to know whether I can pass a bit as an argument to a function or not.
Thanks in advance.
I am writing an interfacing program for AT28C64B with C8051F120 microcontroller.
But my doubt is " I want to return the STATUS for Write function whether Success or not. I may use an int or char for this. But what I am Thinking is, is it possible to return bit type for a function."
Also i want to know whether I can pass a bit as an argument to a function or not.
Thanks in advance.