TM STM32Fxxx HAL Libraries  v1.0.0
Libraries for STM32Fxxx (F0, F4 and F7 series) devices based on HAL drivers from ST from Tilen Majerle
TM_AM2301_t Struct Reference

AM2301 working structure. More...

#include <tm_stm32_am2301.h>

Data Fields

int16_t Temp
uint16_t Hum
GPIO_TypeDef * GPIOx
uint16_t GPIO_Pin

Detailed Description

AM2301 working structure.

Field Documentation

uint16_t GPIO_Pin

GPIO pin used for sensor


Pointer to GPIOx PORT where pin for sensor is located

uint16_t Hum

Humidity in tenths of percent. If real humidity is 55.5%, this variable's value is 555

int16_t Temp

Temperature in tenths of degrees. If real temperature is 27.3C, this variable's value is 273