Quantcast
Channel: MSP low-power microcontrollers
Viewing all articles
Browse latest Browse all 62309

Forum Post: RE: How to correctly define a name to a output port bit.

$
0
0
Hi Jerry, I did a little more digging and found this E2E post discussing a similar topic: Differences between "msp430.h" and "io430.h" The discussion about accessing individual I/O bits starts about halfway through the post. In general, msp430.h does not have support for PxOUT.BITy accesses and masking to a bit structure generates very bad and inefficient object code. This could be the reason you see it work only sometimes. Hope this helps! Best regards, Caleb Overbay

Viewing all articles
Browse latest Browse all 62309

Trending Articles