Workshop example

Dependencies:   X_NUCLEO_COMMON ST_INTERFACES

Embed: (wiki syntax)

« Back to documentation index

HTS221_Exported_Types

HTS221_Exported_Types
[HTS221_DRIVER]

Data Structures

struct  HTS221_DriverVersion_st
 Driver Version Info structure definition. More...
struct  HTS221_Init_st
 HTS221 Init structure definition. More...

Enumerations

enum  HTS221_Error_et
 

Error code type.

More...
enum  HTS221_State_et
 

State type.

More...
enum  HTS221_BitStatus_et
 

Bit status type.

More...
enum  HTS221_Avgh_et {
  HTS221_AVGH_4 = (uint8_t)0x00, HTS221_AVGH_8 = (uint8_t)0x01, HTS221_AVGH_16 = (uint8_t)0x02, HTS221_AVGH_32 = (uint8_t)0x03,
  HTS221_AVGH_64 = (uint8_t)0x04, HTS221_AVGH_128 = (uint8_t)0x05, HTS221_AVGH_256 = (uint8_t)0x06, HTS221_AVGH_512 = (uint8_t)0x07
}
 

Humidity average.

More...
enum  HTS221_Avgt_et {
  HTS221_AVGT_2 = (uint8_t)0x00, HTS221_AVGT_4 = (uint8_t)0x08, HTS221_AVGT_8 = (uint8_t)0x10, HTS221_AVGT_16 = (uint8_t)0x18,
  HTS221_AVGT_32 = (uint8_t)0x20, HTS221_AVGT_64 = (uint8_t)0x28, HTS221_AVGT_128 = (uint8_t)0x30, HTS221_AVGT_256 = (uint8_t)0x38
}
 

Temperature average.

More...
enum  HTS221_Odr_et { HTS221_ODR_ONE_SHOT = (uint8_t)0x00, HTS221_ODR_1HZ = (uint8_t)0x01, HTS221_ODR_7HZ = (uint8_t)0x02, HTS221_ODR_12_5HZ = (uint8_t)0x03 }
 

Output data rate configuration.

More...
enum  HTS221_OutputType_et { HTS221_PUSHPULL = (uint8_t)0x00, HTS221_OPENDRAIN = (uint8_t)0x40 }
 

Push-pull/Open Drain selection on DRDY pin.

More...
enum  HTS221_DrdyLevel_et { HTS221_HIGH_LVL = (uint8_t)0x00, HTS221_LOW_LVL = (uint8_t)0x80 }
 

Active level of DRDY pin.

More...

Enumeration Type Documentation

Humidity average.

Enumerator:
HTS221_AVGH_4 

Internal average on 4 samples

HTS221_AVGH_8 

Internal average on 8 samples

HTS221_AVGH_16 

Internal average on 16 samples

HTS221_AVGH_32 

Internal average on 32 samples

HTS221_AVGH_64 

Internal average on 64 samples

HTS221_AVGH_128 

Internal average on 128 samples

HTS221_AVGH_256 

Internal average on 256 samples

HTS221_AVGH_512 

Internal average on 512 samples

Definition at line 102 of file HTS221_driver.h.

Temperature average.

Enumerator:
HTS221_AVGT_2 

Internal average on 2 samples

HTS221_AVGT_4 

Internal average on 4 samples

HTS221_AVGT_8 

Internal average on 8 samples

HTS221_AVGT_16 

Internal average on 16 samples

HTS221_AVGT_32 

Internal average on 32 samples

HTS221_AVGT_64 

Internal average on 64 samples

HTS221_AVGT_128 

Internal average on 128 samples

HTS221_AVGT_256 

Internal average on 256 samples

Definition at line 121 of file HTS221_driver.h.

Bit status type.

Definition at line 96 of file HTS221_driver.h.

Active level of DRDY pin.

Enumerator:
HTS221_HIGH_LVL 

HIGH state level for DRDY pin

HTS221_LOW_LVL 

LOW state level for DRDY pin

Definition at line 164 of file HTS221_driver.h.

Error code type.

Definition at line 85 of file HTS221_driver.h.

Output data rate configuration.

Enumerator:
HTS221_ODR_ONE_SHOT 

Output Data Rate: one shot

HTS221_ODR_1HZ 

Output Data Rate: 1Hz

HTS221_ODR_7HZ 

Output Data Rate: 7Hz

HTS221_ODR_12_5HZ 

Output Data Rate: 12.5Hz

Definition at line 140 of file HTS221_driver.h.

Push-pull/Open Drain selection on DRDY pin.

Enumerator:
HTS221_PUSHPULL 

DRDY pin in push pull

HTS221_OPENDRAIN 

DRDY pin in open drain

Definition at line 154 of file HTS221_driver.h.

State type.

Definition at line 90 of file HTS221_driver.h.