This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Problem with passing parameters

Hey guys,

I've got a huge problem with passing arguments to an invoked function. It just doesn't work, at least sometimes... I can't figure out why this could possibly happen, but it does. My application is very small, just a few KB, thats why I dont assume there is a stack overflow or something like that. Any other guesses or maybe even solutions?

Thanks

Parents
  • Another thing, the KEIL Help File says:

    The using attribute is most useful in interrupt
    functions. Usually a different register bank is
    specified for each interrupt priority level.
    Therefore, you could assign one register bank for all
    non-interrupt code, a second register bank for the
    high-level interrupt, and a third register bank for the
    low-level interrupt.
    


    It doesn't mention anything about any function must have the same 'using' as the code it is called from and unfortunately this wasn't the problem im my application, too. But maybe I just got it all wrong;)

    Any other guesses?

Reply
  • Another thing, the KEIL Help File says:

    The using attribute is most useful in interrupt
    functions. Usually a different register bank is
    specified for each interrupt priority level.
    Therefore, you could assign one register bank for all
    non-interrupt code, a second register bank for the
    high-level interrupt, and a third register bank for the
    low-level interrupt.
    


    It doesn't mention anything about any function must have the same 'using' as the code it is called from and unfortunately this wasn't the problem im my application, too. But maybe I just got it all wrong;)

    Any other guesses?

Children
No data