Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Writing to hardware device registers

Status
Not open for further replies.

hagbardc

Programmer
Mar 13, 2002
4
US

So, I have to set a bit in a register on a PCMCIA card device. I know the location of the bit I want to set (the 5th bit in the register at BASE+04h). My problem is I have no idea how to go about doing something like this in any language. None whatsoever. Starting at finding out where and exactly what BASE refers to, and ending with the syntax to access a register on a peripheral device, I'm whistling in the dark.

I understand that this might make it a little difficult to answer in a forum response, (although that would be greatly appreciated) it would be also great if someone could post a link to a tutorial or help page that explains details of doing hardware access via C/C++. Thanks in advance -

hagbardc
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top