BLE-Stack APIs
3.00.01
|
Macros | |
#define | BLE_TO_RAT 2500 |
1 BLE tick(0.625 ms) = 2500 RAT tick | |
#define | BYTE_TO_RAT (8 * US_TO_RAT) |
1 byte = 8 us = 32 RAT tick, assuming 1 Mbps PHY | |
#define | MS_TO_RAT 4000 |
1 ms = 4000 RAT tick | |
#define | MS_TO_SYSTICK (1000 / Clock_tickPeriod) |
1 ms = (1000 / Clock_tickPeriod) system tick | |
#define | SYSTICK_TO_RAT (Clock_tickPeriod * US_TO_RAT) |
1 system tick = (Clock_tickPeriod * US_TO_RAT) RAT tick | |
#define | UB_EVTDST_GAP 1 |
GAP. | |
#define | UB_EVTDST_LL 0 |
LL. More... | |
#define | UB_MAX_ADV_INTERVAL 16384 |
Maximum Advertising Interval. | |
#define | UB_MAX_ADVDATA_LEN B_MAX_ADV_LEN |
Max Advertising Data Length. | |
#define | UB_MAX_CHANNEL_MAP UB_ADV_CHAN_ALL |
Maximum Channel Map. | |
#define | UB_MAX_TX_POWER TX_POWER_5_DBM |
5 dBm | |
#define | UB_MIN_ADV_INTERVAL 160 |
Minimum Advertising interval. | |
#define | UB_MIN_CHANNEL_MAP UB_ADV_CHAN_37 |
Minimum Channel Map. | |
#define | UB_MIN_TX_POWER TX_POWER_MINUS_21_DBM |
-21 dBm | |
#define | UB_NUM_EVTDST 2 |
Number of Event Destinations. | |
#define | UB_TX_POWER_INVALID 0xFFFF |
Invalid TX Power Register value. | |
#define | US_TO_RAT 4 |
1 us = 4 RAT tick More... | |
#define UB_EVTDST_LL 0 |
LL.
Event Message Destination
#define US_TO_RAT 4 |
1 us = 4 RAT tick
Unit conversions