That all depends on what you've #define-d "PORTE_IN" to be, and what the function prototype for "put_on_leds()" is, if it's even a function (for all we know, it could be a macro, too). Such nonstandard macros as that are touted as making the code "clearer". Only they sure don't seem to be living up to that billing in this case, do they?
Any idea why this does not work?
Thanks in advance!
PORTB.OUT = (PORTE_IN << 4); //This one works!
put_on_leds(0xAA); //This one works!
put_on_leds((PORTE_IN << 4)); //This one DO NOT work :(