The macro are just symbolic representations and cannot contain data type differentiations within the parameters that we give. The in line functions can have the data types too defined as a part of them. The disadvantage in using both is that the inclusion of condition checks may lead to increase in code space if the function is called many times.
Embedded system is just combination of s/w and h/w that is some embedded sys may have os some may not and rtos is an os.
• Encapsulation: The data that are related to the specific object are contained inside the object structure and hidden from the other entities of the environment • Polymorphism: The mechanism by which the same pointer can refer to different types of objects, which are basically linked by some generic commonality. • Abstraction: Hiding the data […]
ISR refers to the Interrupt Service Routines. These are procedures stored at specific memory addresses which are called when certain type of interrupt occurs. The ISRs cannot return a value and they cannot be passed any parameters.