Searched refs:BT_GAP_US_TO_SCAN_WINDOW (Results 1 – 2 of 2) sorted by relevance
92 zassert_equal(BT_GAP_US_TO_SCAN_WINDOW(20000U), 0x0020U); in ZTEST()94 zassert_equal(BT_GAP_US_TO_SCAN_WINDOW(21000U), 0x0021U); in ZTEST()96 zassert_equal(BT_GAP_US_TO_SCAN_WINDOW(22000U), 0x0023U); in ZTEST()
973 #define BT_GAP_US_TO_SCAN_WINDOW(_window) ((uint16_t)((_window) / 625U)) macro984 #define BT_GAP_MS_TO_SCAN_WINDOW(_window) (BT_GAP_US_TO_SCAN_WINDOW((_window) * USEC_PER_MSEC))