SPI_Enable using I2C_Type * ?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

SPI_Enable using I2C_Type * ?

ソリューションへジャンプ
993件の閲覧回数
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 解決策
939件の閲覧回数
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 返信
940件の閲覧回数
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 件の賞賛
返信