Microchip® Advanced Software Framework

bno055_port.h File Reference

BNO055 extension board example for SAME70.

Copyright (c) 2015-2018 Microchip Technology Inc. and its subsidiaries.

#include "asf.h"
#include "conf_board.h"
#include "conf_bno055.h"
#include "bno055.h"
#include "stdint.h"

Macros

#define I2C_BUFFER_LEN   8
 

Functions

void bno055_delay_msek (uint32_t msek)
 
void bno055_gpio_config (void)
 
void bno055_i2c_bus_init (void)
 
int8_t bno055_i2c_bus_read (uint8_t dev_addr, uint8_t reg_addr, uint8_t *reg_data, uint8_t cnt)
 
int8_t bno055_i2c_bus_write (uint8_t dev_addr, uint8_t reg_addr, uint8_t *reg_data, uint8_t cnt)
 
void bno055_initialize (void)
 
void bno055_reset (void)
 
void extint_initialize (void(*handler_function)(void))
 

Variables

struct bno055_t bno055
 

#define I2C_BUFFER_LEN   8

void bno055_delay_msek ( uint32_t  msek)

References delay_ms.

Referenced by bno055_initialize().

void bno055_gpio_config ( void  )
int8_t bno055_i2c_bus_read ( uint8_t  dev_addr,
uint8_t  reg_addr,
uint8_t *  reg_data,
uint8_t  cnt 
)
int8_t bno055_i2c_bus_write ( uint8_t  dev_addr,
uint8_t  reg_addr,
uint8_t *  reg_data,
uint8_t  cnt 
)
void bno055_reset ( void  )

struct bno055_t bno055

Referenced by bno055_init(), and bno055_initialize().