Hi,
I'm trying to write a function that takes the port it should output to as a parameter. I can of course pass pointers like P1OUT but how to I get the other registers of the corresponding port like P1SEL as well?
Btw, the function itself is written in asm and called from C
Regards,
Max