|
HF-BNO08x
0.1.0-dev
|
I2C Communication Parameters. More...
#include <esp32_bno08x_test_config.hpp>
Static Public Attributes | |
| static constexpr uint32_t | FREQUENCY = 400000 |
| 400kHz I2C frequency (Fast Mode) | |
| static constexpr uint8_t | DEVICE_ADDRESS = 0x4B |
| 7-bit I2C address (SA0=HIGH) | |
| static constexpr uint8_t | ALT_ADDRESS = 0x4A |
| Alternative address (SA0=LOW) | |
| static constexpr uint32_t | SCL_WAIT_US = 50000 |
| Clock stretching timeout (50ms) | |
| static constexpr bool | PULLUP_ENABLE = true |
| Enable internal pullups. | |
I2C Communication Parameters.
The BNO08x supports I2C frequencies up to 400kHz (Fast Mode).
I2C Addressing (per BNO08x datasheet):
Clock stretching: BNO08x can hold SCL low when data is not ready. scl_wait_us must be long enough to accommodate this (50ms recommended).
|
staticconstexpr |
Alternative address (SA0=LOW)
|
staticconstexpr |
7-bit I2C address (SA0=HIGH)
|
staticconstexpr |
400kHz I2C frequency (Fast Mode)
|
staticconstexpr |
Enable internal pullups.
|
staticconstexpr |
Clock stretching timeout (50ms)