Uint16_t numberOfBytesToRead = bytesRemaining endTransmission ( false ) != 7 ) //Do not release bus Setup a series of chunked I2C_BUFFER_LENGTH byte reads Uint16_t dataSpot = 0 //Start at beginning of array Do we need to re-issue the address command each time? It doesn't look like sequential read works. ![]() Uint16_t bytesRemaining = nWordsRead * 2 Caller passes number of 'unsigned ints to read', increase this to 'bytes to read' Int MLX90640_I2CRead ( uint8_t _deviceAddress, unsigned int startAddress, unsigned int nWordsRead, uint16_t * data ) Read a number of words from startAddress. Int MLX90640_SetChessMode ( uint8_t slaveAddr (C) 2017 Melexis N.V. Int MLX90640_SetInterleavedMode ( uint8_t slaveAddr ) Int MLX90640_GetCurMode ( uint8_t slaveAddr ) Int MLX90640_GetSubPageNumber ( uint16_t * frameData ) Int MLX90640_GetRefreshRate ( uint8_t slaveAddr ) Int MLX90640_SetRefreshRate ( uint8_t slaveAddr, uint8_t refreshRate ) Int MLX90640_GetCurResolution ( uint8_t slaveAddr ) Int MLX90640_SetResolution ( uint8_t slaveAddr, uint8_t resolution ) Void MLX90640_CalculateTo ( uint16_t * frameData, paramsMLX90640 * params, float emissivity, float tr, float * result ) Void MLX90640_GetImage ( uint16_t * frameData, paramsMLX90640 * params, float * result ) Int MLX90640_ExtractParameters ( uint16_t * eeData, paramsMLX90640 * mlx90640 ) įloat MLX90640_GetVdd ( uint16_t * frameData, paramsMLX90640 * params ) įloat MLX90640_GetTa ( uint16_t * frameData, paramsMLX90640 * params ) Int MLX90640_GetFrameData ( uint8_t slaveAddr, uint16_t * frameData ) Int MLX90640_DumpEE ( uint8_t slaveAddr, uint16_t * eeData ) See the License for the specific language governing permissions and ![]() WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. Unless required by applicable law or agreed to in writing, softwareĭistributed under the License is distributed on an "AS IS" BASIS, You may not use this file except in compliance with the License. Licensed under the Apache License, Version 2.0 (the "License")
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |