Searched refs:BT_GAP_US_TO_ADV_INTERVAL (Results 1 – 3 of 3) sorted by relevance
48 zassert_equal(BT_GAP_US_TO_ADV_INTERVAL(20000U), 0x0020U); in ZTEST()50 zassert_equal(BT_GAP_US_TO_ADV_INTERVAL(21000U), 0x0021U); in ZTEST()52 zassert_equal(BT_GAP_US_TO_ADV_INTERVAL(22000U), 0x0023U); in ZTEST()
886 #define BT_GAP_US_TO_ADV_INTERVAL(_interval) ((uint16_t)((_interval) / 625U)) macro897 (BT_GAP_US_TO_ADV_INTERVAL((_interval) * USEC_PER_MSEC))
631 const uint32_t interval = BT_GAP_US_TO_ADV_INTERVAL(sdu_interval_us); in calc_adv_interval()