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

Go to the source code of this file.

Data Structures

struct  pios_lis3mdl_cfg
 

Typedefs

typedef struct lis3mdl_dev * lis3mdl_dev_t
 

Enumerations

enum  pios_lis3mdl_orientation {
  PIOS_LIS_TOP_0DEG = 0x00, PIOS_LIS_TOP_90DEG = 0x01, PIOS_LIS_TOP_180DEG = 0x02, PIOS_LIS_TOP_270DEG = 0x03,
  PIOS_LIS_BOTTOM_0DEG = 0x04, PIOS_LIS_BOTTOM_90DEG = 0x05, PIOS_LIS_BOTTOM_180DEG = 0x06, PIOS_LIS_BOTTOM_270DEG = 0x07
}
 

Functions

int32_t PIOS_LIS3MDL_SPI_Init (lis3mdl_dev_t *dev, pios_spi_t spi_id, uint32_t slave_mag, const struct pios_lis3mdl_cfg *cfg)
 Initialize the LIS3MDL mag. More...
 

Detailed Description

Author
dRonin, http://dRonin.org/, Copyright (C) 2016

Definition in file pios_lis3mdl.h.