CSL_gpioHwSetup和CSL_gpioHwSetupRaw的区别是那些?该如何使用?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
在C6455_CSL_APIREFERENCE文档里有说明。
CSL_gpioHwSetup
It configures the gpio registers as per the values passed in the hardware setup structure. This is a dummy API . Its is left for future implementation.
CSL_gpioHwSetupRaw
This function initializes the device registers with the register-values provided through the Config Data structure. This configures registers based on a structure of register values, as compared to HwSetup, which configures registers based on structure of bit field values.