Lines Matching refs:status
112 LmnStatus_t status = LMN_STATUS_ERROR; in I2cMcuWriteBuffer() local
114 …status = ( HAL_I2C_Master_Transmit( &I2cHandle, deviceAddr, buffer, size, 2000 ) == HAL_OK ) ? LMN… in I2cMcuWriteBuffer()
116 return status; in I2cMcuWriteBuffer()
121 LmnStatus_t status = LMN_STATUS_ERROR; in I2cMcuReadBuffer() local
123 …status = ( HAL_I2C_Master_Receive( &I2cHandle, deviceAddr, buffer, size, 2000 ) == HAL_OK ) ? LMN_… in I2cMcuReadBuffer()
125 return status; in I2cMcuReadBuffer()
130 LmnStatus_t status = LMN_STATUS_ERROR; in I2cMcuWriteMemBuffer() local
141 …status = ( HAL_I2C_Mem_Write( &I2cHandle, deviceAddr, addr, memAddSize, buffer, size, 2000 ) == HA… in I2cMcuWriteMemBuffer()
143 return status; in I2cMcuWriteMemBuffer()
148 LmnStatus_t status = LMN_STATUS_ERROR; in I2cMcuReadMemBuffer() local
159 …status = ( HAL_I2C_Mem_Read( &I2cHandle, deviceAddr, addr, memAddSize, buffer, size, 2000 ) == HAL… in I2cMcuReadMemBuffer()
161 return status; in I2cMcuReadMemBuffer()
166 LmnStatus_t status = LMN_STATUS_ERROR; in I2cMcuWaitStandbyState() local
168 …status = ( HAL_I2C_IsDeviceReady( &I2cHandle, deviceAddr, 300, 4096 ) == HAL_OK ) ? LMN_STATUS_OK … in I2cMcuWaitStandbyState()
170 return status; in I2cMcuWaitStandbyState()