How to use 'inline'? If the subroutine use the C variation mapping a hardware port or registor directly, does the compile make the context protection automatically?
"How to use 'inline'?" There is no 'inline' in C51 - see the Manual.