Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - Proper usage of spi-master.h and spi.h: (1 Item)
   
Proper usage of spi-master.h and spi.h  
These 2 head files both locate in "user/include/hw/".

QNX SPI framework shows that application should use spi-master.h, it provide APIs like spi_open/spi_read/spi_write... 
Currently I implement a test app include spi-master.h, and my spi driver works well.

I'm little confused, when should we use spi.h? (i saw it just declare a func list)

I would greatly appreciate it if you could solve the puzzle!