analogdevicesinc / TMC-API

TRINAMIC's IC API
MIT License
199 stars 86 forks source link

Tmc429 revision #18

Closed Chris-Idema-WizzDev closed 2 years ago

Chris-Idema-WizzDev commented 3 years ago

Integer types were conflicting and naming was confusing so I fixed those. TRUE and FALSE weren't defined by my compiler so I added those to the types file so the code can build. ReadWriteSPI function declaration was missing from header file so I added it.

The 429 driver is far from complete since it isn't written for multiple instances and the header files are not c++ compatible. In my application I have to modify every function to have an instance pointer so I can use multiple devices or I will have to convert the code to c++.