Embedded TCP/IP stack: FNET_CPU_ADDR_TO_INSTRUCTION

FNET

#define FNET_CPU_ADDR_TO_INSTRUCTION (   addr)

Converts address value to the instruction.

Parameters
addrAddress to be adjusted.
See also
FNET_CPU_INSTRUCTION_TO_ADDR

This is CPU-specific macro that Converts address value to the instruction address.
If the current platform is Kinetis, it sets the Thumb bit (bit 0) of the address to 1.
If the current platform is ColdFire or MPC, it does nothing.

Definition at line 415 of file fnet_cpu.h.


© 2005-2018 by Andrey Butok. http://fnet.sourceforge.net