NinjaFlight
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
accgyro_bma280.c File Reference
#include <stdbool.h>
#include <stdint.h>
#include <platform.h>
#include "bus_i2c.h"
#include "accgyro.h"
#include "accgyro_bma280.h"
Include dependency graph for accgyro_bma280.c:

Macros

#define BMA280_ADDRESS   0x18
 
#define BMA280_ACC_X_LSB   0x02
 
#define BMA280_PMU_BW   0x10
 
#define BMA280_PMU_RANGE   0x0F
 

Functions

bool bma280Detect (acc_t *accel)
 

Macro Definition Documentation

#define BMA280_ACC_X_LSB   0x02
#define BMA280_ADDRESS   0x18
#define BMA280_PMU_BW   0x10
#define BMA280_PMU_RANGE   0x0F

Function Documentation

bool bma280Detect ( acc_t accel)

Here is the call graph for this function: