Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 216719

Forum Post: RE: CCS/TMS320F28027F: initializing a GPIO-17 in TMS320F28027F as general purpose and as External Interrupt

$
0
0
Jesal, Tst5 = (myCap->ECEFLG) & 0x00FF; The line above should correctly mask myCap.ECEFLG to only show the lower 8 bits. This makes me suspect that myCap->ECEFLG isn't referenced correctly. Can you try something even more simple like the following and see if the correct value can be found in "TstStructAccess". TstStructAccess = myCap->ECEFLG; Tst5 = (myCap->ECEFLG) & 0x00FF; If you cannot see the correct value then you need to check your pointers, references, and de-references. Regards, Cody

Viewing all articles
Browse latest Browse all 216719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>