Classes |
struct | bt_data |
struct | bt_info |
struct | bt_property |
Defines |
#define | BT_AFTERSAMPLE_DELAY_DEFAULT 50000 /* Delay after sampling command */ |
#define | BT_BATCH_MS_DEFAULT 50 |
#define | BT_CPU_SPEED_READ_COMMAND 0x61 |
#define | BT_CPU_SPEED_READ_LENGTH 2 |
#define | BT_DATA_SIZE_TOO_SMALL -4 |
#define | BT_E01_SAMPLING 17 |
#define | BT_E01_SAMPLING_COMMAND 0xA2 |
#define | BT_E02_SAMPLING 18 |
#define | BT_E02_SAMPLING_COMMAND 0xA4 |
#define | BT_E03_SAMPLING 19 |
#define | BT_E03_SAMPLING_COMMAND 0xA7 |
#define | BT_E04_SAMPLING 20 |
#define | BT_E04_SAMPLING_COMMAND 0xA8 |
#define | BT_E05_SAMPLING 21 |
#define | BT_E05_SAMPLING_COMMAND 0xAB |
#define | BT_E06_SAMPLING 22 |
#define | BT_E06_SAMPLING_COMMAND 0xAD |
#define | BT_E07_SAMPLING 23 |
#define | BT_E07_SAMPLING_COMMAND 0xAE |
#define | BT_E08_SAMPLING 24 |
#define | BT_E08_SAMPLING_COMMAND 0xB0 |
#define | BT_E09_SAMPLING 25 |
#define | BT_E09_SAMPLING_COMMAND 0xB3 |
#define | BT_E10_SAMPLING 26 |
#define | BT_E10_SAMPLING_COMMAND 0xB5 |
#define | BT_E11_SAMPLING 27 |
#define | BT_E11_SAMPLING_COMMAND 0xB6 |
#define | BT_E12_SAMPLING 28 |
#define | BT_E12_SAMPLING_COMMAND 0xB9 |
#define | BT_E13_SAMPLING 29 |
#define | BT_E13_SAMPLING_COMMAND 0xBA |
#define | BT_E14_SAMPLING 30 |
#define | BT_E14_SAMPLING_COMMAND 0xBC |
#define | BT_E15_SAMPLING 31 |
#define | BT_E15_SAMPLING_COMMAND 0xBF |
#define | BT_E16_SAMPLING 32 |
#define | BT_E16_SAMPLING_COMMAND 0xC1 |
#define | BT_E17_SAMPLING 33 |
#define | BT_E17_SAMPLING_COMMAND 0xC2 |
#define | BT_E18_SAMPLING 34 |
#define | BT_E18_SAMPLING_COMMAND 0xC4 |
#define | BT_E19_SAMPLING 35 |
#define | BT_E19_SAMPLING_COMMAND 0xC7 |
#define | BT_ERROR_CHANNEL_NOT_RECOGNIZED 0xA558 |
#define | BT_ERROR_ERROR_WRITING_DATA 0xA557 |
#define | BT_ERROR_INSUFFICIENT_DELAY 0xA52E |
#define | BT_ERROR_INSUFFICIENT_SAMPLING_DELAY 0xA52D |
#define | BT_ERROR_NO_DATA_TO_RESEND 0xA55F |
#define | BT_ERROR_PARAMETER_IS_READ_ONLY 0xA552 |
#define | BT_ERROR_PARITY_CHECK 0xA545 |
#define | BT_ERROR_UNKNOWN_COMMAND 0xA53F |
#define | BT_FIRMWARE_VERSION_READ_COMMAND 0x13 |
#define | BT_FIRMWARE_VERSION_READ_LENGTH 4 |
#define | BT_FLEX_VERSIOM_READ_LENGTH 2 |
#define | BT_FLEX_VERSION_READ_COMMAND 0x10 |
#define | BT_FRAME_STRUCTURE_DEFAULT |
#define | BT_FRAMES_IN_BATCH_DEFAULT 5 |
#define | BT_HAL_SAMPLING_COMMAND 0x9E |
#define | BT_INTERWORD_DELAY_DEFAULT 10000 /* Delay between words in communication */ |
#define | BT_NO_BIOTAC_DETECTED -2 |
#define | BT_NO_CHEETAH_DETECTED -5 |
#define | BT_OK 0 |
#define | BT_PAC_SAMPLING 0 |
#define | BT_PAC_SAMPLING_COMMAND 0x80 |
#define | BT_PDC_SAMPLING 1 |
#define | BT_PDC_SAMPLING_COMMAND 0x83 |
#define | BT_READ_COMMAND 0x61 |
#define | BT_READ_PROPERTY_COMMAND_ARRAY |
#define | BT_RESEND_COMMAND 0x20 |
#define | BT_SAMPLE_RATE_HZ_DEFAULT 4400 |
#define | BT_SAMPLING_FREQUENCY_READ_COMMAND 0x70 |
#define | BT_SAMPLING_FREQUENCY_READ_LENGTH 2 |
#define | BT_SAMPLING_PATTERN_READ_COMMAND 0x73 |
#define | BT_SAMPLING_PATTERN_READ_LENGTH 44 |
#define | BT_SERIAL_NUMBER_READ_COMMAND 0x15 |
#define | BT_SERIAL_NUMBER_READ_LENGTH 16 |
#define | BT_SPI_BITRATE_KHZ_DEFAULT 4400 |
#define | BT_TAC_SAMPLING 2 |
#define | BT_TAC_SAMPLING_COMMAND 0x85 |
#define | BT_TDC_SAMPLING 3 |
#define | BT_TDC_SAMPLING_COMMAND 0x86 |
#define | BT_UNABLE_TO_OPEN_CHEETAH -6 |
#define | BT_UNABLE_TO_OPEN_FILE -7 |
#define | BT_WRONG_MAX_BIOTAC_NUMBER -3 |
#define | BT_WRONG_NUMBER_ASSIGNED -1 |
#define | COMMAND_LENGTH_BYTE 2 |
#define | CS_ALL_BT 0x07 |
#define | CS_BT1 0x01 |
#define | CS_BT2 0x02 |
#define | CS_BT3 0x04 |
#define | CS_NONE_BT 0x00 |
#define | MAX_BIOTACS_PER_CHEETAH 3 |
#define | NO (BOOL)0 |
#define | PARITY_BAD (BOOL)!PARITY_GOOD |
#define | PARITY_GOOD (BOOL)0 |
#define | PRINT_ON 0 |
#define | SAMPLE_COMMAND 0x80 |
#define | YES (BOOL)1 |
Typedefs |
typedef int | BioTac |
typedef int | BOOL |
Functions |
void | bt_cheetah_close (Cheetah ch_handle) |
void | bt_cheetah_collect_batch (Cheetah ch_handle, const bt_info *biotac, bt_data *data, BOOL print_flag) |
BioTac | bt_cheetah_configure_batch (Cheetah ch_handle, bt_info *biotac, int num_samples) |
BioTac | bt_cheetah_get_properties (Cheetah ch_handle, int bt_select, bt_property *property) |
BioTac | bt_cheetah_initialize (const bt_info *biotac, Cheetah *ch_handle) |
bt_data * | bt_configure_save_buffer (int num_samples) |
void | bt_display_errors (BioTac bt_err_code) |
BioTac | bt_save_buffer_data (const char *file_name, const bt_data *data, int num_samples) |