Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

using macro as function parameter

Status
Not open for further replies.

spartekus

Member level 5
Member level 5
Joined
May 27, 2010
Messages
81
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Location
Duisburg, Germany
Visit site
Activity points
1,918
Hi all,

i would like to call macro(it is input of microcontroller) with a function.
#define X0 _RC3

i need to do debouncing.

does anyone know, can we use macro as function parameter? if yes, what should be type of function variable?

char debounce( ??? )

thanks
Regards
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top