SPI_Enable using I2C_Type * ?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

SPI_Enable using I2C_Type * ?

跳至解决方案
995 次查看
NiklasJohansson
Contributor I

Dear All,

 

I am reading in the Kinetis SDK 2.0 API. Is this really correct?

 

static void SPI_Enable(I2C_Type *base, bool enable);

 

Shouldn't it be SPI_Type *?

 

Cheers

Niklas

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
941 次查看
Jmart
NXP Employee
NXP Employee

Niklas,

You are correct, this is the incorrect type specified in the SPI_Enable function prototype.

Thanks for bringing this to our attention. I've verified that this issue has been fixed in the latest version of the driver. I've also requested an update to our online API documentation, which should already be in place.

Thanks,

Jason

在原帖中查看解决方案

0 项奖励
回复
1 回复
942 次查看
Jmart
NXP Employee
NXP Employee

Niklas,

You are correct, this is the incorrect type specified in the SPI_Enable function prototype.

Thanks for bringing this to our attention. I've verified that this issue has been fixed in the latest version of the driver. I've also requested an update to our online API documentation, which should already be in place.

Thanks,

Jason

0 项奖励
回复