AllJoyn/Samples/BACnetAdapter/bacnet-stack-0.8.2/ports/xplained/ASF/xmega/drivers/tc/tc.h
static inline void tc_disable_cc_channels (volatile void *tc,
					     enum tc_cc_channel_mask_enable_t
					     disablemask)
  {
    if (tc_is_tc0 (void *tc))
      {
	((TC0_t *) tc)->CTRLB &= ~disablemask;
      }
    else if (tc_is_tc1 (void *tc))
      {
	((TC1_t *) tc)->CTRLB &= ~(disablemask & TC0_CCAEN_bm & TC0_CCBEN_bm);
      }
  }
/**
 * \brief Disables Compare/Capture channel
 *
 * \param tc Pointer to TC module.
 * \param disablemask CC channel
 */
\brief Disables Compare/Capture channel
\param tc Pointer to TC module.
\param disablemask CC channel
\ brief Disables Compare / Capture channel \ param tc Pointer to TC module . \ param disablemask CC channel
static inline void tc_disable_cc_channels (volatile void *tc,
					     enum tc_cc_channel_mask_enable_t
					     disablemask)
  {
    if (tc_is_tc0 (void *tc))
      {
	((TC0_t *) tc)->CTRLB &= ~disablemask;
      }
    else if (tc_is_tc1 (void *tc))
      {
	((TC1_t *) tc)->CTRLB &= ~(disablemask & TC0_CCAEN_bm & TC0_CCBEN_bm);
      }
  }
static inline void tc_disable_cc_channels ( volatile void * tc , enum tc_cc_channel_mask_enable_t disablemask ) { if ( tc_is_tc0 ( void * tc ) ) { ( ( TC0_t * ) tc ) -> CTRLB &= ~ disablemask ; } else if ( tc_is_tc1 ( void * tc ) ) { ( ( TC1_t * ) tc ) -> CTRLB &= ~ ( disablemask & TC0_CCAEN_bm & TC0_CCBEN_bm ) ; } }
\brief Disables Compare/Capture channel
 \param tc Pointer to TC module.
\ brief Disables Compare / Capture channel \ param tc Pointer to TC module .