Other Parts Discussed in Thread: TMS320F28335
I am working on code for a TMS320F28335 in Code Composer Studio 6.1.2.00015
I would like to create meaningful aliases for my GPIO pins (ADC_chipselect, LED0, etc.), but I am having trouble coming up with the right way to do it.
I have tried this:
Uint16 *LED0; LED0 = &GpioDataRegs.GPADAT.bit.GPIO16
but the compiler tells me I can't get the address of a bit field. Aliasing, 32 bits at once is not really going to help me. Can someone point me in the right direction?
Thank you!
Daniel