Microchip® Advanced Software Framework

tc_capture_opt_t Struct Reference

Parameters when initializing a timer/counter in capture mode.

#include <tc.h>

Data Fields

unsigned int abetrg: 1
 TIOA or TIOB external trigger selection:
. More...
 
unsigned int burst: 2
 Burst signal selection:
. More...
 
unsigned int channel
 Channel to initialize. More...
 
unsigned int clki: 1
 Clock invert:
. More...
 
unsigned int cpctrg: 1
 RC compare trigger enable:
. More...
 
unsigned int etrgedg: 2
 External trigger edge selection:
. More...
 
unsigned int:12
 
unsigned int ldbdis: 1
 Counter clock disable with RB loading:
. More...
 
unsigned int ldbstop: 1
 Counter clock stopped with RB loading:
. More...
 
unsigned int ldra: 2
 RA loading selection:
. More...
 
unsigned int ldrb: 2
 RB loading selection:
. More...
 
unsigned int tcclks: 3
 Clock selection:
. More...
 

unsigned int tc_capture_opt_t::abetrg

TIOA or TIOB external trigger selection:
.

Referenced by tc_init_capture().

unsigned int tc_capture_opt_t::burst
unsigned int tc_capture_opt_t::channel

Channel to initialize.

Referenced by tc_init_capture().

unsigned int tc_capture_opt_t::clki
unsigned int tc_capture_opt_t::cpctrg

RC compare trigger enable:
.

Referenced by tc_init_capture().

unsigned int tc_capture_opt_t::etrgedg

External trigger edge selection:
.

Referenced by tc_init_capture().

unsigned tc_capture_opt_t::int
unsigned int tc_capture_opt_t::ldbdis

Counter clock disable with RB loading:
.

  • false;
  • true.

Referenced by tc_init_capture().

unsigned int tc_capture_opt_t::ldbstop

Counter clock stopped with RB loading:
.

  • false;
  • true.

Referenced by tc_init_capture().

unsigned int tc_capture_opt_t::ldra
unsigned int tc_capture_opt_t::ldrb