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

Viewing Variables

Hi there,

Iam using Keil uVision3 (eval. version MDK3.11).
Iam unable to view the contents of the vairables *vect_addr and *vect_cntl if I hover my mouse pointer over it nor am i able to add it the Watch windows.
Kindly suggest a method of viewing it.

DWORD install_irq( DWORD IntNumber, void *HandlerAddr, DWORD Priority )
{
    DWORD *vect_addr;
    DWORD *vect_cntl;

    VICIntEnClr = 1 << IntNumber; /* Disable Interrupt */
    if ( IntNumber >= VIC_SIZE )
    {
                return ( FALSE );
    }
    else
    {
                /* find first un-assigned VIC address for the handler */
                vect_addr = (DWORD *)(VIC_BASE_ADDR + VECT_ADDR_INDEX + IntNumber*4);
                vect_cntl = (DWORD *)(VIC_BASE_ADDR + VECT_CNTL_INDEX + IntNumber*4);
                *vect_addr = (DWORD)HandlerAddr;        /* set interrupt vector */
                *vect_cntl = Priority;
                VICIntEnable = 1 << IntNumber;    /* Enable Interrupt */
                return( TRUE );
    }
}

0