bell_mf_rx_state_t Struct Reference

#include <bell_r2_mf.h>

List of all members.

Public Attributes

void(* callback )(void *data, const char *digits, int len)
void * callback_data
goertzel_state_t out [6]
uint8_t hits [5]
int current_sample
int lost_digits
int current_digits
char digits [MAX_BELL_MF_DIGITS+1]


Detailed Description

Bell MF digit detector descriptor.


Member Data Documentation

void(* bell_mf_rx_state_t::callback)(void *data, const char *digits, int len)

Optional callback funcion to deliver received digits.

void* bell_mf_rx_state_t::callback_data

An opaque pointer passed to the callback function.

goertzel_state_t bell_mf_rx_state_t::out[6]

Tone detector working states

uint8_t bell_mf_rx_state_t::hits[5]

Short term history of results from the tone detection, using in persistence checking

int bell_mf_rx_state_t::current_sample

The current sample number within a processing block.

int bell_mf_rx_state_t::lost_digits

The number of digits which have been lost due to buffer overflows.

int bell_mf_rx_state_t::current_digits

The number of digits currently in the digit buffer.

char bell_mf_rx_state_t::digits[MAX_BELL_MF_DIGITS+1]

The received digits buffer. This is a NULL terminated string.


The documentation for this struct was generated from the following file:
Generated on Tue Jul 24 11:29:30 2007 for libspandsp by  doxygen 1.5.2