STM32H735xx HAL User Manual
Defines | Functions
stm32h7xx_hal_dts.c File Reference

DTS HAL module driver. This file provides firmware functions to manage the following functionalities of the DTS peripheral: + Initialization and de-initialization functions + Start/Stop operation functions in polling mode. + Start/Stop operation functions in interrupt mode. + Peripheral Control functions + Peripheral State functions. More...

#include "stm32h7xx_hal.h"

Go to the source code of this file.

Defines

#define DTS_DELAY_STARTUP   (1UL)
#define TS_TIMEOUT_MS   (5UL)

Functions

static void DTS_ResetCallback (DTS_HandleTypeDef *hdts)
 Reset interrupt callbacks to the legacy weak callbacks.
HAL_StatusTypeDef HAL_DTS_Init (DTS_HandleTypeDef *hdts)
 Initialize the DTS according to the specified parameters in the DTS_InitTypeDef and initialize the associated handle.
HAL_StatusTypeDef HAL_DTS_DeInit (DTS_HandleTypeDef *hdts)
 DeInitialize the DTS peripheral.
__weak void HAL_DTS_MspInit (DTS_HandleTypeDef *hdts)
 Initialize the DTS MSP.
__weak void HAL_DTS_MspDeInit (DTS_HandleTypeDef *hdts)
 DeInitialize the DTS MSP.
HAL_StatusTypeDef HAL_DTS_Start (DTS_HandleTypeDef *hdts)
 Start the DTS sensor.
HAL_StatusTypeDef HAL_DTS_Stop (DTS_HandleTypeDef *hdts)
 Stop the DTS Sensor.
HAL_StatusTypeDef HAL_DTS_Start_IT (DTS_HandleTypeDef *hdts)
 Enable the interrupt(s) and start the DTS sensor.
HAL_StatusTypeDef HAL_DTS_Stop_IT (DTS_HandleTypeDef *hdts)
 Disable the interrupt(s) and stop the DTS sensor.
HAL_StatusTypeDef HAL_DTS_GetTemperature (DTS_HandleTypeDef *hdts, int32_t *Temperature)
 Get temperature from DTS.
void HAL_DTS_IRQHandler (DTS_HandleTypeDef *hdts)
 DTS sensor IRQ Handler.
__weak void HAL_DTS_EndCallback (DTS_HandleTypeDef *hdts)
 DTS Sensor End measure callback.
__weak void HAL_DTS_LowCallback (DTS_HandleTypeDef *hdts)
 DTS Sensor low threshold measure callback.
__weak void HAL_DTS_HighCallback (DTS_HandleTypeDef *hdts)
 DTS Sensor high threshold measure callback.
__weak void HAL_DTS_AsyncEndCallback (DTS_HandleTypeDef *hdts)
 DTS Sensor asynchronous end measure callback.
__weak void HAL_DTS_AsyncLowCallback (DTS_HandleTypeDef *hdts)
 DTS Sensor asynchronous low threshold measure callback.
__weak void HAL_DTS_AsyncHighCallback (DTS_HandleTypeDef *hdts)
 DTS Sensor asynchronous high threshold measure callback.
HAL_DTS_StateTypeDef HAL_DTS_GetState (DTS_HandleTypeDef *hdts)
 Return the DTS handle state.

Detailed Description

DTS HAL module driver. This file provides firmware functions to manage the following functionalities of the DTS peripheral: + Initialization and de-initialization functions + Start/Stop operation functions in polling mode. + Start/Stop operation functions in interrupt mode. + Peripheral Control functions + Peripheral State functions.

Author:
MCD Application Team
Attention:

Copyright (c) 2017 STMicroelectronics. All rights reserved.

This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.

================================================================================
          ##### DTS Peripheral features #####
================================================================================

  [..]
      The STM32h7xx device family integrate one DTS sensor interface :


            ##### How to use this driver #####
================================================================================
  [..]


  

Definition in file stm32h7xx_hal_dts.c.