Bit a newbie to Ti controllers. I am using TM4C1294NPDT controller.
Currently working with I2C drivers for application of RTC. I found 2 I2C.h files in the locations
C:\ti\tirtos_tivac_2_01_00_03\products\TivaWare_C_Series-2.1.0.12573c\driverlib\I2C.h
C:\ti\tirtos_tivac_2_01_00_03\packages\ti\drivers\I2C.h
After observing both the library files, I found the I2C.h in products, does contain more pre-defined functions.
I need the following details:
- What are the scenarios, that I should consider using the libraries.
- If I am using the library from the location C:\ti\tirtos_tivac_2_01_00_03\products\TivaWare_C_Series-2.1.0.12573c\driverlib\I2C.h, is there a valid to initialize parameters like
params.transferMode = I2C_MODE_CALLBACK
params.transferCallbackFxn = someI2CCallbackFunction.
Kindly pardon me, if there are any mistakes in the question asked.
Thanks in advance.