I am trying to program experimentar kit f28335 delfino and I use such command:
GpioCtrlRegs.GPAMUX1.all = 0;
When I use:
GpioCtrlRegs.GPAMUX2.all = 0; // GPIO31 ... GPIO16 = General Purpose I/O
it does not work - the compiler returns:
Severity and Description Path Resource Location Creation Time Idexpected a field name GpioCtrlRegs.GPAMUX2.all = 0; // GPIO31 ... GPIO16 = General Purpose I/O ^ LEDY_2 LEDY _2.c line 24 1343936429991 517"
I don't know why...
I add to the project:
Ok - I solved the problem:
in the former line I wrote:
#define GPAMUX2 *(volatile unsigned long *)0x6F88
So there was a reference to the GPAMUX2...
After I deleted this line everything works good :)
But I don't understand the following instrucion:
is it a reference to the same place in memory, as it is defined in "DSP2833x_Gpio.h" ??
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.