Other Parts Discussed in Thread: TPS60120
Tool/software: Code Composer Studio
Hi,
I want to know is there any compiler restrictive when assigning a return value of function to a variable.
Eg,. int variable = get_port_status()
int get_port_status()
{
int port_A = 0x80; //PORT A has Bit7 enabled
return port_A;
}
During Debugging, When I step into this kind of statement, Debugger has to go and execute the function statements. But, instead of the function is not stepped into this. So, i am getting error data at after step into.