Orion
high-rate readout
Public Member Functions | Public Attributes | List of all members
itk::itkpix::__attribute__ Struct Reference

Public Member Functions

void set_thr (int thr)
 Set threshold value. More...
 
int get_thr () const
 Get threshold value. More...
 
void set_tdac (uint8_t tdac)
 Set 5-bit tdac value. More...
 
uint8_t get_tdac () const
 Get 5-bit tdac value. More...
 

Public Attributes

union {
   uint   reg: 8
 
   struct {
      uint   enable: 1
 
      uint   calen: 1
 
      uint   hitbus: 1
 
      uint   udac: 4
 
      uint   sign: 1
 
   } 
 
}; 
 

Member Function Documentation

◆ get_tdac()

uint8_t itk::itkpix::__attribute__::get_tdac ( ) const
inline

Get 5-bit tdac value.

Returns
- tdac value

◆ get_thr()

int itk::itkpix::__attribute__::get_thr ( ) const
inline

Get threshold value.

Returns
- threshold value

◆ set_tdac()

void itk::itkpix::__attribute__::set_tdac ( uint8_t  tdac)
inline

Set 5-bit tdac value.

Parameters
tdac- tdac value

◆ set_thr()

void itk::itkpix::__attribute__::set_thr ( int  thr)
inline

Set threshold value.

Parameters
thr- threshold value

The documentation for this struct was generated from the following file: