Macros | Functions | Variables
Bmm150Utils.c File Reference
#include "BCDS_SensorUtils.h"
#include "BCDS_Bmm150Utils.h"
#include "SensorUtilsAxisRemap.h"
#include "BCDS_I2CTransceiver.h"
#include "BCDS_BSP_Board.h"
#include "SensorNodeMapping.h"
#include <bmm050.h>
+ Include dependency graph for Bmm150Utils.c:


#define BMM050_SUCCESS   UINT8_C(0)


static void Bmm150_DelayMS (BMM050_MDELAY_DATA_TYPE delayMS)
 Function to provide a delay. More...
Retcode_T Bmm150Utils_initialize (Bmm150Utils_InfoPtr_T bmm150Info)
 Function to initialize bmm150.This needs to be called before calling any other API. More...
Retcode_T Bmm150Utils_remapAxis (Bmm150Utils_InfoPtr_T bmm150Info, AxisRemap_Data_T *bmiData)
 Function to read remapped bmm150 data . More...
Retcode_T Bmm150Utils_uninitialize (Bmm150Utils_InfoPtr_T bmm150Info)
 Function to uninitialize bmm150.After calling this API sensor is no more usable without initializing it again by calling initialize API. More...
static Retcode_T libErrorMapping (BMM050_RETURN_FUNCTION_TYPE bmmLibReturn)
 This function maps error codes returned from BMM150 library to retcode values. More...


static struct bmm050_t bmm150Initialization
static bool initializationStatus = false

Macro Definition Documentation

#define BMM050_SUCCESS   UINT8_C(0)

macro used to represent success of library variable to check initialization status

Function Documentation

static void Bmm150_DelayMS ( BMM050_MDELAY_DATA_TYPE  delayMS)
delayMSDelay in milliseconds

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static Retcode_T libErrorMapping ( BMM050_RETURN_FUNCTION_TYPE  bmmLibReturn)
[in]BMM050_RETURN_FUNCTION_TYPEReturn value from BMA2X2 library
Return values
RETCODE_OKBMM150 sensor API call success
RETCODE_FAILUREBMM150 sensor API call failed
RETCODE_INVALID_PARAMBMM150 sensor API call failed because of invalid input parameter

+ Here is the caller graph for this function:

Variable Documentation

struct bmm050_t bmm150Initialization
bool initializationStatus = false

BMM150 initialization structure

This documentation file has been automatically generated on Wed May 6 2020 20:45:16 by doxygen 1.8.8