Macros | Functions
BSP_Max31865.c File Reference

Implementation of Max31865 Interface BSP functions. More...

#include "BCDS_BSP.h"
#include "BCDS_HAL.h"
#include "BSP_Max31865.h"
#include "BCDS_BSP_Max31865.h"
#include "BSP_BoardType.h"
#include "BSP_BoardExtSettings.h"
#include "BSP_BoardSettings.h"
#include "BSP_BoardShared.h"
#include "BCDS_MCU_SPI_Handle.h"
#include "BSP_ExtensionPort.h"
+ Include dependency graph for BSP_Max31865.c:

Macros

#define BCDS_MODULE_ID   BCDS_BSP_MODULE_ID_MAX31865
 

Functions

Retcode_T BSP_Max31865_Connect (void)
 Maps the GPIO pins to their desired function. More...
 
Retcode_T BSP_Max31865_Disable (void)
 Disables the control over the peripheral. More...
 
Retcode_T BSP_Max31865_Disconnect (void)
 Disconnects the Temperature peripheral. More...
 
Retcode_T BSP_Max31865_Enable (void)
 Enables the control over the peripheral. More...
 
static Retcode_T BSP_Max31865_EnableCS (void)
 Sets the configuration and enables the CS pin. More...
 
HWHandle_T BSP_Max31865_GetSPIHandle (void)
 Returns the handle of the communication interfaces used by the peripheral. More...
 
Retcode_T BSP_Max31865_GetStatus (uint8_t *isConnected)
 Get the Status of the peripheral(Temp Sensor). More...
 
Retcode_T BSP_Max31865_SetCSHigh (void)
 Sets the Max31865 chip select pin to logic level high. More...
 
Retcode_T BSP_Max31865_SetCSLow (void)
 Sets the Max31865 chip select pin to logic level low. More...
 

Macro Definition Documentation

#define BCDS_MODULE_ID   BCDS_BSP_MODULE_ID_MAX31865

Function Documentation

Retcode_T BSP_Max31865_Connect ( void  )

This function once called will map the GPIO pins to their desired functions to drive the Temperature Sensor peripheral. It is needed to call this function prior to the BSP_Max31865_Enable().

Return values
RETCODE_OKin the case of success or an error code otherwise.

+ Here is the call graph for this function:

Retcode_T BSP_Max31865_Disable ( void  )
Return values
RETCODE_OKin the case of success or an error code otherwise.

+ Here is the call graph for this function:

Retcode_T BSP_Max31865_Disconnect ( void  )

This function disconnects the GPIO pins dedicated to the Temperature Sensor peripheral and put them into low power consumption state.

Return values
RETCODE_OKin the case of success or an error code otherwise.

+ Here is the call graph for this function:

Retcode_T BSP_Max31865_Enable ( void  )
Return values
RETCODE_OKin the case of success or an error code otherwise.

+ Here is the call graph for this function:

static Retcode_T BSP_Max31865_EnableCS ( void  )
static
Return values
RETCODE_OKin the case of success or an error code otherwise.

+ Here is the caller graph for this function:

HWHandle_T BSP_Max31865_GetSPIHandle ( void  )
Returns
HWHandle_T
Retcode_T BSP_Max31865_GetStatus ( uint8_t *  isConnected)
Parameters
in/out]isConnected: To get the Max31865 Sensor connected status, if the sensor connected it's true otherwise false.
Returns
RETCODE_OK in the case of success or an error code otherwise.
Retcode_T BSP_Max31865_SetCSHigh ( void  )
Return values
RETCODE_OKin the case of success or an error code otherwise.

+ Here is the caller graph for this function:

Retcode_T BSP_Max31865_SetCSLow ( void  )
Return values
RETCODE_OKin the case of success or an error code otherwise.

This documentation file has been automatically generated on Fri Oct 4 2019 03:47:26 by doxygen 1.8.8