AllJoyn/Samples/BACnetAdapter/bacnet-stack-0.8.2/ports/xplained/ASF/common/services/clock/xmega/sysclk.h
static inline uint32_t sysclk_get_per_hz (void)
  {
    if (CONFIG_SYSCLK_PSBCDIV & (1U << CLK_PSBCDIV_gp))
      return sysclk_get_per2_hz () / 2;
    else
      return sysclk_get_per2_hz ();
  }
/**
 * \brief Return the current rate in Hz of clk_PER.
 *
 * This clock always runs at the same rate as the CPU clock unless the divider
 * is set.
 *
 * \return Frequency of the clk_PER clock, in Hz.
 */
\brief Return the current rate in Hz of clk_PER.
This clock always runs at the same rate as the CPU clock unless the divider
is set.

\return Frequency of the clk_PER clock, in Hz.
\ brief Return the current rate in Hz of clk_PER . This clock always runs at the same rate as the CPU clock unless the divider is set . \ return Frequency of the clk_PER clock in Hz .
static inline uint32_t sysclk_get_per_hz (void)
  {
    if (CONFIG_SYSCLK_PSBCDIV & (1U << CLK_PSBCDIV_gp))
      return sysclk_get_per2_hz () / 2;
    else
      return sysclk_get_per2_hz ();
  }
static inline uint32_t sysclk_get_per_hz ( void ) { if ( CONFIG_SYSCLK_PSBCDIV & ( 1U << CLK_PSBCDIV_gp ) ) return sysclk_get_per2_hz ( ) / 2 ; else return sysclk_get_per2_hz ( ) ; }
\brief Return the current rate in Hz of clk_PER.
\ brief Return the current rate in Hz of clk_PER .