Tool/software: TI C/C++ Compiler
Dear all!
Who can help me with the issue with interrupt:
void main(void)
{
P4SEL=BIT0;
P1DIR |= BIT0;
P1SEL &= ~ BIT0;
P1SEL|=BIT0;
P1DIR &= ~BIT0;
timerB_init();
_BIS_SR(LPM0_bits+GIE);
}
void timerB_init()
{
TBCTL=MC_2+TBSSEL_1+TBCLR+TBIFG;
TBCCTL0=CM_1+SCS+CCIS_1+CAP+CCIE;
}
#pragma vector = TIMERB0_VECTOR
__interrupt void TIMERB0_VECTOR_ISR (void)
{
P1OUT &= ~0x01;
}
It doesn't work. I tried to go into the interrupt part, but it doesn't happen. Please could you explain me, what the reason?


