tc_waveform_opt_t Struct Reference

#include <tc.h>


Detailed Description

Parameters when initializing a timer/counter in waveform mode.

Definition at line 272 of file tc.h.


Data Fields

unsigned int acpa: 2
 RA compare effect on TIOA:

unsigned int acpc: 2
 RC compare effect on TIOA:

unsigned int aeevt: 2
 External event effect on TIOA:

unsigned int aswtrg: 2
 Software trigger effect on TIOA:

unsigned int bcpb: 2
 RB compare effect on TIOB:

unsigned int bcpc: 2
 RC compare effect on TIOB:

unsigned int beevt: 2
 External event effect on TIOB:

unsigned int bswtrg: 2
 Software trigger effect on TIOB:

unsigned int burst: 2
 Burst signal selection:

unsigned int channel
 Channel to initialize.
unsigned int clki: 1
 Clock invert:

unsigned int cpcdis: 1
 Counter clock disable with RC compare:
  • FALSE;
  • TRUE.

unsigned int cpcstop: 1
 Counter clock stopped with RC compare:
  • FALSE;
  • TRUE.

unsigned int eevt: 2
 External event selection:

unsigned int eevtedg: 2
 External event edge selection:

unsigned int enetrg: 1
 External event trigger enable:
  • FALSE;
  • TRUE.

unsigned int: 1
unsigned int tcclks: 3
 Clock selection:

unsigned int wavsel: 2
 Waveform selection:


Field Documentation

RA compare effect on TIOA:

Definition at line 331 of file tc.h.

Referenced by tc_init_waveform().

RC compare effect on TIOA:

Definition at line 324 of file tc.h.

Referenced by tc_init_waveform().

External event effect on TIOA:

Definition at line 317 of file tc.h.

Referenced by tc_init_waveform().

Software trigger effect on TIOA:

Definition at line 310 of file tc.h.

Referenced by tc_init_waveform().

RB compare effect on TIOB:

Definition at line 303 of file tc.h.

Referenced by tc_init_waveform().

RC compare effect on TIOB:

Definition at line 296 of file tc.h.

Referenced by tc_init_waveform().

External event effect on TIOB:

Definition at line 289 of file tc.h.

Referenced by tc_init_waveform().

Software trigger effect on TIOB:

Definition at line 282 of file tc.h.

Referenced by tc_init_waveform().

Burst signal selection:

Definition at line 376 of file tc.h.

Referenced by tc_init_waveform().

Channel to initialize.

Definition at line 275 of file tc.h.

Referenced by tc_init_waveform().

Clock invert:

Definition at line 381 of file tc.h.

Referenced by tc_init_waveform().

Counter clock disable with RC compare:

  • FALSE;
  • TRUE.

Definition at line 364 of file tc.h.

Referenced by tc_init_waveform().

Counter clock stopped with RC compare:

  • FALSE;
  • TRUE.

Definition at line 369 of file tc.h.

Referenced by tc_init_waveform().

External event edge selection:

Definition at line 359 of file tc.h.

Referenced by tc_init_waveform().

External event trigger enable:

  • FALSE;
  • TRUE.

Definition at line 345 of file tc.h.

Referenced by tc_init_waveform().

Definition at line 333 of file tc.h.


Generated on Tue Nov 25 11:16:35 2008 for AVR32 AP7 - TC Driver by  doxygen 1.5.6