Question: Access memory map registers? How can the pointers differentiate between data space, program space, etc.?

Answer: Pointers won't point to program space, only data and io space. If you set up a pointer in C to point to an address in memory it will by default point to data memory. To point to IO space, see the example in the C Compiler UG on page 3-11.


Device: TMS320C5x
Category: TI Tools
Detail: Code Generation Tools
Detail2: Compiler
Title: Can a pointer reference io space, instead of data?
Source: Case from TMS320 Hotline
Date: 8/1/97
GenId: 0050010

© Copyright 1998 Texas Instruments Incorporated. All rights reserved.
Trademarks, Important Notice!