• Accessing structure pointer members
    Hi all, For some reason, I cannot access the structure members if I use struct pointers. eg: typedef struct { int member1; }structure_t; structure_t structure, *structure_ptr; int...
  • Pointer to Structure with pointer.
    I'm having a problem with a pointer to struct. I'm working with the PC16552 UART, (it has 2 UARTs), and I created a struct for each UART like this: typedef struct _uart { uchar xdata *ucBuffer; uchar...
  • Code Area
    How do I set my c51 keil to a compact memory model?
  • Pointer to array in a structure?
    hello, i have a simple little structure like this unsigned char index; struct tag { unsigned char a[20]; unsigned char b[20]; unsigned char c }; then i declare a pointer like this...
  • Reassigning pointer to a structure
    I'm having trouble with reassigning a pointer to a structure. Given the 2 files, structure.h and structure.c listed below: structures.h ------------ struct device_struct { unsigned char address;...