<commit_before>/*
 * constants.h
 *
 *  Created on: Jul 3, 2012
 *      Author: cryan
 */

#ifndef CONSTANTS_H_
#define CONSTANTS_H_

//Some maximum sizes of things we can fit
static const int  MAX_APS_CHANNELS = 4;

static const int  APS_WAVEFORM_UNIT_LENGTH = 4;

static const int  MAX_APS_DEVICES = 10;

static const int MAX_WF_LENGTH = 32768;
static const int MAX_WF_AMP = 8191;
static const int WF_MODULUS = 4;
static const size_t MAX_LL_LENGTH = 8192;

static const int APS_READTIMEOUT = 1000;
static const int APS_WRITETIMEOUT = 500;


//FPGA programming bits
static const int APS_PGM01_BIT = 1;
static const int APS_PGM23_BIT = 2;
static const int APS_PGM_BITS = (APS_PGM01_BIT | APS_PGM23_BIT);
                 
static const int APS_FRST01_BIT = 0x4;<commit_msg>Changed WF max to 16 bit<commit_after>/*
 * constants.h
 *
 *  Created on: Jul 3, 2012
 *      Author: cryan
 */

#ifndef CONSTANTS_H_
#define CONSTANTS_H_

//Some maximum sizes of things we can fit
static const int  MAX_APS_CHANNELS = 4;

static const int  APS_WAVEFORM_UNIT_LENGTH = 4;

static const int  MAX_APS_DEVICES = 10;

static const int MAX_WF_LENGTH = 32768;
static const int MAX_WF_AMP = 32767;
static const int WF_MODULUS = 4;
static const size_t MAX_LL_LENGTH = 8192;

static const int APS_READTIMEOUT = 1000;
static const int APS_WRITETIMEOUT = 500;


//FPGA programming bits
static const int APS_PGM01_BIT = 1;
static const int APS_PGM23_BIT = 2;
static const int APS_PGM_BITS = (APS_PGM01_BIT | APS_PGM23_BIT);
                 
static const int APS_FRST01_BIT = 0x4;
{'fraction_non_alphanumeric': 0.06426735218508997, 'fraction_numerical': 0.05848329048843188, 'mean_word_length': 3.9272151898734178, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5660913', 'n_tokens_mistral': 658, 'n_tokens_neox': 573, 'n_words': 184}