Tool/software: Code Composer Studio
typedef struct _EMAC_Desc {
struct _EMAC_Desc *pNext;
Uint8 *pBuffer;
Uint32 BufOffLen;
Uint32 PktFlgLen;
} EMAC_Desc;
I have the above structure and I declared a pointer variable to the above structure.
EMAC_Desc *ptr ;
But when I write to the strucure variables as below
ptr->BufOffLen = 60;
and debug the value in ptr->BufOffLen is not changing ?
Can anyone help me ??