dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
pios_bmm150.h File Reference
#include "pios.h"

Go to the source code of this file.

Data Structures

struct  pios_bmm150_cfg
 

Typedefs

typedef struct pios_bmm150_dev * pios_bmm150_dev_t
 

Enumerations

enum  pios_bmm150_orientation {
  PIOS_BMM_TOP_0DEG = 0x00, PIOS_BMM_TOP_90DEG = 0x01, PIOS_BMM_TOP_180DEG = 0x02, PIOS_BMM_TOP_270DEG = 0x03,
  PIOS_BMM_BOTTOM_0DEG = 0x04, PIOS_BMM_BOTTOM_90DEG = 0x05, PIOS_BMM_BOTTOM_180DEG = 0x06, PIOS_BMM_BOTTOM_270DEG = 0x07
}
 

Functions

int32_t PIOS_BMM150_SPI_Init (pios_bmm150_dev_t *dev, pios_spi_t spi_id, uint32_t slave_mag, const struct pios_bmm150_cfg *cfg)
 Initialize the BMM-xxxx 6/9-axis sensor on SPI. More...
 

Detailed Description

Author
dRonin, http://dRonin.org/, Copyright (C) 2015
Tau Labs, http://taulabs.org, Copyright (C) 2012-2015
The OpenPilot Team, http://www.openpilot.org Copyright (C) 2012.

Definition in file pios_bmm150.h.