answersLogoWhite

0


Best Answer

No, we can not use all the function inside ISR. the function should not call ineternally malloc and free(). the function should be non blocking.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

13y ago

ISR would be triggered by hardware and managed by kernel level. But printf() is user level library.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Can you use any function inside ISR?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Can you put breakpoint inside ISR?

Yes. We can use breakpoint inside the ISR.


What is the benefit for a company to use an ISR router?

An ISR provides the functionality of a switch, router, and firewall in one device


What kind of fuel does the 2013 Bentley Supersports-Convertible-ISR use?

The 2013 Bentley Supersports-Convertible-ISR runs on flex-fuel (FFV).


Why all variables are declared with in the function?

It is not necessary to to declare variables inside the function in C. If you declare a variable inside a function, the variable becomes local for the function and another variable of same name can be declared in any other function, but you can not use the variable declared in other function. When you declare any variable outside the function body then the variable becomes global and can be used in any function of the program. Note: errno is an example for a variable declared outside any function.


How do you write a function with a variable number of input elements in PHP?

When defining your function, do not put any arguments in the definition (e.g. function myFuntion()). Inside the function, you can use func_num_args() and func_get_arg($number) to get the function's arguments.


What is the function of a data pump?

if you wanna look what it inside a variable you can use data_dump function, to ilustrate clarity.


Why should a function or a variable be declared before its first use?

It is somewhat syntax of programming. But when program runs,device known as pre-processor process statements before main function. So when we use that function inside main function it will get idea and run directly without showing any error. So for compilers simplicity and fast execution purpose it is necessary to declare function before its use.


How do you access global variable from within the main function when the local variable is of the same name?

When you acess a global variable inside main function you must use the same name, because the variable declared as global can be accessed by any function/procedure on the class where it was defined.


What is the Use of static function?

A static function is a member function that is not associated with any instance of the class; it has no this pointer.


Where do you use no argument no return in c function?

Where there is no need to return any type of value from a function


What is the use of function in c?

using function we can call the function in the program any where. by using functions we can reduce the code redundancy


Can you use r square to find the volume of sphere inside of r cube?

No. For a volume you must have a cubic function.