Lines Matching refs:status
110 LmnStatus_t status = LMN_STATUS_ERROR; in I2cMcuWriteBuffer() local
112 …status = ( HAL_I2C_Master_Transmit( &I2cHandle, deviceAddr, buffer, size, 2000 ) == HAL_OK ) ? LMN… in I2cMcuWriteBuffer()
114 return status; in I2cMcuWriteBuffer()
119 LmnStatus_t status = LMN_STATUS_ERROR; in I2cMcuReadBuffer() local
121 …status = ( HAL_I2C_Master_Receive( &I2cHandle, deviceAddr, buffer, size, 2000 ) == HAL_OK ) ? LMN_… in I2cMcuReadBuffer()
123 return status; in I2cMcuReadBuffer()
128 LmnStatus_t status = LMN_STATUS_ERROR; in I2cMcuWriteMemBuffer() local
139 …status = ( HAL_I2C_Mem_Write( &I2cHandle, deviceAddr, addr, memAddSize, buffer, size, 2000 ) == HA… in I2cMcuWriteMemBuffer()
141 return status; in I2cMcuWriteMemBuffer()
146 LmnStatus_t status = LMN_STATUS_ERROR; in I2cMcuReadMemBuffer() local
157 …status = ( HAL_I2C_Mem_Read( &I2cHandle, deviceAddr, addr, memAddSize, buffer, size, 2000 ) == HAL… in I2cMcuReadMemBuffer()
159 return status; in I2cMcuReadMemBuffer()
164 LmnStatus_t status = LMN_STATUS_ERROR; in I2cMcuWaitStandbyState() local
166 …status = ( HAL_I2C_IsDeviceReady( &I2cHandle, deviceAddr, 300, 4096 ) == HAL_OK ) ? LMN_STATUS_OK … in I2cMcuWaitStandbyState()
168 return status; in I2cMcuWaitStandbyState()