Main Page   Modules   Alphabetical List   Data Structures   File List   Data Fields   Related Pages  

countdata Struct Reference
[Coprocessor Module]

#include <coprocessor.h>


Data Fields

__u16 counter
__u16 countstart
__u16 laststart
unsigned long timestamp
unsigned long laststamp
int zerocross


Detailed Description

Counter data structure. This type of structure contains data collected from a running counter

Definition at line 116 of file coprocessor.h.


Field Documentation

__u16 countdata::countstart
 

The value the counter started at, this is updated by loading the counter, or when an autoreload occurs if zero crossing notification is enabled. Coprocessor.c keeps track of this

Definition at line 122 of file coprocessor.h.

Referenced by CopParsePacket().

unsigned long countdata::laststamp
 

the previous timestamp

Definition at line 130 of file coprocessor.h.

Referenced by CopParsePacket(), and E12_CounterCalcFreq().

__u16 countdata::laststart
 

The last value the counter started at, prior to countstart, this is updated by loading the counter, or when an autoreload occurs if zero crossing notification is enabled. Coprocessor.c keeps track of this

Definition at line 126 of file coprocessor.h.

Referenced by CopParsePacket(), and E12_CounterCalcFreq().

unsigned long countdata::timestamp
 

the timestamp from the 37e12 when the counter started or when the last zero crossing occurred, 32 bits, measured in ms

Definition at line 128 of file coprocessor.h.

Referenced by CopParsePacket(), and E12_CounterCalcFreq().

int countdata::zerocross
 

number of zerocrossing that have occurred since initialization

Definition at line 132 of file coprocessor.h.

Referenced by CopParsePacket().


The documentation for this struct was generated from the following file:
Generated on Thu Jan 8 09:51:00 2004 for PCM-37e12 by doxygen1.2.15