• Address of xdata structure elements are not linked into code structure
    I created a structure about data fields, which are located in a structure in xdata area. The informal structure itself should be in code area. typedef struct { unsigned char *pucRamAddr; eNvmDevice...
  • toggling port pins through an element in a structure
    Here is what I am trying to do: sbit PORT_1_0 = P1^0; void main () { PORT_1_0 = 1; while(1) { PORT_1_0 =~ PORT_1_0; } } Now this is as simple as it gets. The question is, is it possible...
  • How to see structure elements while editing
    Hi, I know that µVision support that a user can see the attributes from any userdefined structure in da dropdown-menu. For example: typedef struct counter { INT32U MAXALLOWEDVALUE; INT32U CURRENTVALUE;...
  • How to declare a structure?
    I define an area of memory that in 'non-volatile' so it doesn't get cleared on powerup. I do this is a module called memmap.asm like this: MyData DS 512 ;Located at 0x801C In another module, I want...
  • Declaring structure as extern
    I am using a structure named my_struct which is to be declared as extern. struct my_struct{ int a; int b; }; struct my_struct first; struct my_struct second; How do I declare the structure...