msp430 - Does MSP430G2553 takes care of interrupt re-entrancy or should I allocate stacks for each tasks in ISR? -
i @ present initializing stacks tasks need serviced upon receiving interrupt. example there 2 tasks gets called different periodicity, both tasks using same isr. task higher sample rate should interrupt lower sample rate task , enter same isr. @ present allocating stacks tasks , upon completion free stack memory. know if msp430 takes care of re-entrancy on it's own, not need create , delete stack, save , restore context.
there's 1 (the current) hardware stack. so, in theory, long doesn't overflow, don't need create dedicated stacks , can handle interrupts on same stack.
Comments
Post a Comment