ble

Dependencies:   HC_SR04_Ultrasonic_Library Servo mbed

Fork of FIP_REV1 by Robotique FIP

Embed: (wiki syntax)

« Back to documentation index

HTS221_Private_Functions

HTS221_Private_Functions
[HTS221]

Functions

void HTS221_Init (HUM_TEMP_InitTypeDef *HTS221_Init)
 Set HTS221 Initialization.
uint8_t HTS221_ReadID (void)
 Read ID address of HTS221.
void HTS221_RebootCmd (void)
 Reboot memory content of HTS221.
void HTS221_GetHumidity (float *pfData)
 Read HTS221 output register, and calculate the humidity.
void HTS221_GetTemperature (float *pfData)
 Read HTS221 output register, and calculate the temperature.
void HTS221_Power_OFF ()
 Enter the shutdown mode for HTS221.
static void HTS221_Calibration (void)
 HTS221 Calibration procedure.
static void HTS221_Power_On ()
 Exit the shutdown mode for HTS221.

Function Documentation

static void HTS221_Calibration ( void   ) [static]

HTS221 Calibration procedure.

Parameters:
None
Return values:
None

Definition at line 137 of file hts221.c.

void HTS221_GetHumidity ( float *  pfData )

Read HTS221 output register, and calculate the humidity.

Parameters:
pfData: Data out pointer
Return values:
None

Definition at line 252 of file hts221.c.

void HTS221_GetTemperature ( float *  pfData )

Read HTS221 output register, and calculate the temperature.

Parameters:
pfData: Data out pointer
Return values:
None

Definition at line 298 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:
None

Definition at line 191 of file hts221.c.

void HTS221_Power_OFF (  )

Enter the shutdown mode for HTS221.

Return values:
None

Definition at line 361 of file hts221.c.

static void HTS221_Power_On (  ) [static]

Exit the shutdown mode for HTS221.

Return values:
None

Definition at line 343 of file hts221.c.

uint8_t HTS221_ReadID ( void   )

Read ID address of HTS221.

Parameters:
DeviceID address
Return values:
IDname

Definition at line 216 of file hts221.c.

void HTS221_RebootCmd ( void   )

Reboot memory content of HTS221.

Parameters:
None
Return values:
None

Definition at line 232 of file hts221.c.