Home
last modified time | relevance | path

Searched refs:BT_GAP_US_TO_SCAN_WINDOW (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/tests/bluetooth/gap/src/
Dmain.c92 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()
/Zephyr-latest/include/zephyr/bluetooth/
Dgap.h973 #define BT_GAP_US_TO_SCAN_WINDOW(_window) ((uint16_t)((_window) / 625U)) macro
984 #define BT_GAP_MS_TO_SCAN_WINDOW(_window) (BT_GAP_US_TO_SCAN_WINDOW((_window) * USEC_PER_MSEC))