ST / BSP_B-L475E-IOT01

Dependents:   mbed-os-example-ble-Thermometer DISCO_L475VG_IOT01-Telegram-BOT DISCO_L475VG_IOT01-sche_cheveux DISCO_L475VG_IOT01-QSPI_FLASH_FILE_SYSTEM ... more

Embed: (wiki syntax)

« Back to documentation index

lis3mdl.c File Reference

lis3mdl.c File Reference

This file provides a set of functions needed to manage the LIS3MDL magnetometer devices. More...

Go to the source code of this file.

Functions

void LIS3MDL_MagInit (MAGNETO_InitTypeDef LIS3MDL_InitStruct)
 Set LIS3MDL Magnetometer Initialization.
void LIS3MDL_MagDeInit (void)
 LIS3MDL Magnetometer De-initialization.
uint8_t LIS3MDL_MagReadID (void)
 Read LIS3MDL ID.
void LIS3MDL_MagLowPower (uint16_t status)
 Set/Unset Magnetometer in low power mode.
void LIS3MDL_MagReadXYZ (int16_t *pData)
 Read X, Y & Z Magnetometer values.

Detailed Description

This file provides a set of functions needed to manage the LIS3MDL magnetometer devices.

Author:
MCD Application Team
Attention:

© Copyright (c) 2017 STMicroelectronics. All rights reserved.

This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause

Definition in file lis3mdl.c.