Searched refs:pCmd (Results 1 – 2 of 2) sorted by relevance
/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/sensors/ |
D | sensor_io_i2c.c | 40 const registercommandlist_t *pCmd = pCommandList; in Sensor_I2C_BlockWrite() local 45 …Register_I2C_BlockWrite(pCommDrv, devInfo, slaveAddress, pCmd->writeTo, pCmd->pWriteBuffer, pCmd->… in Sensor_I2C_BlockWrite() 65 } while ((++pCmd)->writeTo != 0xFFFF); in Sensor_I2C_BlockWrite() 85 const registerwritelist_t *pCmd = pRegWriteList; in Sensor_I2C_Write() local 90 repeatedStart = (pCmd + 1)->writeTo != 0xFFFF; in Sensor_I2C_Write() 93 …Register_I2C_Write(pCommDrv, devInfo, slaveAddress, pCmd->writeTo, pCmd->value, pCmd->mask, repeat… in Sensor_I2C_Write() 98 ++pCmd; in Sensor_I2C_Write() 119 const registerreadlist_t *pCmd = pReadList; in Sensor_I2C_Read() local 122 for (pBuf = pOutBuffer; pCmd->numBytes != 0; pCmd++) in Sensor_I2C_Read() 124 … status = Register_I2C_Read(pCommDrv, devInfo, slaveAddress, pCmd->readFrom, pCmd->numBytes, pBuf); in Sensor_I2C_Read() [all …]
|
D | sensor_io_spi.c | 40 const registercommandlist_t *pCmd = pCommandList; in Sensor_SPI_BlockWrite() local 45 …Register_SPI_BlockWrite(pCommDrv, devInfo, pWriteParams, pCmd->writeTo, pCmd->pWriteBuffer, pCmd->… in Sensor_SPI_BlockWrite() 65 } while ((++pCmd)->writeTo != 0xFFFF); in Sensor_SPI_BlockWrite() 85 const registerwritelist_t *pCmd = pRegWriteList; in Sensor_SPI_Write() local 90 endDataMarkAwaited = (pCmd + 1)->writeTo != 0xFFFF; in Sensor_SPI_Write() 92 …tatus = Register_SPI_Write(pCommDrv, devInfo, pWriteParams, pCmd->writeTo, pCmd->value, pCmd->mask… in Sensor_SPI_Write() 97 ++pCmd; in Sensor_SPI_Write() 119 const registerreadlist_t *pCmd = pReadList; in Sensor_SPI_Read() local 122 for (pBuf = pOutBuffer; pCmd->numBytes != 0; pCmd++) in Sensor_SPI_Read() 124 … status = Register_SPI_Read(pCommDrv, devInfo, pReadParams, pCmd->readFrom, pCmd->numBytes, pBuf); in Sensor_SPI_Read() [all …]
|