BNO055 configuration.
Copyright (c) 2015-2018 Microchip Technology Inc. and its subsidiaries.
Macros | |
#define | BNO055_I2C_SLAVE_ADDRESS BNO055_I2C_ADDR2 |
#define | BNO055_PIN_BOOT PIO_PC17_IDX |
#define | BNO055_PIN_RESET PIO_PD25_IDX |
#define | BNO055_PIN_SLAVE_ADDR_SELECT PIO_PB3_IDX |
#define | BNO055_RESET_ACTIVE false |
#define | BNO055_RESET_DELAY_MS UINT32_C(650) |
#define | BNO055_TWIHS_CLK 400000 |
#define | RBG_LED_B_OFF UINT16_C(0xFFFF) |
#define | RBG_LED_R_OFF UINT16_C(0xFFFF) |
#define | RGB_LED_B PIO_PA0_IDX |
#define | RGB_LED_B_VALUE (0xFFFF - ((bno055_euler_data.h) * 0xFFFF / 5759)) |
#define | RGB_LED_G PIO_PB2_IDX |
#define | RGB_LED_G_OFF true |
#define | RGB_LED_G_ON false |
#define | RGB_LED_R PIO_PC30_IDX |
#define | RGB_LED_R_VALUE (0xFFFF - ((bno055_euler_data.p) * 0xFFFF / 5759)) |
#define | SLEEP_STATE_AWAKE UINT8_C(0) |
#define | SLEEP_STATE_SLEEP UINT8_C(1) |
#define BNO055_I2C_SLAVE_ADDRESS BNO055_I2C_ADDR2 |
Referenced by bno055_initialize().
#define BNO055_PIN_BOOT PIO_PC17_IDX |
Referenced by bno055_gpio_config(), and bno055_initialize().
#define BNO055_PIN_RESET PIO_PD25_IDX |
Referenced by bno055_gpio_config(), and bno055_reset().
#define BNO055_PIN_SLAVE_ADDR_SELECT PIO_PB3_IDX |
Referenced by bno055_gpio_config(), and bno055_initialize().
#define BNO055_RESET_ACTIVE false |
Referenced by bno055_reset().
#define BNO055_RESET_DELAY_MS UINT32_C(650) |
Referenced by bno055_reset().
#define BNO055_TWIHS_CLK 400000 |
Referenced by bno055_i2c_bus_init().
#define RBG_LED_B_OFF UINT16_C(0xFFFF) |
#define RBG_LED_R_OFF UINT16_C(0xFFFF) |
#define RGB_LED_B PIO_PA0_IDX |
#define RGB_LED_B_VALUE (0xFFFF - ((bno055_euler_data.h) * 0xFFFF / 5759)) |
#define RGB_LED_G PIO_PB2_IDX |
Referenced by bno055_gpio_config(), bno055_interrupt_handler_any_motion(), bno055_interrupt_handler_no_motion(), and main().
#define RGB_LED_G_OFF true |
Referenced by bno055_interrupt_handler_any_motion(), and main().
#define RGB_LED_G_ON false |
Referenced by bno055_interrupt_handler_no_motion().
#define RGB_LED_R PIO_PC30_IDX |
#define RGB_LED_R_VALUE (0xFFFF - ((bno055_euler_data.p) * 0xFFFF / 5759)) |
#define SLEEP_STATE_AWAKE UINT8_C(0) |
Referenced by bno055_interrupt_handler(), and main().
#define SLEEP_STATE_SLEEP UINT8_C(1) |
Referenced by bno055_interrupt_handler().