minipix_uart_interface
A library and examples for the MiniPIX UART interface
pixel_encoder.c File Reference
#include <pixel_encoder.h>
+ Include dependency graph for pixel_encoder.c:

Functions

void encodePixelData (uint8_t *data, const uint8_t col_shift_num, const TPX3PixelMode_t pixel_mode)
 encoders pixel data from the RAW form recorded by the timepix More...
 

Variables

const int16_t LUT_EVENT [16]
 
const uint16_t LUT_ITOT [16384]
 
const uint16_t LUT_TOA [16384]
 
const uint16_t LUT_TOT [1024]
 
const uint16_t LUT_COLSHIFTS [1280]
 

Function Documentation

◆ encodePixelData()

void encodePixelData ( uint8_t *  data,
const uint8_t  col_shift_num,
const TPX3PixelMode_t  pixel_mode 
)

encoders pixel data from the RAW form recorded by the timepix

Parameters
datapointer to 6 x uint8_t of data
col_shift_num= 4
itot= false

Variable Documentation

◆ LUT_COLSHIFTS

const uint16_t LUT_COLSHIFTS[1280]

◆ LUT_EVENT

const int16_t LUT_EVENT[16]
Initial value:
= {
0, 15, 14, 12, 8, 1, 2, 4, 9, 3, 6, 13, 10, 5, 11, 7,
}

◆ LUT_ITOT

const uint16_t LUT_ITOT[16384]

◆ LUT_TOA

const uint16_t LUT_TOA[16384]

◆ LUT_TOT

const uint16_t LUT_TOT[1024]