AllJoyn/Samples/BACnetAdapter/bacnet-stack-0.8.2/ports/xplained/ASF/xmega/drivers/tc/tc.h
static inline void tc_set_input_capture (volatile void *tc,
					   TC_EVSEL_t eventsource,
					   TC_EVACT_t eventaction)
  {
    ((TC0_t *) tc)->CTRLD &= ~(TC0_EVSEL_gm | TC0_EVACT_gm);
    ((TC0_t *) tc)->CTRLD |= ((uint8_t) eventsource | (uint8_t) eventaction);
  }
/**
 * \brief Enables Input capture mode
 *
 * \param tc Pointer to TC module.
 * \param eventsource Source for the capture
 * \param eventaction Event action capture type
 */
\brief Enables Input capture mode
\param tc Pointer to TC module.
\param eventsource Source for the capture
\param eventaction Event action capture type
\ brief Enables Input capture mode \ param tc Pointer to TC module . \ param eventsource Source for the capture \ param eventaction Event action capture type
static inline void tc_set_input_capture (volatile void *tc,
					   TC_EVSEL_t eventsource,
					   TC_EVACT_t eventaction)
  {
    ((TC0_t *) tc)->CTRLD &= ~(TC0_EVSEL_gm | TC0_EVACT_gm);
    ((TC0_t *) tc)->CTRLD |= ((uint8_t) eventsource | (uint8_t) eventaction);
  }
static inline void tc_set_input_capture ( volatile void * tc , TC_EVSEL_t eventsource , TC_EVACT_t eventaction ) { ( ( TC0_t * ) tc ) -> CTRLD &= ~ ( TC0_EVSEL_gm | TC0_EVACT_gm ) ; ( ( TC0_t * ) tc ) -> CTRLD |= ( ( uint8_t ) eventsource | ( uint8_t ) eventaction ) ; }
\brief Enables Input capture mode
 \param tc Pointer to TC module.
\ brief Enables Input capture mode \ param tc Pointer to TC module .