STM32F769IDiscovery
1.00
uDANTE Audio Networking with STM32F7 DISCO board
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
Eclipse_WS2
STM32F769IDiscovery
Utilities
Components
Common
tsensor.h
Go to the documentation of this file.
1
39
/* Define to prevent recursive inclusion -------------------------------------*/
40
#ifndef __TSENSOR_H
41
#define __TSENSOR_H
42
43
#ifdef __cplusplus
44
extern
"C"
{
45
#endif
46
47
/* Includes ------------------------------------------------------------------*/
48
#include <stdint.h>
49
69
typedef
struct
70
{
71
uint8_t
AlertMode
;
/* Alert Mode Temperature out of range*/
72
uint8_t
ConversionMode
;
/* Continuous/One Shot Mode */
73
uint8_t
ConversionResolution
;
/* Temperature Resolution */
74
uint8_t
ConversionRate
;
/* Number of measure per second */
75
uint8_t
TemperatureLimitHigh
;
/* High Temperature Limit Range */
76
uint8_t
TemperatureLimitLow
;
/* Low Temperature Limit Range */
77
}
TSENSOR_InitTypeDef
;
85
typedef
struct
86
{
87
void (*Init)(uint16_t,
TSENSOR_InitTypeDef
*);
88
uint8_t (*IsReady)(uint16_t, uint32_t);
89
uint8_t (*ReadStatus)(uint16_t);
90
uint16_t (*ReadTemp)(uint16_t);
91
}
TSENSOR_DrvTypeDef
;
112
#ifdef __cplusplus
113
}
114
#endif
115
116
#endif
/* __TSENSOR_H */
117
118
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
TSENSOR_InitTypeDef::AlertMode
uint8_t AlertMode
Definition:
tsensor.h:71
TSENSOR_DrvTypeDef
Definition:
tsensor.h:85
TSENSOR_InitTypeDef::ConversionResolution
uint8_t ConversionResolution
Definition:
tsensor.h:73
TSENSOR_InitTypeDef::TemperatureLimitLow
uint8_t TemperatureLimitLow
Definition:
tsensor.h:76
TSENSOR_InitTypeDef::ConversionRate
uint8_t ConversionRate
Definition:
tsensor.h:74
TSENSOR_InitTypeDef
Definition:
tsensor.h:69
TSENSOR_InitTypeDef::ConversionMode
uint8_t ConversionMode
Definition:
tsensor.h:72
TSENSOR_InitTypeDef::TemperatureLimitHigh
uint8_t TemperatureLimitHigh
Definition:
tsensor.h:75
Generated by
1.8.11