Jump to content
43oh

GPIOPinRead Vs ROM_GPIOPinRead


Recommended Posts

Is there any significatn advantage of using ROM_GPIOPinRead over GPIOPinRead?

 

I want to read the status of a pin,

 

GPIOPinRead(GPIO_PORTA_BASE,GPIO_PIN_5)

 

I am hoping to use this method to read the status. What is the return value? Where can i find the documentation which contains aboout GPIOPinRead?

 

Thank you.

 

Link to post
Share on other sites

Hi,

There is an advantage: space (flash) saving - the ROM_ is contained in separate space, not in flash, so all flash can be dedicated to application. Tested and checked (although there are two or three functions which are bad implemented).

The main documentation can be the StellarisWare\TivaWare - since these are based on the driverlib functions. Other documentation - check the CD which came with the board - it could be there (some .pdf) or download from TI. Worth the effort - you can find out some good application notes.

MacLyon 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...