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,All I try to define the start_address type, //------------------------------------- unsigned char xdata Start_Address _at_ 0x2000; //------------------------------------- and also need to access 0x2001,0x2002,...... my solution is repeat define the address, but it is poor efficiency. Is there are any function like (Start_Address+1),(Start_Address+2)...... can implementation ? or any suggestion. Thanks.
good practice to declare a structure that describes your peripheral One reason for doing this instead of pointer offsets or an array is to help your source-level symbolic debugger become able to display the registers of the peripheral with nice human-readable names.