Malexis 90640 sensor
Dependencies: mbed
MLX90640_API.h@0:99e98f131071, 2018-03-27 (annotated)
- Committer:
- withboobs
- Date:
- Tue Mar 27 13:34:11 2018 +0000
- Revision:
- 0:99e98f131071
- Child:
- 1:3f763d28c1be
nothing to say
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
withboobs | 0:99e98f131071 | 1 | #ifndef _MLX640_API_H_ |
withboobs | 0:99e98f131071 | 2 | #define _MLX640_API_H_ |
withboobs | 0:99e98f131071 | 3 | |
withboobs | 0:99e98f131071 | 4 | typedef struct |
withboobs | 0:99e98f131071 | 5 | { |
withboobs | 0:99e98f131071 | 6 | int16_t kVdd; |
withboobs | 0:99e98f131071 | 7 | int16_t vdd25; |
withboobs | 0:99e98f131071 | 8 | float KvPTAT; |
withboobs | 0:99e98f131071 | 9 | float KtPTAT; |
withboobs | 0:99e98f131071 | 10 | uint16_t vPTAT25; |
withboobs | 0:99e98f131071 | 11 | uint16_t alphaPTAT; |
withboobs | 0:99e98f131071 | 12 | int16_t gainEE; |
withboobs | 0:99e98f131071 | 13 | float tgc; |
withboobs | 0:99e98f131071 | 14 | float cpKv; |
withboobs | 0:99e98f131071 | 15 | float cpKta; |
withboobs | 0:99e98f131071 | 16 | uint8_t resolutionEE; |
withboobs | 0:99e98f131071 | 17 | uint8_t calibrationModeEE; |
withboobs | 0:99e98f131071 | 18 | float KsTa; |
withboobs | 0:99e98f131071 | 19 | float ksTo[4]; |
withboobs | 0:99e98f131071 | 20 | int16_t ct[4]; |
withboobs | 0:99e98f131071 | 21 | float alpha[768]; |
withboobs | 0:99e98f131071 | 22 | int16_t offset[768]; |
withboobs | 0:99e98f131071 | 23 | float kta[768]; |
withboobs | 0:99e98f131071 | 24 | float kv[768]; |
withboobs | 0:99e98f131071 | 25 | float cpAlpha[2]; |
withboobs | 0:99e98f131071 | 26 | int16_t cpOffset[2]; |
withboobs | 0:99e98f131071 | 27 | float ilChessC[3]; |
withboobs | 0:99e98f131071 | 28 | uint16_t brokenPixels[5]; |
withboobs | 0:99e98f131071 | 29 | uint16_t outlierPixels[5]; |
withboobs | 0:99e98f131071 | 30 | } paramsMLX90640; |
withboobs | 0:99e98f131071 | 31 | |
withboobs | 0:99e98f131071 | 32 | int MLX90640_DumpEE(uint8_t slaveAddr, uint16_t *eeData); |
withboobs | 0:99e98f131071 | 33 | int MLX90640_GetFrameData(uint8_t slaveAddr, uint16_t *frameData); |
withboobs | 0:99e98f131071 | 34 | int MLX90640_ExtractParameters(uint16_t *eeData, paramsMLX90640 *mlx90640); |
withboobs | 0:99e98f131071 | 35 | float MLX90640_GetVdd(uint16_t *frameData, paramsMLX90640 *params); |
withboobs | 0:99e98f131071 | 36 | float MLX90640_GetTa(uint16_t *frameData, paramsMLX90640 *params); |
withboobs | 0:99e98f131071 | 37 | void MLX90640_GetImage(uint16_t *frameData, paramsMLX90640 *params, float *result); |
withboobs | 0:99e98f131071 | 38 | void MLX90640_CalculateTo(uint16_t *frameData, paramsMLX90640 *params, float emissivity, float tr, float *result); |
withboobs | 0:99e98f131071 | 39 | int MLX90640_SetResolution(uint8_t slaveAddr, uint8_t resolution); |
withboobs | 0:99e98f131071 | 40 | int MLX90640_GetCurResolution(uint8_t slaveAddr); |
withboobs | 0:99e98f131071 | 41 | int MLX90640_SetRefreshRate(uint8_t slaveAddr, uint8_t refreshRate); |
withboobs | 0:99e98f131071 | 42 | int MLX90640_GetRefreshRate(uint8_t slaveAddr); |
withboobs | 0:99e98f131071 | 43 | int MLX90640_GetSubPageNumber(uint16_t *frameData); |
withboobs | 0:99e98f131071 | 44 | int MLX90640_GetCurMode(uint8_t slaveAddr); |
withboobs | 0:99e98f131071 | 45 | int MLX90640_SetInterleavedMode(uint8_t slaveAddr); |
withboobs | 0:99e98f131071 | 46 | int MLX90640_SetChessMode(uint8_t slaveAddr); |
withboobs | 0:99e98f131071 | 47 | |
withboobs | 0:99e98f131071 | 48 | #endif |