This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Enable intuurpt inside interrupt



I need to enable the interrupt inside a interrupt in tm4c123ah6.

Inside the timer routine, after some instruction i need to enable the interrupt for adc until end timer routine interrupt

How is possible don't using priority register becaus I need a temporany enable

void Timer_IntHamdler (void)
  {
  HWREG (GPIO_PORTA_BASE + (0x80 << 2)) = 0;       
  HWREG (GPIO_PORTF_BASE + (0x0D << 2)) = 0;      

  HWREG(TIMER1_BASE + TIMER_O_ICR) |= TIMER_TIMA_TIMEOUT;
  HWREG(TIMER1_BASE + TIMER_O_IMR) |= TIMER_TIMA_TIMEOUT;
  HWREG(TIMER1_BASE + TIMER_O_ICR) |= TIMER_TIMB_TIMEOUT;
  HWREG(TIMER1_BASE + TIMER_O_IMR) |= TIMER_TIMB_TIMEOUT;

. .  .

<------- I need here to enable ADC interrupt


 TestADC (1);   

  }

Thanks

Stefano