We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi Does anyone know how to force a local variable to be aligned at word address? The DMA transfer needs word-aligned address. Thanks. Joseph
#define WORD_NUM 1 char MyLocal[WORD_NUM*sizeof(short)+1]; short *p=(short *)MyLocal; p&=(long )~1;//word boundary.