Honesty Rocks! truth rules.

Help With Storage Card In Embedded C++

HOME      >>       Programming

xico

I need a function to test if Storage Card write-protect switch is ON or OFF. This Storage Card is inserted in a Pocket PC with windows mobile 5.Can anybody help me??!?!thanks!


osknockout

Wow there. That's highly specific with not enough information. Do you have some sort of driver that lets you access your storage card or are you making your own driver for it?Either way, if you're using embedded c++ (not c?) then you'd want a bool function testing the specified bit on the card. There should be an interrupt which lets you test that.