Defines | Functions | Variables
biotac.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "biotac_sensors/biotac.h"
Include dependency graph for biotac.c:

Go to the source code of this file.

Defines

#define DEFAULT_TIMER
#define NUMBER_OF_READ_COMMAND_IN_ARRAY   (int)(sizeof(read_command_in_array)/(sizeof(char)))

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_databt_configure_save_buffer (int number_of_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)

Variables

static const char * command_name []
static int count = 0
static const unsigned char parity_values []
static const char read_command_in_array [] = BT_READ_PROPERTY_COMMAND_ARRAY

Define Documentation

#define DEFAULT_TIMER

Definition at line 30 of file biotac.c.

#define NUMBER_OF_READ_COMMAND_IN_ARRAY   (int)(sizeof(read_command_in_array)/(sizeof(char)))

Definition at line 83 of file biotac.c.


Function Documentation

void bt_cheetah_close ( Cheetah  ch_handle)

Definition at line 636 of file biotac.c.

void bt_cheetah_collect_batch ( Cheetah  ch_handle,
const bt_info biotac,
bt_data data,
BOOL  print_flag 
)

Definition at line 451 of file biotac.c.

BioTac bt_cheetah_configure_batch ( Cheetah  ch_handle,
bt_info biotac,
int  num_samples 
)

Definition at line 342 of file biotac.c.

BioTac bt_cheetah_get_properties ( Cheetah  ch_handle,
int  bt_select,
bt_property property 
)

Definition at line 186 of file biotac.c.

BioTac bt_cheetah_initialize ( const bt_info biotac,
Cheetah ch_handle 
)

Definition at line 104 of file biotac.c.

bt_data* bt_configure_save_buffer ( int  number_of_samples)

Definition at line 439 of file biotac.c.

void bt_display_errors ( BioTac  bt_err_code)

Definition at line 595 of file biotac.c.

BioTac bt_save_buffer_data ( const char *  file_name,
const bt_data data,
int  num_samples 
)

Definition at line 560 of file biotac.c.


Variable Documentation

const char* command_name[] [static]
Initial value:
 
                { "PAC", "PDC", "TAC", "TDC", "   ", "   ", "   ", "   ", "   ", "   ", 
                  "   ", "   ", "   ", "   ", "   ", "HAL", "REV", "E01", "E02", "E03", 
                  "E04", "E05", "E06", "E07", "E08", "E09", "E10", "E11", "E12", "E13", 
                  "E14", "E15", "E16", "E17", "E18", "E19", "   ", "   ", "   ", "   ", 
                  "   ", "   ", "   ", "   ", "   ", "   ", "   ", "   ", "   ", "   ", 
                  "   ", "   ", "   ", "   ", "   ", "   ", "   ", "   ", "   ", "   ", 
                  "   ", "   ", "   ", "   "}

Definition at line 73 of file biotac.c.

int count = 0 [static]

Definition at line 98 of file biotac.c.

const unsigned char parity_values[] [static]
Initial value:
 
                { 0x01, 0x02, 0x04, 0x07, 0x08, 0x0B, 0x0D, 0x0E, 
                  0x10, 0x13, 0x15, 0x16, 0x19, 0x1A, 0x1C, 0x1F, 
                  0x20, 0x23, 0x25, 0x26, 0x29, 0x2A, 0x2C, 0x2F, 
                  0x31, 0x32, 0x34, 0x37, 0x38, 0x3B, 0x3D, 0x3E, 
                  0x40, 0x43, 0x45, 0x46, 0x49, 0x4A, 0x4C, 0x4F, 
                  0x51, 0x52, 0x54, 0x57, 0x58, 0x5B, 0x5D, 0x5E, 
                  0x61, 0x62, 0x64, 0x67, 0x68, 0x6B, 0x6D, 0x6E, 
                  0x70, 0x73, 0x75, 0x76, 0x79, 0x7A, 0x7C, 0x7F, 
                  0x80, 0x83, 0x85, 0x86, 0x89, 0x8A, 0x8C, 0x8F, 
                  0x91, 0x92, 0x94, 0x97, 0x98, 0x9B, 0x9D, 0x9E, 
                  0xA1, 0xA2, 0xA4, 0xA7, 0xA8, 0xAB, 0xAD, 0xAE, 
                  0xB0, 0xB3, 0xB5, 0xB6, 0xB9, 0xBA, 0xBC, 0xBF, 
                  0xC1, 0xC2, 0xC4, 0xC7, 0xC8, 0xCB, 0xCD, 0xCE, 
                  0xD0, 0xD3, 0xD5, 0xD6, 0xD9, 0xDA, 0xDC, 0xDF, 
                  0xE0, 0xE3, 0xE5, 0xE6, 0xE9, 0xEA, 0xEC, 0xEF, 
                  0xF1, 0xF2, 0xF4, 0xF7, 0xF8, 0xFB, 0xFD, 0xFE}

Definition at line 55 of file biotac.c.

Definition at line 82 of file biotac.c.



biotac_sensors
Author(s): Ian McMahon
autogenerated on Sun Oct 5 2014 22:30:25