minipix_uart_interface
A library and examples for the MiniPIX UART interface
Gatherer Class Reference

#include <gatherer.h>

Public Member Functions

 Gatherer (const std::string data_path)
 
void connect (const std::string &serial_port, const int &baud_rate, const bool &virtual_port)
 
void charCallback (const char in)
 
void getStatus (void)
 
void getTemperature (void)
 
void measureFrame (const uint16_t &acquisition_time_ms, const uint8_t &mode)
 
void pwr (const bool &state)
 
void maskPixel (const uint8_t &x, const uint8_t &y, const bool state)
 
void setThreshold (const uint16_t &coarse, const uint16_t &fine)
 
void setConfigurationPreset (const uint16_t &preset)
 
void sendAck (bool ack)
 
void getFrameData (void)
 
void stop (void)
 

Data Fields

bool measuring_frame_ = false
 
bool waiting_for_ack_ = false
 
bool waiting_for_tmp_ = false
 
bool waiting_for_status_ = false
 

Constructor & Destructor Documentation

◆ Gatherer()

Gatherer::Gatherer ( const std::string  data_path)

Member Function Documentation

◆ charCallback()

void Gatherer::charCallback ( const char  in)

◆ connect()

void Gatherer::connect ( const std::string &  serial_port,
const int &  baud_rate,
const bool &  virtual_port 
)

◆ getFrameData()

void Gatherer::getFrameData ( void  )

◆ getStatus()

void Gatherer::getStatus ( void  )

◆ getTemperature()

void Gatherer::getTemperature ( void  )

◆ maskPixel()

void Gatherer::maskPixel ( const uint8_t &  x,
const uint8_t &  y,
const bool  state 
)

◆ measureFrame()

void Gatherer::measureFrame ( const uint16_t &  acquisition_time_ms,
const uint8_t &  mode 
)

◆ pwr()

void Gatherer::pwr ( const bool &  state)

◆ sendAck()

void Gatherer::sendAck ( bool  ack)

◆ setConfigurationPreset()

void Gatherer::setConfigurationPreset ( const uint16_t &  preset)

◆ setThreshold()

void Gatherer::setThreshold ( const uint16_t &  coarse,
const uint16_t &  fine 
)

◆ stop()

void Gatherer::stop ( void  )

Field Documentation

◆ measuring_frame_

bool Gatherer::measuring_frame_ = false

◆ waiting_for_ack_

bool Gatherer::waiting_for_ack_ = false

◆ waiting_for_status_

bool Gatherer::waiting_for_status_ = false

◆ waiting_for_tmp_

bool Gatherer::waiting_for_tmp_ = false

The documentation for this class was generated from the following files: