Quantcast
Channel: PIC24 Topics
Viewing all articles
Browse latest Browse all 3494

Long var return from near and far functions. (markQ)

$
0
0
I observed a weird effect when I was calling the TickGet function in the Ethernet stack code where it was returning corrupted values. It should return a 32 bit unsigined tick value but I found that the upper 16 bits were being sign extened from bit 15.e.g..

Viewing all articles
Browse latest Browse all 3494

Trending Articles



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