* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-
#ifndef OLS_H_
#define OLS_H_
#define FLAG_CLOCK_INVERTED 0x80
#define FLAG_RLE 0x0100
-
struct ols_device {
uint32_t max_samplerate;
uint32_t max_samples;
uint64_t cur_samplerate;
uint32_t cur_samplerate_divider;
+ uint64_t period_ps;
uint64_t limit_samples;
/* Current state of the flag register */
uint32_t flag_reg;