Environmental_Shield_F4_API
Dependencies:
mbed
Fork of
Environmental_sheild_F4
by Sumit Johar
« Back to documentation index
HTS221_Private_Functions
Function Documentation
static void HTS221_Calibration
(
void
)
[static]
HTS221 Calibration procedure.
Parameters:
Return values:
Definition at line 135 of file hts221.c .
void HTS221_DisableIT
(
uint8_t
IntPin )
Disable INT1.
Return values:
Definition at line 268 of file hts221.c .
void HTS221_EnableIT
(
uint8_t
IntPin )
Enable INT1.
Return values:
Definition at line 259 of file hts221.c .
void HTS221_GetHumidity
(
float *
pfData )
Read HTS221 output register, and calculate the humidity.
Parameters:
Return values:
Definition at line 279 of file hts221.c .
void HTS221_GetTemperature
(
float *
pfData )
Read HTS221 output register, and calculate the temperature.
Parameters:
Return values:
Definition at line 325 of file hts221.c .
void HTS221_Init
(
HUM_TEMP_InitTypeDef *
HTS221_Init )
Set HTS221 Initialization.
Parameters:
InitStruct,: it contains the configuration setting for the HTS221.
Return values:
Definition at line 189 of file hts221.c .
void HTS221_INT1InterruptConfig
(
uint16_t
Int1Config )
Set HTS221 Interrupt INT1 configuration.
Parameters:
HTS221_InterruptConfig_TypeDef,: pointer to a HTS221_InterruptConfig_TypeDef structure that contains the configuration setting for the HTS221 Interrupt.
Return values:
Definition at line 250 of file hts221.c .
void HTS221_Power_OFF
(
)
Enter the shutdown mode for HTS221.
Return values:
Definition at line 388 of file hts221.c .
static void HTS221_Power_On
(
)
[static]
Exit the shutdown mode for HTS221.
Return values:
Definition at line 370 of file hts221.c .
uint8_t HTS221_ReadID
(
void
)
Read ID address of HTS221.
Parameters:
Return values:
Definition at line 214 of file hts221.c .
void HTS221_RebootCmd
(
void
)
Reboot memory content of HTS221.
Parameters:
Return values:
Definition at line 230 of file hts221.c .