SPI_Enable using I2C_Type * ?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SPI_Enable using I2C_Type * ?

Jump to solution
363 Views
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

Labels (1)
Tags (1)
0 Kudos
1 Solution
309 Views
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

View solution in original post

0 Kudos
1 Reply
310 Views
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 Kudos