STM32373C_EVAL BSP User Manual: Exported Functions

STM32373C EVAL BSP Drivers

STM32373C_EVAL BSP User Manual
Exported Functions

Functions

uint32_t BSP_TSENSOR_Init (void)
 Initializes peripherals used by the I2C Temperature Sensor driver.
uint8_t BSP_TSENSOR_ReadStatus (void)
 Returns the Temperature Sensor status.
uint16_t BSP_TSENSOR_ReadTemp (void)
 Read Temperature register of LM75.

Function Documentation

uint32_t BSP_TSENSOR_Init ( void  )

Initializes peripherals used by the I2C Temperature Sensor driver.

Return values:
TSENSORstatus

Definition at line 94 of file stm32373c_eval_tsensor.c.

References tsensor_drv, TSENSOR_ERROR, TSENSOR_I2C_ADDRESS_A01, TSENSOR_I2C_ADDRESS_A02, TSENSOR_MAX_TRIALS, TSENSOR_OK, and TSENSORAddress.

uint8_t BSP_TSENSOR_ReadStatus ( void  )

Returns the Temperature Sensor status.

Return values:
TheTemperature Sensor status.

Definition at line 146 of file stm32373c_eval_tsensor.c.

References tsensor_drv, and TSENSORAddress.

uint16_t BSP_TSENSOR_ReadTemp ( void  )

Read Temperature register of LM75.

Return values:
STLM75measured temperature value.

Definition at line 155 of file stm32373c_eval_tsensor.c.

References tsensor_drv, and TSENSORAddress.

Generated on Wed May 31 2017 11:20:45 for STM32373C_EVAL BSP User Manual by   doxygen 1.7.6.1