|
pflib v3.13.3-1-gf856638
Pretty Fine HGCROC Interaction Library
|
share various settings related to timein without permanently changing the chip More...
#include <timein.h>
Public Member Functions | |
| void | init (Target *tgt) |
| void | apply (Target *tgt) const |
| void | update (int new_l1offset, int new_pipeline, int new_charge_to_l1a=-1) |
Public Attributes | |
| int | charge_to_l1a {0} |
| int | l1offset {0} |
| int | pipeline {0} |
Static Public Attributes | |
| static TimeInSettings | last {} |
share various settings related to timein without permanently changing the chip
| void TimeInSettings::init | ( | Target * | tgt | ) |
if the values are zero, copy them from the chips
| void TimeInSettings::update | ( | int | new_l1offset, |
| int | new_pipeline, | ||
| int | new_charge_to_l1a = -1 ) |
if charge_to_l1a is not updated, we shift it by the difference between the new and old l1offset