diff --git a/doc/html/driver__htu21d_8c_source.html b/doc/html/driver__htu21d_8c_source.html index 00195f4..367e1a9 100644 --- a/doc/html/driver__htu21d_8c_source.html +++ b/doc/html/driver__htu21d_8c_source.html @@ -639,7 +639,7 @@
735  return 3; /* return error */
736  }
737 
-
738  res = a_htu21d_read(handle, HUT21D_MODE_NO_HOLD_MASTER,
+
738  res = a_htu21d_read(handle, HTU21D_MODE_NO_HOLD_MASTER,
739  HTU21D_COMMAND_READ_USER_REGISTER, &prev, 1); /* read config */
740  if (res != 0) /* check the result */
741  {
@@ -676,7 +676,7 @@
783  return 3; /* return error */
784  }
785 
-
786  res = a_htu21d_read(handle, HUT21D_MODE_NO_HOLD_MASTER,
+
786  res = a_htu21d_read(handle, HTU21D_MODE_NO_HOLD_MASTER,
787  HTU21D_COMMAND_READ_USER_REGISTER, &prev, 1); /* read config */
788  if (res != 0) /* check the result */
789  {
@@ -705,7 +705,7 @@
823  return 3; /* return error */
824  }
825 
-
826  res = a_htu21d_read(handle, HUT21D_MODE_NO_HOLD_MASTER,
+
826  res = a_htu21d_read(handle, HTU21D_MODE_NO_HOLD_MASTER,
827  HTU21D_COMMAND_READ_USER_REGISTER, &prev, 1); /* read config */
828  if (res != 0) /* check the result */
829  {
@@ -732,7 +732,7 @@
861  return 3; /* return error */
862  }
863 
-
864  res = a_htu21d_read(handle, HUT21D_MODE_NO_HOLD_MASTER,
+
864  res = a_htu21d_read(handle, HTU21D_MODE_NO_HOLD_MASTER,
865  HTU21D_COMMAND_READ_USER_REGISTER, &prev, 1); /* read config */
866  if (res != 0) /* check the result */
867  {
@@ -767,7 +767,7 @@
907  return 3; /* return error */
908  }
909 
-
910  res = a_htu21d_read(handle, HUT21D_MODE_NO_HOLD_MASTER,
+
910  res = a_htu21d_read(handle, HTU21D_MODE_NO_HOLD_MASTER,
911  HTU21D_COMMAND_READ_USER_REGISTER, &prev, 1); /* read config */
912  if (res != 0) /* check the result */
913  {
@@ -794,7 +794,7 @@
945  return 3; /* return error */
946  }
947 
-
948  res = a_htu21d_read(handle, HUT21D_MODE_NO_HOLD_MASTER,
+
948  res = a_htu21d_read(handle, HTU21D_MODE_NO_HOLD_MASTER,
949  HTU21D_COMMAND_READ_USER_REGISTER, &prev, 1); /* read config */
950  if (res != 0) /* check the result */
951  {
@@ -829,7 +829,7 @@
991  return 3; /* return error */
992  }
993 
-
994  res = a_htu21d_read(handle, HUT21D_MODE_NO_HOLD_MASTER,
+
994  res = a_htu21d_read(handle, HTU21D_MODE_NO_HOLD_MASTER,
995  HTU21D_COMMAND_READ_USER_REGISTER, &prev, 1); /* read config */
996  if (res != 0) /* check the result */
997  {
@@ -995,7 +995,7 @@
1181  return 4; /* return error */
1182  }
1183  handle->delay_ms(15); /* delay 15 ms */
-
1184  res = a_htu21d_read(handle, HUT21D_MODE_NO_HOLD_MASTER,
+
1184  res = a_htu21d_read(handle, HTU21D_MODE_NO_HOLD_MASTER,
1185  HTU21D_COMMAND_READ_USER_REGISTER, &prev, 1); /* read config */
1186  if (res != 0) /* check the result */
1187  {
@@ -1006,7 +1006,7 @@
1192  }
1193  handle->resolution = (htu21d_resolution_t)((((prev >> 7) & 0x01) << 1)
1194  | (((prev >> 0) & 0x01) << 0)); /* save the resolution */
-
1195  handle->mode = HUT21D_MODE_NO_HOLD_MASTER; /* set no hold master */
+
1195  handle->mode = HTU21D_MODE_NO_HOLD_MASTER; /* set no hold master */
1196 
1197  handle->inited = 1; /* flag finish initialization */
1198 
@@ -1135,7 +1135,7 @@
HTU21D_RESOLUTION_TEMP_12_BITS_RH_8_BITS
@ HTU21D_RESOLUTION_TEMP_12_BITS_RH_8_BITS
Definition: driver_htu21d.h:92
HTU21D_RESOLUTION_TEMP_11_BITS_RH_11_BITS
@ HTU21D_RESOLUTION_TEMP_11_BITS_RH_11_BITS
Definition: driver_htu21d.h:91
HTU21D_MODE_HOLD_MASTER
@ HTU21D_MODE_HOLD_MASTER
Definition: driver_htu21d.h:73
-
HUT21D_MODE_NO_HOLD_MASTER
@ HUT21D_MODE_NO_HOLD_MASTER
Definition: driver_htu21d.h:74
+
HTU21D_MODE_NO_HOLD_MASTER
@ HTU21D_MODE_NO_HOLD_MASTER
Definition: driver_htu21d.h:74
htu21d_get_reg
uint8_t htu21d_get_reg(htu21d_handle_t *handle, uint8_t *buf, uint16_t len)
get the chip register
Definition: driver_htu21d.c:1283
htu21d_set_reg
uint8_t htu21d_set_reg(htu21d_handle_t *handle, uint8_t *buf, uint16_t len)
set the chip register
Definition: driver_htu21d.c:1257
htu21d_handle_s
htu21d handle structure definition
Definition: driver_htu21d.h:101
diff --git a/doc/html/driver__htu21d_8h.html b/doc/html/driver__htu21d_8h.html index 9681834..c26eb0e 100644 --- a/doc/html/driver__htu21d_8h.html +++ b/doc/html/driver__htu21d_8h.html @@ -157,17 +157,17 @@

Enumerations

enum  htu21d_bool_t { HTU21D_BOOL_FALSE = 0x00 -, HUT21D_BOOL_TRUE = 0x01 +, HTU21D_BOOL_TRUE = 0x01 }  htu21d bool enumeration definition More...
  enum  htu21d_mode_t { HTU21D_MODE_HOLD_MASTER = 0x00 -, HUT21D_MODE_NO_HOLD_MASTER = 0x01 +, HTU21D_MODE_NO_HOLD_MASTER = 0x01 }  htu21d mode enumeration definition More...
  enum  htu21d_status_t { HTU21D_STATUS_OVER_2P25 = 0x00 -, HUT21D_STATUS_LESS_2P25 = 0x01 +, HTU21D_STATUS_LESS_2P25 = 0x01 }  htu21d status enumeration definition More...
  diff --git a/doc/html/driver__htu21d_8h.js b/doc/html/driver__htu21d_8h.js index 94d9e56..5a19784 100644 --- a/doc/html/driver__htu21d_8h.js +++ b/doc/html/driver__htu21d_8h.js @@ -14,11 +14,11 @@ var driver__htu21d_8h = [ "htu21d_info_t", "group__htu21d__base__driver.html#gac1869c95fc80a0ee4d3d91d461bfd02f", null ], [ "htu21d_bool_t", "group__htu21d__base__driver.html#gaeb86855a36eeb5076b9f3f0afcc7a4c0", [ [ "HTU21D_BOOL_FALSE", "group__htu21d__base__driver.html#ggaeb86855a36eeb5076b9f3f0afcc7a4c0a2e53bd798be760f7ca887f749f3e1ed3", null ], - [ "HUT21D_BOOL_TRUE", "group__htu21d__base__driver.html#ggaeb86855a36eeb5076b9f3f0afcc7a4c0a5b8f72dda7fa09b644cec4a986cdfe4d", null ] + [ "HTU21D_BOOL_TRUE", "group__htu21d__base__driver.html#ggaeb86855a36eeb5076b9f3f0afcc7a4c0acea2597e8de24281cb97e15bc387a00b", null ] ] ], [ "htu21d_mode_t", "group__htu21d__base__driver.html#ga8d45849af894d726346f7f4b0285882b", [ [ "HTU21D_MODE_HOLD_MASTER", "group__htu21d__base__driver.html#gga8d45849af894d726346f7f4b0285882ba1ef89fb302aebc5d1bc4ae77b9930482", null ], - [ "HUT21D_MODE_NO_HOLD_MASTER", "group__htu21d__base__driver.html#gga8d45849af894d726346f7f4b0285882ba87dad60862d177a8f5c186533126a268", null ] + [ "HTU21D_MODE_NO_HOLD_MASTER", "group__htu21d__base__driver.html#gga8d45849af894d726346f7f4b0285882bab9f0e1d3a14981ba2f577840be098de7", null ] ] ], [ "htu21d_resolution_t", "group__htu21d__base__driver.html#ga7324bd4db20abc8cebf8d069462def8a", [ [ "HTU21D_RESOLUTION_TEMP_11_BITS_RH_11_BITS", "group__htu21d__base__driver.html#gga7324bd4db20abc8cebf8d069462def8aaf893c62ca9f5fc74873f8d900e96b2b0", null ], @@ -28,7 +28,7 @@ var driver__htu21d_8h = ] ], [ "htu21d_status_t", "group__htu21d__base__driver.html#gae298be07e1cbe586e8ff27ee812a6f84", [ [ "HTU21D_STATUS_OVER_2P25", "group__htu21d__base__driver.html#ggae298be07e1cbe586e8ff27ee812a6f84af7d594c5f2d11771de2b324034cc9b14", null ], - [ "HUT21D_STATUS_LESS_2P25", "group__htu21d__base__driver.html#ggae298be07e1cbe586e8ff27ee812a6f84aa051693bf6def6c73b517b098b00760d", null ] + [ "HTU21D_STATUS_LESS_2P25", "group__htu21d__base__driver.html#ggae298be07e1cbe586e8ff27ee812a6f84a2391d5d5672ee8fc9f793478f09ad131", null ] ] ], [ "htu21d_deinit", "group__htu21d__base__driver.html#gaf7ebe0f270b1297b038ecf07e8d67318", null ], [ "htu21d_get_battery_status", "group__htu21d__base__driver.html#gadef5fb5b7b5e771038ed2947102dea6b", null ], diff --git a/doc/html/driver__htu21d_8h_source.html b/doc/html/driver__htu21d_8h_source.html index e7f6571..754d1d0 100644 --- a/doc/html/driver__htu21d_8h_source.html +++ b/doc/html/driver__htu21d_8h_source.html @@ -103,19 +103,19 @@
62 typedef enum
63 {
64  HTU21D_BOOL_FALSE = 0x00,
-
65  HUT21D_BOOL_TRUE = 0x01,
+
65  HTU21D_BOOL_TRUE = 0x01,
66 } htu21d_bool_t;
67 
71 typedef enum
72 {
73  HTU21D_MODE_HOLD_MASTER = 0x00,
-
74  HUT21D_MODE_NO_HOLD_MASTER = 0x01,
+
74  HTU21D_MODE_NO_HOLD_MASTER = 0x01,
75 } htu21d_mode_t;
76 
80 typedef enum
81 {
82  HTU21D_STATUS_OVER_2P25 = 0x00,
-
83  HUT21D_STATUS_LESS_2P25 = 0x01,
+
83  HTU21D_STATUS_LESS_2P25 = 0x01,
84 } htu21d_status_t;
85 
89 typedef enum
@@ -249,11 +249,11 @@
HTU21D_RESOLUTION_TEMP_12_BITS_RH_8_BITS
@ HTU21D_RESOLUTION_TEMP_12_BITS_RH_8_BITS
Definition: driver_htu21d.h:92
HTU21D_RESOLUTION_TEMP_11_BITS_RH_11_BITS
@ HTU21D_RESOLUTION_TEMP_11_BITS_RH_11_BITS
Definition: driver_htu21d.h:91
HTU21D_MODE_HOLD_MASTER
@ HTU21D_MODE_HOLD_MASTER
Definition: driver_htu21d.h:73
-
HUT21D_MODE_NO_HOLD_MASTER
@ HUT21D_MODE_NO_HOLD_MASTER
Definition: driver_htu21d.h:74
-
HUT21D_STATUS_LESS_2P25
@ HUT21D_STATUS_LESS_2P25
Definition: driver_htu21d.h:83
+
HTU21D_MODE_NO_HOLD_MASTER
@ HTU21D_MODE_NO_HOLD_MASTER
Definition: driver_htu21d.h:74
+
HTU21D_STATUS_LESS_2P25
@ HTU21D_STATUS_LESS_2P25
Definition: driver_htu21d.h:83
HTU21D_STATUS_OVER_2P25
@ HTU21D_STATUS_OVER_2P25
Definition: driver_htu21d.h:82
HTU21D_BOOL_FALSE
@ HTU21D_BOOL_FALSE
Definition: driver_htu21d.h:64
-
HUT21D_BOOL_TRUE
@ HUT21D_BOOL_TRUE
Definition: driver_htu21d.h:65
+
HTU21D_BOOL_TRUE
@ HTU21D_BOOL_TRUE
Definition: driver_htu21d.h:65
htu21d_get_reg
uint8_t htu21d_get_reg(htu21d_handle_t *handle, uint8_t *buf, uint16_t len)
get the chip register
Definition: driver_htu21d.c:1283
htu21d_set_reg
uint8_t htu21d_set_reg(htu21d_handle_t *handle, uint8_t *buf, uint16_t len)
set the chip register
Definition: driver_htu21d.c:1257
htu21d_handle_s
htu21d handle structure definition
Definition: driver_htu21d.h:101
diff --git a/doc/html/driver__htu21d__basic_8h.html b/doc/html/driver__htu21d__basic_8h.html index fa46368..26912b0 100644 --- a/doc/html/driver__htu21d__basic_8h.html +++ b/doc/html/driver__htu21d__basic_8h.html @@ -100,7 +100,7 @@ - + diff --git a/doc/html/driver__htu21d__basic_8h_source.html b/doc/html/driver__htu21d__basic_8h_source.html index 71e6a76..4d8263e 100644 --- a/doc/html/driver__htu21d__basic_8h_source.html +++ b/doc/html/driver__htu21d__basic_8h_source.html @@ -98,7 +98,7 @@
43 extern "C"{
44 #endif
45 
-
56 #define HTU21D_BASIC_DEFAULT_MODE HUT21D_MODE_NO_HOLD_MASTER
+
56 #define HTU21D_BASIC_DEFAULT_MODE HTU21D_MODE_NO_HOLD_MASTER
57 #define HTU21D_BASIC_DEFAULT_RESOLUTION HTU21D_RESOLUTION_TEMP_14_BITS_RH_12_BITS
58 #define HTU21D_BASIC_DEFAULT_HEATER HTU21D_BOOL_FALSE
59 #define HTU21D_BASIC_DEFAULT_OTP_RELOAD HTU21D_BOOL_FALSE
diff --git a/doc/html/driver__htu21d__read__test_8c_source.html b/doc/html/driver__htu21d__read__test_8c_source.html index 87e4c00..b5d8465 100644 --- a/doc/html/driver__htu21d__read__test_8c_source.html +++ b/doc/html/driver__htu21d__read__test_8c_source.html @@ -145,7 +145,7 @@
100  }
101 
102  /* enable heater */
-
103  res = htu21d_set_heater(&gs_handle, HUT21D_BOOL_TRUE);
+
103  res = htu21d_set_heater(&gs_handle, HTU21D_BOOL_TRUE);
104  if (res != 0)
105  {
106  htu21d_interface_debug_print("htu21d: set heater failed.\n");
@@ -165,7 +165,7 @@
120  }
121 
122  /* if hold master enable */
-
123  if (hold_master_enable == HUT21D_BOOL_TRUE)
+
123  if (hold_master_enable == HTU21D_BOOL_TRUE)
124  {
125  /* set hold master mode */
126  res = htu21d_set_mode(&gs_handle, HTU21D_MODE_HOLD_MASTER);
@@ -209,7 +209,7 @@
164  }
165 
166  /* set no hold master mode */
-
167  res = htu21d_set_mode(&gs_handle, HUT21D_MODE_NO_HOLD_MASTER);
+
167  res = htu21d_set_mode(&gs_handle, HTU21D_MODE_NO_HOLD_MASTER);
168  if (res != 0)
169  {
170  htu21d_interface_debug_print("htu21d: set mode failed.\n");
@@ -429,9 +429,9 @@
HTU21D_RESOLUTION_TEMP_12_BITS_RH_8_BITS
@ HTU21D_RESOLUTION_TEMP_12_BITS_RH_8_BITS
Definition: driver_htu21d.h:92
HTU21D_RESOLUTION_TEMP_11_BITS_RH_11_BITS
@ HTU21D_RESOLUTION_TEMP_11_BITS_RH_11_BITS
Definition: driver_htu21d.h:91
HTU21D_MODE_HOLD_MASTER
@ HTU21D_MODE_HOLD_MASTER
Definition: driver_htu21d.h:73
-
HUT21D_MODE_NO_HOLD_MASTER
@ HUT21D_MODE_NO_HOLD_MASTER
Definition: driver_htu21d.h:74
+
HTU21D_MODE_NO_HOLD_MASTER
@ HTU21D_MODE_NO_HOLD_MASTER
Definition: driver_htu21d.h:74
HTU21D_BOOL_FALSE
@ HTU21D_BOOL_FALSE
Definition: driver_htu21d.h:64
-
HUT21D_BOOL_TRUE
@ HUT21D_BOOL_TRUE
Definition: driver_htu21d.h:65
+
HTU21D_BOOL_TRUE
@ HTU21D_BOOL_TRUE
Definition: driver_htu21d.h:65
htu21d_interface_iic_write
uint8_t htu21d_interface_iic_write(uint8_t addr, uint8_t reg, uint8_t *buf, uint16_t len)
interface iic bus write
Definition: driver_htu21d_interface_template.c:104
htu21d_interface_iic_write_cmd
uint8_t htu21d_interface_iic_write_cmd(uint8_t addr, uint8_t *buf, uint16_t len)
interface iic bus write command
Definition: driver_htu21d_interface_template.c:73
htu21d_interface_iic_init
uint8_t htu21d_interface_iic_init(void)
interface iic bus init
Definition: driver_htu21d_interface_template.c:46
diff --git a/doc/html/driver__htu21d__register__test_8c_source.html b/doc/html/driver__htu21d__register__test_8c_source.html index d022e84..9b55db1 100644 --- a/doc/html/driver__htu21d__register__test_8c_source.html +++ b/doc/html/driver__htu21d__register__test_8c_source.html @@ -176,7 +176,7 @@
129  htu21d_interface_debug_print("htu21d: check mode pin %s.\n", (HTU21D_MODE_HOLD_MASTER == mode) ? "ok" : "error");
130 
131  /* no hold master mode */
-
132  res = htu21d_set_mode(&gs_handle, HUT21D_MODE_NO_HOLD_MASTER);
+
132  res = htu21d_set_mode(&gs_handle, HTU21D_MODE_NO_HOLD_MASTER);
133  if (res != 0)
134  {
135  htu21d_interface_debug_print("htu21d: set mode failed.\n");
@@ -197,7 +197,7 @@
150 
151  return 1;
152  }
-
153  htu21d_interface_debug_print("htu21d: check mode pin %s.\n", (HUT21D_MODE_NO_HOLD_MASTER == mode) ? "ok" : "error");
+
153  htu21d_interface_debug_print("htu21d: check mode pin %s.\n", (HTU21D_MODE_NO_HOLD_MASTER == mode) ? "ok" : "error");
154 
155  /* htu21d_set_resolution/htu21d_get_resolution test */
156  htu21d_interface_debug_print("htu21d: htu21d_set_resolution/htu21d_get_resolution test.\n");
@@ -302,7 +302,7 @@
255  htu21d_interface_debug_print("htu21d: htu21d_set_heater/htu21d_get_heater test.\n");
256 
257  /* enable heater */
-
258  res = htu21d_set_heater(&gs_handle, HUT21D_BOOL_TRUE);
+
258  res = htu21d_set_heater(&gs_handle, HTU21D_BOOL_TRUE);
259  if (res != 0)
260  {
261  htu21d_interface_debug_print("htu21d: set heater failed.\n");
@@ -323,7 +323,7 @@
276 
277  return 1;
278  }
-
279  htu21d_interface_debug_print("htu21d: check heater %s.\n", (HUT21D_BOOL_TRUE == enable) ? "ok" : "error");
+
279  htu21d_interface_debug_print("htu21d: check heater %s.\n", (HTU21D_BOOL_TRUE == enable) ? "ok" : "error");
280 
281  /* disable heater */
282  res = htu21d_set_heater(&gs_handle, HTU21D_BOOL_FALSE);
@@ -377,7 +377,7 @@
330  htu21d_interface_debug_print("htu21d: check otp reload %s.\n", (HTU21D_BOOL_FALSE == enable) ? "ok" : "error");
331 
332  /* disable otp reload */
-
333  res = htu21d_set_disable_otp_reload(&gs_handle, HUT21D_BOOL_TRUE);
+
333  res = htu21d_set_disable_otp_reload(&gs_handle, HTU21D_BOOL_TRUE);
334  if (res != 0)
335  {
336  htu21d_interface_debug_print("htu21d: set disable otp reload failed.\n");
@@ -398,7 +398,7 @@
351 
352  return 1;
353  }
-
354  htu21d_interface_debug_print("htu21d: check otp reload %s.\n", (HUT21D_BOOL_TRUE == enable) ? "ok" : "error");
+
354  htu21d_interface_debug_print("htu21d: check otp reload %s.\n", (HTU21D_BOOL_TRUE == enable) ? "ok" : "error");
355 
356  /* htu21d_get_serial_number test */
357  htu21d_interface_debug_print("htu21d: htu21d_get_serial_number test.\n");
@@ -475,9 +475,9 @@
HTU21D_RESOLUTION_TEMP_12_BITS_RH_8_BITS
@ HTU21D_RESOLUTION_TEMP_12_BITS_RH_8_BITS
Definition: driver_htu21d.h:92
HTU21D_RESOLUTION_TEMP_11_BITS_RH_11_BITS
@ HTU21D_RESOLUTION_TEMP_11_BITS_RH_11_BITS
Definition: driver_htu21d.h:91
HTU21D_MODE_HOLD_MASTER
@ HTU21D_MODE_HOLD_MASTER
Definition: driver_htu21d.h:73
-
HUT21D_MODE_NO_HOLD_MASTER
@ HUT21D_MODE_NO_HOLD_MASTER
Definition: driver_htu21d.h:74
+
HTU21D_MODE_NO_HOLD_MASTER
@ HTU21D_MODE_NO_HOLD_MASTER
Definition: driver_htu21d.h:74
HTU21D_BOOL_FALSE
@ HTU21D_BOOL_FALSE
Definition: driver_htu21d.h:64
-
HUT21D_BOOL_TRUE
@ HUT21D_BOOL_TRUE
Definition: driver_htu21d.h:65
+
HTU21D_BOOL_TRUE
@ HTU21D_BOOL_TRUE
Definition: driver_htu21d.h:65
htu21d_interface_iic_write
uint8_t htu21d_interface_iic_write(uint8_t addr, uint8_t reg, uint8_t *buf, uint16_t len)
interface iic bus write
Definition: driver_htu21d_interface_template.c:104
htu21d_interface_iic_write_cmd
uint8_t htu21d_interface_iic_write_cmd(uint8_t addr, uint8_t *buf, uint16_t len)
interface iic bus write command
Definition: driver_htu21d_interface_template.c:73
htu21d_interface_iic_init
uint8_t htu21d_interface_iic_init(void)
interface iic bus init
Definition: driver_htu21d_interface_template.c:46
diff --git a/doc/html/globals.html b/doc/html/globals.html index f768d9d..917684c 100644 --- a/doc/html/globals.html +++ b/doc/html/globals.html @@ -168,6 +168,9 @@

- h -

@@ -246,7 +246,7 @@

-

Macros

#define HTU21D_BASIC_DEFAULT_MODE   HUT21D_MODE_NO_HOLD_MASTER
#define HTU21D_BASIC_DEFAULT_MODE   HTU21D_MODE_NO_HOLD_MASTER
 htu21d basic example default definition More...
 
#define HTU21D_BASIC_DEFAULT_RESOLUTION   HTU21D_RESOLUTION_TEMP_14_BITS_RH_12_BITS

Enumerations

enum  htu21d_bool_t { HTU21D_BOOL_FALSE = 0x00 -, HUT21D_BOOL_TRUE = 0x01 +, HTU21D_BOOL_TRUE = 0x01 }
 htu21d bool enumeration definition More...
 
enum  htu21d_mode_t { HTU21D_MODE_HOLD_MASTER = 0x00 -, HUT21D_MODE_NO_HOLD_MASTER = 0x01 +, HTU21D_MODE_NO_HOLD_MASTER = 0x01 }
 htu21d mode enumeration definition More...
 
enum  htu21d_status_t { HTU21D_STATUS_OVER_2P25 = 0x00 -, HUT21D_STATUS_LESS_2P25 = 0x01 +, HTU21D_STATUS_LESS_2P25 = 0x01 }
 htu21d status enumeration definition More...
 
Enumerator
HTU21D_BOOL_FALSE 

false

HUT21D_BOOL_TRUE 

true

+
HTU21D_BOOL_TRUE 

true

@@ -270,7 +270,7 @@

EnumeratorHTU21D_MODE_HOLD_MASTER 

hold master mode

-HUT21D_MODE_NO_HOLD_MASTER 

no hold master mode

+HTU21D_MODE_NO_HOLD_MASTER 

no hold master mode

@@ -322,7 +322,7 @@

EnumeratorHTU21D_STATUS_OVER_2P25 

>2.25V

-HUT21D_STATUS_LESS_2P25 

<2.25V

+HTU21D_STATUS_LESS_2P25 

<2.25V

diff --git a/doc/html/group__htu21d__base__driver.js b/doc/html/group__htu21d__base__driver.js index 100d06d..49fb5be 100644 --- a/doc/html/group__htu21d__base__driver.js +++ b/doc/html/group__htu21d__base__driver.js @@ -29,11 +29,11 @@ var group__htu21d__base__driver = [ "htu21d_info_t", "group__htu21d__base__driver.html#gac1869c95fc80a0ee4d3d91d461bfd02f", null ], [ "htu21d_bool_t", "group__htu21d__base__driver.html#gaeb86855a36eeb5076b9f3f0afcc7a4c0", [ [ "HTU21D_BOOL_FALSE", "group__htu21d__base__driver.html#ggaeb86855a36eeb5076b9f3f0afcc7a4c0a2e53bd798be760f7ca887f749f3e1ed3", null ], - [ "HUT21D_BOOL_TRUE", "group__htu21d__base__driver.html#ggaeb86855a36eeb5076b9f3f0afcc7a4c0a5b8f72dda7fa09b644cec4a986cdfe4d", null ] + [ "HTU21D_BOOL_TRUE", "group__htu21d__base__driver.html#ggaeb86855a36eeb5076b9f3f0afcc7a4c0acea2597e8de24281cb97e15bc387a00b", null ] ] ], [ "htu21d_mode_t", "group__htu21d__base__driver.html#ga8d45849af894d726346f7f4b0285882b", [ [ "HTU21D_MODE_HOLD_MASTER", "group__htu21d__base__driver.html#gga8d45849af894d726346f7f4b0285882ba1ef89fb302aebc5d1bc4ae77b9930482", null ], - [ "HUT21D_MODE_NO_HOLD_MASTER", "group__htu21d__base__driver.html#gga8d45849af894d726346f7f4b0285882ba87dad60862d177a8f5c186533126a268", null ] + [ "HTU21D_MODE_NO_HOLD_MASTER", "group__htu21d__base__driver.html#gga8d45849af894d726346f7f4b0285882bab9f0e1d3a14981ba2f577840be098de7", null ] ] ], [ "htu21d_resolution_t", "group__htu21d__base__driver.html#ga7324bd4db20abc8cebf8d069462def8a", [ [ "HTU21D_RESOLUTION_TEMP_11_BITS_RH_11_BITS", "group__htu21d__base__driver.html#gga7324bd4db20abc8cebf8d069462def8aaf893c62ca9f5fc74873f8d900e96b2b0", null ], @@ -43,7 +43,7 @@ var group__htu21d__base__driver = ] ], [ "htu21d_status_t", "group__htu21d__base__driver.html#gae298be07e1cbe586e8ff27ee812a6f84", [ [ "HTU21D_STATUS_OVER_2P25", "group__htu21d__base__driver.html#ggae298be07e1cbe586e8ff27ee812a6f84af7d594c5f2d11771de2b324034cc9b14", null ], - [ "HUT21D_STATUS_LESS_2P25", "group__htu21d__base__driver.html#ggae298be07e1cbe586e8ff27ee812a6f84aa051693bf6def6c73b517b098b00760d", null ] + [ "HTU21D_STATUS_LESS_2P25", "group__htu21d__base__driver.html#ggae298be07e1cbe586e8ff27ee812a6f84a2391d5d5672ee8fc9f793478f09ad131", null ] ] ], [ "htu21d_deinit", "group__htu21d__base__driver.html#gaf7ebe0f270b1297b038ecf07e8d67318", null ], [ "htu21d_get_battery_status", "group__htu21d__base__driver.html#gadef5fb5b7b5e771038ed2947102dea6b", null ], diff --git a/doc/html/group__htu21d__example__driver.html b/doc/html/group__htu21d__example__driver.html index 9d39a7a..44b6629 100644 --- a/doc/html/group__htu21d__example__driver.html +++ b/doc/html/group__htu21d__example__driver.html @@ -97,7 +97,7 @@ - + @@ -149,7 +149,7 @@

Macros

#define HTU21D_BASIC_DEFAULT_MODE   HUT21D_MODE_NO_HOLD_MASTER
#define HTU21D_BASIC_DEFAULT_MODE   HTU21D_MODE_NO_HOLD_MASTER
 htu21d basic example default definition More...
 
#define HTU21D_BASIC_DEFAULT_RESOLUTION   HTU21D_RESOLUTION_TEMP_14_BITS_RH_12_BITS
- +
#define HTU21D_BASIC_DEFAULT_MODE   HUT21D_MODE_NO_HOLD_MASTER#define HTU21D_BASIC_DEFAULT_MODE   HTU21D_MODE_NO_HOLD_MASTER
diff --git a/doc/html/navtreeindex0.js b/doc/html/navtreeindex0.js index 5b34f46..1b1f80d 100644 --- a/doc/html/navtreeindex0.js +++ b/doc/html/navtreeindex0.js @@ -127,16 +127,16 @@ var NAVTREEINDEX0 = "group__htu21d__base__driver.html#gga7324bd4db20abc8cebf8d069462def8aaf893c62ca9f5fc74873f8d900e96b2b0":[0,0,1,6,0], "group__htu21d__base__driver.html#gga8d45849af894d726346f7f4b0285882ba1ef89fb302aebc5d1bc4ae77b9930482":[0,0,1,5,0], "group__htu21d__base__driver.html#gga8d45849af894d726346f7f4b0285882ba1ef89fb302aebc5d1bc4ae77b9930482":[2,0,3,1,13,0], -"group__htu21d__base__driver.html#gga8d45849af894d726346f7f4b0285882ba87dad60862d177a8f5c186533126a268":[0,0,1,5,1], -"group__htu21d__base__driver.html#gga8d45849af894d726346f7f4b0285882ba87dad60862d177a8f5c186533126a268":[2,0,3,1,13,1], -"group__htu21d__base__driver.html#ggae298be07e1cbe586e8ff27ee812a6f84aa051693bf6def6c73b517b098b00760d":[0,0,1,7,1], -"group__htu21d__base__driver.html#ggae298be07e1cbe586e8ff27ee812a6f84aa051693bf6def6c73b517b098b00760d":[2,0,3,1,15,1], +"group__htu21d__base__driver.html#gga8d45849af894d726346f7f4b0285882bab9f0e1d3a14981ba2f577840be098de7":[0,0,1,5,1], +"group__htu21d__base__driver.html#gga8d45849af894d726346f7f4b0285882bab9f0e1d3a14981ba2f577840be098de7":[2,0,3,1,13,1], +"group__htu21d__base__driver.html#ggae298be07e1cbe586e8ff27ee812a6f84a2391d5d5672ee8fc9f793478f09ad131":[0,0,1,7,1], +"group__htu21d__base__driver.html#ggae298be07e1cbe586e8ff27ee812a6f84a2391d5d5672ee8fc9f793478f09ad131":[2,0,3,1,15,1], "group__htu21d__base__driver.html#ggae298be07e1cbe586e8ff27ee812a6f84af7d594c5f2d11771de2b324034cc9b14":[2,0,3,1,15,0], "group__htu21d__base__driver.html#ggae298be07e1cbe586e8ff27ee812a6f84af7d594c5f2d11771de2b324034cc9b14":[0,0,1,7,0], "group__htu21d__base__driver.html#ggaeb86855a36eeb5076b9f3f0afcc7a4c0a2e53bd798be760f7ca887f749f3e1ed3":[0,0,1,4,0], "group__htu21d__base__driver.html#ggaeb86855a36eeb5076b9f3f0afcc7a4c0a2e53bd798be760f7ca887f749f3e1ed3":[2,0,3,1,12,0], -"group__htu21d__base__driver.html#ggaeb86855a36eeb5076b9f3f0afcc7a4c0a5b8f72dda7fa09b644cec4a986cdfe4d":[0,0,1,4,1], -"group__htu21d__base__driver.html#ggaeb86855a36eeb5076b9f3f0afcc7a4c0a5b8f72dda7fa09b644cec4a986cdfe4d":[2,0,3,1,12,1], +"group__htu21d__base__driver.html#ggaeb86855a36eeb5076b9f3f0afcc7a4c0acea2597e8de24281cb97e15bc387a00b":[0,0,1,4,1], +"group__htu21d__base__driver.html#ggaeb86855a36eeb5076b9f3f0afcc7a4c0acea2597e8de24281cb97e15bc387a00b":[2,0,3,1,12,1], "group__htu21d__driver.html":[0,0], "group__htu21d__example__driver.html":[0,0,4], "group__htu21d__example__driver.html#ga4406d3e1d3c4495b036caf2a03d030aa":[2,0,1,1,3], diff --git a/doc/html/search/all_2.js b/doc/html/search/all_2.js index cef9e23..6549864 100644 --- a/doc/html/search/all_2.js +++ b/doc/html/search/all_2.js @@ -18,57 +18,57 @@ var searchData= ['htu21d_5fbasic_5fread_41',['htu21d_basic_read',['../group__htu21d__example__driver.html#ga78f3cccdea2532254f8fc4ea69e5184b',1,'htu21d_basic_read(float *temperature, float *humidity): driver_htu21d_basic.c'],['../group__htu21d__example__driver.html#ga78f3cccdea2532254f8fc4ea69e5184b',1,'htu21d_basic_read(float *temperature, float *humidity): driver_htu21d_basic.c']]], ['htu21d_5fbool_5ffalse_42',['HTU21D_BOOL_FALSE',['../group__htu21d__base__driver.html#ggaeb86855a36eeb5076b9f3f0afcc7a4c0a2e53bd798be760f7ca887f749f3e1ed3',1,'driver_htu21d.h']]], ['htu21d_5fbool_5ft_43',['htu21d_bool_t',['../group__htu21d__base__driver.html#gaeb86855a36eeb5076b9f3f0afcc7a4c0',1,'driver_htu21d.h']]], - ['htu21d_5fcommand_5fread_5fuser_5fregister_44',['HTU21D_COMMAND_READ_USER_REGISTER',['../driver__htu21d_8c.html#a1d1ae29e943882c8b6e8ebba2e7b9daf',1,'driver_htu21d.c']]], - ['htu21d_5fcommand_5fsoft_5freset_45',['HTU21D_COMMAND_SOFT_RESET',['../driver__htu21d_8c.html#acda430005f262a43b9c535ae03dc2f6d',1,'driver_htu21d.c']]], - ['htu21d_5fcommand_5ftrig_5fhumi_5fhold_5fmaster_46',['HTU21D_COMMAND_TRIG_HUMI_HOLD_MASTER',['../driver__htu21d_8c.html#a6fa916a81d2890759ce8e45c06aabae8',1,'driver_htu21d.c']]], - ['htu21d_5fcommand_5ftrig_5fhumi_5fno_5fhold_5fmaster_47',['HTU21D_COMMAND_TRIG_HUMI_NO_HOLD_MASTER',['../driver__htu21d_8c.html#aeef558622f8c805487f771a8738c1044',1,'driver_htu21d.c']]], - ['htu21d_5fcommand_5ftrig_5ftemp_5fhold_5fmaster_48',['HTU21D_COMMAND_TRIG_TEMP_HOLD_MASTER',['../driver__htu21d_8c.html#ad44446131c6232111becc7fed32d3d60',1,'driver_htu21d.c']]], - ['htu21d_5fcommand_5ftrig_5ftemp_5fno_5fhold_5fmaster_49',['HTU21D_COMMAND_TRIG_TEMP_NO_HOLD_MASTER',['../driver__htu21d_8c.html#a37825fc31f41cca3729cbe7757d99249',1,'driver_htu21d.c']]], - ['htu21d_5fcommand_5fwrite_5fuser_5fregister_50',['HTU21D_COMMAND_WRITE_USER_REGISTER',['../driver__htu21d_8c.html#ac3a5f46f02a68e59ce82036232f4cee4',1,'driver_htu21d.c']]], - ['htu21d_5fdeinit_51',['htu21d_deinit',['../group__htu21d__base__driver.html#gaf7ebe0f270b1297b038ecf07e8d67318',1,'htu21d_deinit(htu21d_handle_t *handle): driver_htu21d.c'],['../group__htu21d__base__driver.html#gaf7ebe0f270b1297b038ecf07e8d67318',1,'htu21d_deinit(htu21d_handle_t *handle): driver_htu21d.c']]], - ['htu21d_5fget_5fbattery_5fstatus_52',['htu21d_get_battery_status',['../group__htu21d__base__driver.html#gadef5fb5b7b5e771038ed2947102dea6b',1,'htu21d_get_battery_status(htu21d_handle_t *handle, htu21d_status_t *status): driver_htu21d.c'],['../group__htu21d__base__driver.html#gadef5fb5b7b5e771038ed2947102dea6b',1,'htu21d_get_battery_status(htu21d_handle_t *handle, htu21d_status_t *status): driver_htu21d.c']]], - ['htu21d_5fget_5fdisable_5fotp_5freload_53',['htu21d_get_disable_otp_reload',['../group__htu21d__base__driver.html#ga10c4a2f4a0a615f9a9770782b6602dc4',1,'htu21d_get_disable_otp_reload(htu21d_handle_t *handle, htu21d_bool_t *enable): driver_htu21d.c'],['../group__htu21d__base__driver.html#ga10c4a2f4a0a615f9a9770782b6602dc4',1,'htu21d_get_disable_otp_reload(htu21d_handle_t *handle, htu21d_bool_t *enable): driver_htu21d.c']]], - ['htu21d_5fget_5fheater_54',['htu21d_get_heater',['../group__htu21d__base__driver.html#ga24c373d0ce1dd603fb1721730551d8c4',1,'htu21d_get_heater(htu21d_handle_t *handle, htu21d_bool_t *enable): driver_htu21d.c'],['../group__htu21d__base__driver.html#ga24c373d0ce1dd603fb1721730551d8c4',1,'htu21d_get_heater(htu21d_handle_t *handle, htu21d_bool_t *enable): driver_htu21d.c']]], - ['htu21d_5fget_5fmode_55',['htu21d_get_mode',['../group__htu21d__base__driver.html#gac8dbda92f0de5a962684813152c5469e',1,'htu21d_get_mode(htu21d_handle_t *handle, htu21d_mode_t *mode): driver_htu21d.c'],['../group__htu21d__base__driver.html#gac8dbda92f0de5a962684813152c5469e',1,'htu21d_get_mode(htu21d_handle_t *handle, htu21d_mode_t *mode): driver_htu21d.c']]], - ['htu21d_5fget_5freg_56',['htu21d_get_reg',['../group__htu21d__extend__driver.html#ga005fea6857f75fd4cedd39242b125ba1',1,'htu21d_get_reg(htu21d_handle_t *handle, uint8_t *buf, uint16_t len): driver_htu21d.c'],['../group__htu21d__extend__driver.html#ga005fea6857f75fd4cedd39242b125ba1',1,'htu21d_get_reg(htu21d_handle_t *handle, uint8_t *buf, uint16_t len): driver_htu21d.c']]], - ['htu21d_5fget_5fresolution_57',['htu21d_get_resolution',['../group__htu21d__base__driver.html#ga47f3d39b76aaa2d8b8bb99aae0d865af',1,'htu21d_get_resolution(htu21d_handle_t *handle, htu21d_resolution_t *resolution): driver_htu21d.c'],['../group__htu21d__base__driver.html#ga47f3d39b76aaa2d8b8bb99aae0d865af',1,'htu21d_get_resolution(htu21d_handle_t *handle, htu21d_resolution_t *resolution): driver_htu21d.c']]], - ['htu21d_5fget_5fserial_5fnumber_58',['htu21d_get_serial_number',['../group__htu21d__base__driver.html#gade7889e194d6d912b2818f958ebf2e42',1,'htu21d_get_serial_number(htu21d_handle_t *handle, uint64_t *number): driver_htu21d.c'],['../group__htu21d__base__driver.html#gade7889e194d6d912b2818f958ebf2e42',1,'htu21d_get_serial_number(htu21d_handle_t *handle, uint64_t *number): driver_htu21d.c']]], - ['htu21d_5fhandle_5fs_59',['htu21d_handle_s',['../structhtu21d__handle__s.html',1,'']]], - ['htu21d_5fhandle_5ft_60',['htu21d_handle_t',['../group__htu21d__base__driver.html#gab3e1f178624127ab6db552b28598876d',1,'driver_htu21d.h']]], - ['htu21d_5finfo_61',['htu21d_info',['../group__htu21d__base__driver.html#ga56c4d0f12aa73e1e5a38d9d751e2decd',1,'htu21d_info(htu21d_info_t *info): driver_htu21d.c'],['../group__htu21d__base__driver.html#ga56c4d0f12aa73e1e5a38d9d751e2decd',1,'htu21d_info(htu21d_info_t *info): driver_htu21d.c']]], - ['htu21d_5finfo_5fs_62',['htu21d_info_s',['../structhtu21d__info__s.html',1,'']]], - ['htu21d_5finfo_5ft_63',['htu21d_info_t',['../group__htu21d__base__driver.html#gac1869c95fc80a0ee4d3d91d461bfd02f',1,'driver_htu21d.h']]], - ['htu21d_5finit_64',['htu21d_init',['../group__htu21d__base__driver.html#ga6a1e3b056101d566b2296fa7da47c8b8',1,'htu21d_init(htu21d_handle_t *handle): driver_htu21d.c'],['../group__htu21d__base__driver.html#ga6a1e3b056101d566b2296fa7da47c8b8',1,'htu21d_init(htu21d_handle_t *handle): driver_htu21d.c']]], - ['htu21d_5finterface_5fdebug_5fprint_65',['htu21d_interface_debug_print',['../group__htu21d__interface__driver.html#gadff39cc15a0c9119f0d861739fafed6d',1,'htu21d_interface_debug_print(const char *const fmt,...): driver_htu21d_interface_template.c'],['../group__htu21d__interface__driver.html#gadff39cc15a0c9119f0d861739fafed6d',1,'htu21d_interface_debug_print(const char *const fmt,...): driver_htu21d_interface_template.c']]], - ['htu21d_5finterface_5fdelay_5fms_66',['htu21d_interface_delay_ms',['../group__htu21d__interface__driver.html#gae778cd67fc47ddd7da4b0ef4016ea7e0',1,'htu21d_interface_delay_ms(uint32_t ms): driver_htu21d_interface_template.c'],['../group__htu21d__interface__driver.html#gae778cd67fc47ddd7da4b0ef4016ea7e0',1,'htu21d_interface_delay_ms(uint32_t ms): driver_htu21d_interface_template.c']]], - ['htu21d_5finterface_5fiic_5fdeinit_67',['htu21d_interface_iic_deinit',['../group__htu21d__interface__driver.html#gab9514ef1e721d79a6e975d513ba380e5',1,'htu21d_interface_iic_deinit(void): driver_htu21d_interface_template.c'],['../group__htu21d__interface__driver.html#gab9514ef1e721d79a6e975d513ba380e5',1,'htu21d_interface_iic_deinit(void): driver_htu21d_interface_template.c']]], - ['htu21d_5finterface_5fiic_5finit_68',['htu21d_interface_iic_init',['../group__htu21d__interface__driver.html#ga8689ac7313693ae3847857337d421036',1,'htu21d_interface_iic_init(void): driver_htu21d_interface_template.c'],['../group__htu21d__interface__driver.html#ga8689ac7313693ae3847857337d421036',1,'htu21d_interface_iic_init(void): driver_htu21d_interface_template.c']]], - ['htu21d_5finterface_5fiic_5fread_69',['htu21d_interface_iic_read',['../group__htu21d__interface__driver.html#gacd386da32ead6ab15f9ffc3e9ccc60fa',1,'htu21d_interface_iic_read(uint8_t addr, uint8_t reg, uint8_t *buf, uint16_t len): driver_htu21d_interface_template.c'],['../group__htu21d__interface__driver.html#gacd386da32ead6ab15f9ffc3e9ccc60fa',1,'htu21d_interface_iic_read(uint8_t addr, uint8_t reg, uint8_t *buf, uint16_t len): driver_htu21d_interface_template.c']]], - ['htu21d_5finterface_5fiic_5fread_5fcmd_70',['htu21d_interface_iic_read_cmd',['../group__htu21d__interface__driver.html#gab113b67c6847a287832baeda3e1508b5',1,'htu21d_interface_iic_read_cmd(uint8_t addr, uint8_t *buf, uint16_t len): driver_htu21d_interface_template.c'],['../group__htu21d__interface__driver.html#gab113b67c6847a287832baeda3e1508b5',1,'htu21d_interface_iic_read_cmd(uint8_t addr, uint8_t *buf, uint16_t len): driver_htu21d_interface_template.c']]], - ['htu21d_5finterface_5fiic_5fread_5fwith_5fscl_71',['htu21d_interface_iic_read_with_scl',['../group__htu21d__interface__driver.html#gac80d4ff73c3f117812c3c6c46610501e',1,'htu21d_interface_iic_read_with_scl(uint8_t addr, uint8_t reg, uint8_t *buf, uint16_t len): driver_htu21d_interface_template.c'],['../group__htu21d__interface__driver.html#gac80d4ff73c3f117812c3c6c46610501e',1,'htu21d_interface_iic_read_with_scl(uint8_t addr, uint8_t reg, uint8_t *buf, uint16_t len): driver_htu21d_interface_template.c']]], - ['htu21d_5finterface_5fiic_5fwrite_72',['htu21d_interface_iic_write',['../group__htu21d__interface__driver.html#ga023e8f8950e8b44430396daa984e279e',1,'htu21d_interface_iic_write(uint8_t addr, uint8_t reg, uint8_t *buf, uint16_t len): driver_htu21d_interface_template.c'],['../group__htu21d__interface__driver.html#ga023e8f8950e8b44430396daa984e279e',1,'htu21d_interface_iic_write(uint8_t addr, uint8_t reg, uint8_t *buf, uint16_t len): driver_htu21d_interface_template.c']]], - ['htu21d_5finterface_5fiic_5fwrite_5fcmd_73',['htu21d_interface_iic_write_cmd',['../group__htu21d__interface__driver.html#ga13650da904843c3f8bdbf7c3347980fb',1,'htu21d_interface_iic_write_cmd(uint8_t addr, uint8_t *buf, uint16_t len): driver_htu21d_interface_template.c'],['../group__htu21d__interface__driver.html#ga13650da904843c3f8bdbf7c3347980fb',1,'htu21d_interface_iic_write_cmd(uint8_t addr, uint8_t *buf, uint16_t len): driver_htu21d_interface_template.c']]], - ['htu21d_5fmode_5fhold_5fmaster_74',['HTU21D_MODE_HOLD_MASTER',['../group__htu21d__base__driver.html#gga8d45849af894d726346f7f4b0285882ba1ef89fb302aebc5d1bc4ae77b9930482',1,'driver_htu21d.h']]], - ['htu21d_5fmode_5ft_75',['htu21d_mode_t',['../group__htu21d__base__driver.html#ga8d45849af894d726346f7f4b0285882b',1,'driver_htu21d.h']]], - ['htu21d_5fread_5fhumidity_76',['htu21d_read_humidity',['../group__htu21d__base__driver.html#gae19aa86feb8e9ec5569502d0a2d147cc',1,'htu21d_read_humidity(htu21d_handle_t *handle, uint16_t *humidity_raw, float *humidity_s): driver_htu21d.c'],['../group__htu21d__base__driver.html#gae19aa86feb8e9ec5569502d0a2d147cc',1,'htu21d_read_humidity(htu21d_handle_t *handle, uint16_t *humidity_raw, float *humidity_s): driver_htu21d.c']]], - ['htu21d_5fread_5ftemperature_77',['htu21d_read_temperature',['../group__htu21d__base__driver.html#gabec924208179f0ede9fda19e383f5ce0',1,'htu21d_read_temperature(htu21d_handle_t *handle, uint16_t *temperature_raw, float *temperature_s): driver_htu21d.c'],['../group__htu21d__base__driver.html#gabec924208179f0ede9fda19e383f5ce0',1,'htu21d_read_temperature(htu21d_handle_t *handle, uint16_t *temperature_raw, float *temperature_s): driver_htu21d.c']]], - ['htu21d_5fread_5ftemperature_5fhumidity_78',['htu21d_read_temperature_humidity',['../group__htu21d__base__driver.html#ga1c1f2ffe1da5644e9ee31414a1aca2e9',1,'htu21d_read_temperature_humidity(htu21d_handle_t *handle, uint16_t *temperature_raw, float *temperature_s, uint16_t *humidity_raw, float *humidity_s): driver_htu21d.c'],['../group__htu21d__base__driver.html#ga1c1f2ffe1da5644e9ee31414a1aca2e9',1,'htu21d_read_temperature_humidity(htu21d_handle_t *handle, uint16_t *temperature_raw, float *temperature_s, uint16_t *humidity_raw, float *humidity_s): driver_htu21d.c']]], - ['htu21d_5fread_5ftest_79',['htu21d_read_test',['../group__htu21d__test__driver.html#ga1ddada1e617338907d138fbf0d8df6d9',1,'htu21d_read_test(htu21d_bool_t hold_master_enable, uint32_t times): driver_htu21d_read_test.c'],['../group__htu21d__test__driver.html#ga1ddada1e617338907d138fbf0d8df6d9',1,'htu21d_read_test(htu21d_bool_t hold_master_enable, uint32_t times): driver_htu21d_read_test.c']]], - ['htu21d_5fregister_5ftest_80',['htu21d_register_test',['../group__htu21d__test__driver.html#ga93002fb6386571df0be68be6d81c24e9',1,'htu21d_register_test(void): driver_htu21d_register_test.c'],['../group__htu21d__test__driver.html#ga93002fb6386571df0be68be6d81c24e9',1,'htu21d_register_test(void): driver_htu21d_register_test.c']]], - ['htu21d_5fresolution_5ft_81',['htu21d_resolution_t',['../group__htu21d__base__driver.html#ga7324bd4db20abc8cebf8d069462def8a',1,'driver_htu21d.h']]], - ['htu21d_5fresolution_5ftemp_5f11_5fbits_5frh_5f11_5fbits_82',['HTU21D_RESOLUTION_TEMP_11_BITS_RH_11_BITS',['../group__htu21d__base__driver.html#gga7324bd4db20abc8cebf8d069462def8aaf893c62ca9f5fc74873f8d900e96b2b0',1,'driver_htu21d.h']]], - ['htu21d_5fresolution_5ftemp_5f12_5fbits_5frh_5f8_5fbits_83',['HTU21D_RESOLUTION_TEMP_12_BITS_RH_8_BITS',['../group__htu21d__base__driver.html#gga7324bd4db20abc8cebf8d069462def8aac0bb731854d09231eab60880627acb8e',1,'driver_htu21d.h']]], - ['htu21d_5fresolution_5ftemp_5f13_5fbits_5frh_5f10_5fbits_84',['HTU21D_RESOLUTION_TEMP_13_BITS_RH_10_BITS',['../group__htu21d__base__driver.html#gga7324bd4db20abc8cebf8d069462def8aa729f42d53b9ce4a7a72effbcac3dce1e',1,'driver_htu21d.h']]], - ['htu21d_5fresolution_5ftemp_5f14_5fbits_5frh_5f12_5fbits_85',['HTU21D_RESOLUTION_TEMP_14_BITS_RH_12_BITS',['../group__htu21d__base__driver.html#gga7324bd4db20abc8cebf8d069462def8aa80e8c00e9e7d5cd5e75c8ad58b59856e',1,'driver_htu21d.h']]], - ['htu21d_5fset_5fdisable_5fotp_5freload_86',['htu21d_set_disable_otp_reload',['../group__htu21d__base__driver.html#ga16d8a4198e0263f9f3bf85dbaeef40e2',1,'htu21d_set_disable_otp_reload(htu21d_handle_t *handle, htu21d_bool_t enable): driver_htu21d.c'],['../group__htu21d__base__driver.html#ga16d8a4198e0263f9f3bf85dbaeef40e2',1,'htu21d_set_disable_otp_reload(htu21d_handle_t *handle, htu21d_bool_t enable): driver_htu21d.c']]], - ['htu21d_5fset_5fheater_87',['htu21d_set_heater',['../group__htu21d__base__driver.html#gaaf07a0891b064297318d8465537303d0',1,'htu21d_set_heater(htu21d_handle_t *handle, htu21d_bool_t enable): driver_htu21d.c'],['../group__htu21d__base__driver.html#gaaf07a0891b064297318d8465537303d0',1,'htu21d_set_heater(htu21d_handle_t *handle, htu21d_bool_t enable): driver_htu21d.c']]], - ['htu21d_5fset_5fmode_88',['htu21d_set_mode',['../group__htu21d__base__driver.html#ga5e026222758e7889d0df2a0c18f25a32',1,'htu21d_set_mode(htu21d_handle_t *handle, htu21d_mode_t mode): driver_htu21d.c'],['../group__htu21d__base__driver.html#ga5e026222758e7889d0df2a0c18f25a32',1,'htu21d_set_mode(htu21d_handle_t *handle, htu21d_mode_t mode): driver_htu21d.c']]], - ['htu21d_5fset_5freg_89',['htu21d_set_reg',['../group__htu21d__extend__driver.html#ga219b8d230fda8866e55abe3c2fde7d47',1,'htu21d_set_reg(htu21d_handle_t *handle, uint8_t *buf, uint16_t len): driver_htu21d.c'],['../group__htu21d__extend__driver.html#ga219b8d230fda8866e55abe3c2fde7d47',1,'htu21d_set_reg(htu21d_handle_t *handle, uint8_t *buf, uint16_t len): driver_htu21d.c']]], - ['htu21d_5fset_5fresolution_90',['htu21d_set_resolution',['../group__htu21d__base__driver.html#gaa22549eabbb2985d2ca58b6e46334de2',1,'htu21d_set_resolution(htu21d_handle_t *handle, htu21d_resolution_t resolution): driver_htu21d.c'],['../group__htu21d__base__driver.html#gaa22549eabbb2985d2ca58b6e46334de2',1,'htu21d_set_resolution(htu21d_handle_t *handle, htu21d_resolution_t resolution): driver_htu21d.c']]], - ['htu21d_5fsoft_5freset_91',['htu21d_soft_reset',['../group__htu21d__base__driver.html#ga37d211893c7455071ec7246126af85c9',1,'htu21d_soft_reset(htu21d_handle_t *handle): driver_htu21d.c'],['../group__htu21d__base__driver.html#ga37d211893c7455071ec7246126af85c9',1,'htu21d_soft_reset(htu21d_handle_t *handle): driver_htu21d.c']]], - ['htu21d_5fstatus_5fover_5f2p25_92',['HTU21D_STATUS_OVER_2P25',['../group__htu21d__base__driver.html#ggae298be07e1cbe586e8ff27ee812a6f84af7d594c5f2d11771de2b324034cc9b14',1,'driver_htu21d.h']]], - ['htu21d_5fstatus_5ft_93',['htu21d_status_t',['../group__htu21d__base__driver.html#gae298be07e1cbe586e8ff27ee812a6f84',1,'driver_htu21d.h']]], - ['hut21d_5fbool_5ftrue_94',['HUT21D_BOOL_TRUE',['../group__htu21d__base__driver.html#ggaeb86855a36eeb5076b9f3f0afcc7a4c0a5b8f72dda7fa09b644cec4a986cdfe4d',1,'driver_htu21d.h']]], - ['hut21d_5fmode_5fno_5fhold_5fmaster_95',['HUT21D_MODE_NO_HOLD_MASTER',['../group__htu21d__base__driver.html#gga8d45849af894d726346f7f4b0285882ba87dad60862d177a8f5c186533126a268',1,'driver_htu21d.h']]], - ['hut21d_5fstatus_5fless_5f2p25_96',['HUT21D_STATUS_LESS_2P25',['../group__htu21d__base__driver.html#ggae298be07e1cbe586e8ff27ee812a6f84aa051693bf6def6c73b517b098b00760d',1,'driver_htu21d.h']]] + ['htu21d_5fbool_5ftrue_44',['HTU21D_BOOL_TRUE',['../group__htu21d__base__driver.html#ggaeb86855a36eeb5076b9f3f0afcc7a4c0acea2597e8de24281cb97e15bc387a00b',1,'driver_htu21d.h']]], + ['htu21d_5fcommand_5fread_5fuser_5fregister_45',['HTU21D_COMMAND_READ_USER_REGISTER',['../driver__htu21d_8c.html#a1d1ae29e943882c8b6e8ebba2e7b9daf',1,'driver_htu21d.c']]], + ['htu21d_5fcommand_5fsoft_5freset_46',['HTU21D_COMMAND_SOFT_RESET',['../driver__htu21d_8c.html#acda430005f262a43b9c535ae03dc2f6d',1,'driver_htu21d.c']]], + ['htu21d_5fcommand_5ftrig_5fhumi_5fhold_5fmaster_47',['HTU21D_COMMAND_TRIG_HUMI_HOLD_MASTER',['../driver__htu21d_8c.html#a6fa916a81d2890759ce8e45c06aabae8',1,'driver_htu21d.c']]], + ['htu21d_5fcommand_5ftrig_5fhumi_5fno_5fhold_5fmaster_48',['HTU21D_COMMAND_TRIG_HUMI_NO_HOLD_MASTER',['../driver__htu21d_8c.html#aeef558622f8c805487f771a8738c1044',1,'driver_htu21d.c']]], + ['htu21d_5fcommand_5ftrig_5ftemp_5fhold_5fmaster_49',['HTU21D_COMMAND_TRIG_TEMP_HOLD_MASTER',['../driver__htu21d_8c.html#ad44446131c6232111becc7fed32d3d60',1,'driver_htu21d.c']]], + ['htu21d_5fcommand_5ftrig_5ftemp_5fno_5fhold_5fmaster_50',['HTU21D_COMMAND_TRIG_TEMP_NO_HOLD_MASTER',['../driver__htu21d_8c.html#a37825fc31f41cca3729cbe7757d99249',1,'driver_htu21d.c']]], + ['htu21d_5fcommand_5fwrite_5fuser_5fregister_51',['HTU21D_COMMAND_WRITE_USER_REGISTER',['../driver__htu21d_8c.html#ac3a5f46f02a68e59ce82036232f4cee4',1,'driver_htu21d.c']]], + ['htu21d_5fdeinit_52',['htu21d_deinit',['../group__htu21d__base__driver.html#gaf7ebe0f270b1297b038ecf07e8d67318',1,'htu21d_deinit(htu21d_handle_t *handle): driver_htu21d.c'],['../group__htu21d__base__driver.html#gaf7ebe0f270b1297b038ecf07e8d67318',1,'htu21d_deinit(htu21d_handle_t *handle): driver_htu21d.c']]], + ['htu21d_5fget_5fbattery_5fstatus_53',['htu21d_get_battery_status',['../group__htu21d__base__driver.html#gadef5fb5b7b5e771038ed2947102dea6b',1,'htu21d_get_battery_status(htu21d_handle_t *handle, htu21d_status_t *status): driver_htu21d.c'],['../group__htu21d__base__driver.html#gadef5fb5b7b5e771038ed2947102dea6b',1,'htu21d_get_battery_status(htu21d_handle_t *handle, htu21d_status_t *status): driver_htu21d.c']]], + ['htu21d_5fget_5fdisable_5fotp_5freload_54',['htu21d_get_disable_otp_reload',['../group__htu21d__base__driver.html#ga10c4a2f4a0a615f9a9770782b6602dc4',1,'htu21d_get_disable_otp_reload(htu21d_handle_t *handle, htu21d_bool_t *enable): driver_htu21d.c'],['../group__htu21d__base__driver.html#ga10c4a2f4a0a615f9a9770782b6602dc4',1,'htu21d_get_disable_otp_reload(htu21d_handle_t *handle, htu21d_bool_t *enable): driver_htu21d.c']]], + ['htu21d_5fget_5fheater_55',['htu21d_get_heater',['../group__htu21d__base__driver.html#ga24c373d0ce1dd603fb1721730551d8c4',1,'htu21d_get_heater(htu21d_handle_t *handle, htu21d_bool_t *enable): driver_htu21d.c'],['../group__htu21d__base__driver.html#ga24c373d0ce1dd603fb1721730551d8c4',1,'htu21d_get_heater(htu21d_handle_t *handle, htu21d_bool_t *enable): driver_htu21d.c']]], + ['htu21d_5fget_5fmode_56',['htu21d_get_mode',['../group__htu21d__base__driver.html#gac8dbda92f0de5a962684813152c5469e',1,'htu21d_get_mode(htu21d_handle_t *handle, htu21d_mode_t *mode): driver_htu21d.c'],['../group__htu21d__base__driver.html#gac8dbda92f0de5a962684813152c5469e',1,'htu21d_get_mode(htu21d_handle_t *handle, htu21d_mode_t *mode): driver_htu21d.c']]], + ['htu21d_5fget_5freg_57',['htu21d_get_reg',['../group__htu21d__extend__driver.html#ga005fea6857f75fd4cedd39242b125ba1',1,'htu21d_get_reg(htu21d_handle_t *handle, uint8_t *buf, uint16_t len): driver_htu21d.c'],['../group__htu21d__extend__driver.html#ga005fea6857f75fd4cedd39242b125ba1',1,'htu21d_get_reg(htu21d_handle_t *handle, uint8_t *buf, uint16_t len): driver_htu21d.c']]], + ['htu21d_5fget_5fresolution_58',['htu21d_get_resolution',['../group__htu21d__base__driver.html#ga47f3d39b76aaa2d8b8bb99aae0d865af',1,'htu21d_get_resolution(htu21d_handle_t *handle, htu21d_resolution_t *resolution): driver_htu21d.c'],['../group__htu21d__base__driver.html#ga47f3d39b76aaa2d8b8bb99aae0d865af',1,'htu21d_get_resolution(htu21d_handle_t *handle, htu21d_resolution_t *resolution): driver_htu21d.c']]], + ['htu21d_5fget_5fserial_5fnumber_59',['htu21d_get_serial_number',['../group__htu21d__base__driver.html#gade7889e194d6d912b2818f958ebf2e42',1,'htu21d_get_serial_number(htu21d_handle_t *handle, uint64_t *number): driver_htu21d.c'],['../group__htu21d__base__driver.html#gade7889e194d6d912b2818f958ebf2e42',1,'htu21d_get_serial_number(htu21d_handle_t *handle, uint64_t *number): driver_htu21d.c']]], + ['htu21d_5fhandle_5fs_60',['htu21d_handle_s',['../structhtu21d__handle__s.html',1,'']]], + ['htu21d_5fhandle_5ft_61',['htu21d_handle_t',['../group__htu21d__base__driver.html#gab3e1f178624127ab6db552b28598876d',1,'driver_htu21d.h']]], + ['htu21d_5finfo_62',['htu21d_info',['../group__htu21d__base__driver.html#ga56c4d0f12aa73e1e5a38d9d751e2decd',1,'htu21d_info(htu21d_info_t *info): driver_htu21d.c'],['../group__htu21d__base__driver.html#ga56c4d0f12aa73e1e5a38d9d751e2decd',1,'htu21d_info(htu21d_info_t *info): driver_htu21d.c']]], + ['htu21d_5finfo_5fs_63',['htu21d_info_s',['../structhtu21d__info__s.html',1,'']]], + ['htu21d_5finfo_5ft_64',['htu21d_info_t',['../group__htu21d__base__driver.html#gac1869c95fc80a0ee4d3d91d461bfd02f',1,'driver_htu21d.h']]], + ['htu21d_5finit_65',['htu21d_init',['../group__htu21d__base__driver.html#ga6a1e3b056101d566b2296fa7da47c8b8',1,'htu21d_init(htu21d_handle_t *handle): driver_htu21d.c'],['../group__htu21d__base__driver.html#ga6a1e3b056101d566b2296fa7da47c8b8',1,'htu21d_init(htu21d_handle_t *handle): driver_htu21d.c']]], + ['htu21d_5finterface_5fdebug_5fprint_66',['htu21d_interface_debug_print',['../group__htu21d__interface__driver.html#gadff39cc15a0c9119f0d861739fafed6d',1,'htu21d_interface_debug_print(const char *const fmt,...): driver_htu21d_interface_template.c'],['../group__htu21d__interface__driver.html#gadff39cc15a0c9119f0d861739fafed6d',1,'htu21d_interface_debug_print(const char *const fmt,...): driver_htu21d_interface_template.c']]], + ['htu21d_5finterface_5fdelay_5fms_67',['htu21d_interface_delay_ms',['../group__htu21d__interface__driver.html#gae778cd67fc47ddd7da4b0ef4016ea7e0',1,'htu21d_interface_delay_ms(uint32_t ms): driver_htu21d_interface_template.c'],['../group__htu21d__interface__driver.html#gae778cd67fc47ddd7da4b0ef4016ea7e0',1,'htu21d_interface_delay_ms(uint32_t ms): driver_htu21d_interface_template.c']]], + ['htu21d_5finterface_5fiic_5fdeinit_68',['htu21d_interface_iic_deinit',['../group__htu21d__interface__driver.html#gab9514ef1e721d79a6e975d513ba380e5',1,'htu21d_interface_iic_deinit(void): driver_htu21d_interface_template.c'],['../group__htu21d__interface__driver.html#gab9514ef1e721d79a6e975d513ba380e5',1,'htu21d_interface_iic_deinit(void): driver_htu21d_interface_template.c']]], + ['htu21d_5finterface_5fiic_5finit_69',['htu21d_interface_iic_init',['../group__htu21d__interface__driver.html#ga8689ac7313693ae3847857337d421036',1,'htu21d_interface_iic_init(void): driver_htu21d_interface_template.c'],['../group__htu21d__interface__driver.html#ga8689ac7313693ae3847857337d421036',1,'htu21d_interface_iic_init(void): driver_htu21d_interface_template.c']]], + ['htu21d_5finterface_5fiic_5fread_70',['htu21d_interface_iic_read',['../group__htu21d__interface__driver.html#gacd386da32ead6ab15f9ffc3e9ccc60fa',1,'htu21d_interface_iic_read(uint8_t addr, uint8_t reg, uint8_t *buf, uint16_t len): driver_htu21d_interface_template.c'],['../group__htu21d__interface__driver.html#gacd386da32ead6ab15f9ffc3e9ccc60fa',1,'htu21d_interface_iic_read(uint8_t addr, uint8_t reg, uint8_t *buf, uint16_t len): driver_htu21d_interface_template.c']]], + ['htu21d_5finterface_5fiic_5fread_5fcmd_71',['htu21d_interface_iic_read_cmd',['../group__htu21d__interface__driver.html#gab113b67c6847a287832baeda3e1508b5',1,'htu21d_interface_iic_read_cmd(uint8_t addr, uint8_t *buf, uint16_t len): driver_htu21d_interface_template.c'],['../group__htu21d__interface__driver.html#gab113b67c6847a287832baeda3e1508b5',1,'htu21d_interface_iic_read_cmd(uint8_t addr, uint8_t *buf, uint16_t len): driver_htu21d_interface_template.c']]], + ['htu21d_5finterface_5fiic_5fread_5fwith_5fscl_72',['htu21d_interface_iic_read_with_scl',['../group__htu21d__interface__driver.html#gac80d4ff73c3f117812c3c6c46610501e',1,'htu21d_interface_iic_read_with_scl(uint8_t addr, uint8_t reg, uint8_t *buf, uint16_t len): driver_htu21d_interface_template.c'],['../group__htu21d__interface__driver.html#gac80d4ff73c3f117812c3c6c46610501e',1,'htu21d_interface_iic_read_with_scl(uint8_t addr, uint8_t reg, uint8_t *buf, uint16_t len): driver_htu21d_interface_template.c']]], + ['htu21d_5finterface_5fiic_5fwrite_73',['htu21d_interface_iic_write',['../group__htu21d__interface__driver.html#ga023e8f8950e8b44430396daa984e279e',1,'htu21d_interface_iic_write(uint8_t addr, uint8_t reg, uint8_t *buf, uint16_t len): driver_htu21d_interface_template.c'],['../group__htu21d__interface__driver.html#ga023e8f8950e8b44430396daa984e279e',1,'htu21d_interface_iic_write(uint8_t addr, uint8_t reg, uint8_t *buf, uint16_t len): driver_htu21d_interface_template.c']]], + ['htu21d_5finterface_5fiic_5fwrite_5fcmd_74',['htu21d_interface_iic_write_cmd',['../group__htu21d__interface__driver.html#ga13650da904843c3f8bdbf7c3347980fb',1,'htu21d_interface_iic_write_cmd(uint8_t addr, uint8_t *buf, uint16_t len): driver_htu21d_interface_template.c'],['../group__htu21d__interface__driver.html#ga13650da904843c3f8bdbf7c3347980fb',1,'htu21d_interface_iic_write_cmd(uint8_t addr, uint8_t *buf, uint16_t len): driver_htu21d_interface_template.c']]], + ['htu21d_5fmode_5fhold_5fmaster_75',['HTU21D_MODE_HOLD_MASTER',['../group__htu21d__base__driver.html#gga8d45849af894d726346f7f4b0285882ba1ef89fb302aebc5d1bc4ae77b9930482',1,'driver_htu21d.h']]], + ['htu21d_5fmode_5fno_5fhold_5fmaster_76',['HTU21D_MODE_NO_HOLD_MASTER',['../group__htu21d__base__driver.html#gga8d45849af894d726346f7f4b0285882bab9f0e1d3a14981ba2f577840be098de7',1,'driver_htu21d.h']]], + ['htu21d_5fmode_5ft_77',['htu21d_mode_t',['../group__htu21d__base__driver.html#ga8d45849af894d726346f7f4b0285882b',1,'driver_htu21d.h']]], + ['htu21d_5fread_5fhumidity_78',['htu21d_read_humidity',['../group__htu21d__base__driver.html#gae19aa86feb8e9ec5569502d0a2d147cc',1,'htu21d_read_humidity(htu21d_handle_t *handle, uint16_t *humidity_raw, float *humidity_s): driver_htu21d.c'],['../group__htu21d__base__driver.html#gae19aa86feb8e9ec5569502d0a2d147cc',1,'htu21d_read_humidity(htu21d_handle_t *handle, uint16_t *humidity_raw, float *humidity_s): driver_htu21d.c']]], + ['htu21d_5fread_5ftemperature_79',['htu21d_read_temperature',['../group__htu21d__base__driver.html#gabec924208179f0ede9fda19e383f5ce0',1,'htu21d_read_temperature(htu21d_handle_t *handle, uint16_t *temperature_raw, float *temperature_s): driver_htu21d.c'],['../group__htu21d__base__driver.html#gabec924208179f0ede9fda19e383f5ce0',1,'htu21d_read_temperature(htu21d_handle_t *handle, uint16_t *temperature_raw, float *temperature_s): driver_htu21d.c']]], + ['htu21d_5fread_5ftemperature_5fhumidity_80',['htu21d_read_temperature_humidity',['../group__htu21d__base__driver.html#ga1c1f2ffe1da5644e9ee31414a1aca2e9',1,'htu21d_read_temperature_humidity(htu21d_handle_t *handle, uint16_t *temperature_raw, float *temperature_s, uint16_t *humidity_raw, float *humidity_s): driver_htu21d.c'],['../group__htu21d__base__driver.html#ga1c1f2ffe1da5644e9ee31414a1aca2e9',1,'htu21d_read_temperature_humidity(htu21d_handle_t *handle, uint16_t *temperature_raw, float *temperature_s, uint16_t *humidity_raw, float *humidity_s): driver_htu21d.c']]], + ['htu21d_5fread_5ftest_81',['htu21d_read_test',['../group__htu21d__test__driver.html#ga1ddada1e617338907d138fbf0d8df6d9',1,'htu21d_read_test(htu21d_bool_t hold_master_enable, uint32_t times): driver_htu21d_read_test.c'],['../group__htu21d__test__driver.html#ga1ddada1e617338907d138fbf0d8df6d9',1,'htu21d_read_test(htu21d_bool_t hold_master_enable, uint32_t times): driver_htu21d_read_test.c']]], + ['htu21d_5fregister_5ftest_82',['htu21d_register_test',['../group__htu21d__test__driver.html#ga93002fb6386571df0be68be6d81c24e9',1,'htu21d_register_test(void): driver_htu21d_register_test.c'],['../group__htu21d__test__driver.html#ga93002fb6386571df0be68be6d81c24e9',1,'htu21d_register_test(void): driver_htu21d_register_test.c']]], + ['htu21d_5fresolution_5ft_83',['htu21d_resolution_t',['../group__htu21d__base__driver.html#ga7324bd4db20abc8cebf8d069462def8a',1,'driver_htu21d.h']]], + ['htu21d_5fresolution_5ftemp_5f11_5fbits_5frh_5f11_5fbits_84',['HTU21D_RESOLUTION_TEMP_11_BITS_RH_11_BITS',['../group__htu21d__base__driver.html#gga7324bd4db20abc8cebf8d069462def8aaf893c62ca9f5fc74873f8d900e96b2b0',1,'driver_htu21d.h']]], + ['htu21d_5fresolution_5ftemp_5f12_5fbits_5frh_5f8_5fbits_85',['HTU21D_RESOLUTION_TEMP_12_BITS_RH_8_BITS',['../group__htu21d__base__driver.html#gga7324bd4db20abc8cebf8d069462def8aac0bb731854d09231eab60880627acb8e',1,'driver_htu21d.h']]], + ['htu21d_5fresolution_5ftemp_5f13_5fbits_5frh_5f10_5fbits_86',['HTU21D_RESOLUTION_TEMP_13_BITS_RH_10_BITS',['../group__htu21d__base__driver.html#gga7324bd4db20abc8cebf8d069462def8aa729f42d53b9ce4a7a72effbcac3dce1e',1,'driver_htu21d.h']]], + ['htu21d_5fresolution_5ftemp_5f14_5fbits_5frh_5f12_5fbits_87',['HTU21D_RESOLUTION_TEMP_14_BITS_RH_12_BITS',['../group__htu21d__base__driver.html#gga7324bd4db20abc8cebf8d069462def8aa80e8c00e9e7d5cd5e75c8ad58b59856e',1,'driver_htu21d.h']]], + ['htu21d_5fset_5fdisable_5fotp_5freload_88',['htu21d_set_disable_otp_reload',['../group__htu21d__base__driver.html#ga16d8a4198e0263f9f3bf85dbaeef40e2',1,'htu21d_set_disable_otp_reload(htu21d_handle_t *handle, htu21d_bool_t enable): driver_htu21d.c'],['../group__htu21d__base__driver.html#ga16d8a4198e0263f9f3bf85dbaeef40e2',1,'htu21d_set_disable_otp_reload(htu21d_handle_t *handle, htu21d_bool_t enable): driver_htu21d.c']]], + ['htu21d_5fset_5fheater_89',['htu21d_set_heater',['../group__htu21d__base__driver.html#gaaf07a0891b064297318d8465537303d0',1,'htu21d_set_heater(htu21d_handle_t *handle, htu21d_bool_t enable): driver_htu21d.c'],['../group__htu21d__base__driver.html#gaaf07a0891b064297318d8465537303d0',1,'htu21d_set_heater(htu21d_handle_t *handle, htu21d_bool_t enable): driver_htu21d.c']]], + ['htu21d_5fset_5fmode_90',['htu21d_set_mode',['../group__htu21d__base__driver.html#ga5e026222758e7889d0df2a0c18f25a32',1,'htu21d_set_mode(htu21d_handle_t *handle, htu21d_mode_t mode): driver_htu21d.c'],['../group__htu21d__base__driver.html#ga5e026222758e7889d0df2a0c18f25a32',1,'htu21d_set_mode(htu21d_handle_t *handle, htu21d_mode_t mode): driver_htu21d.c']]], + ['htu21d_5fset_5freg_91',['htu21d_set_reg',['../group__htu21d__extend__driver.html#ga219b8d230fda8866e55abe3c2fde7d47',1,'htu21d_set_reg(htu21d_handle_t *handle, uint8_t *buf, uint16_t len): driver_htu21d.c'],['../group__htu21d__extend__driver.html#ga219b8d230fda8866e55abe3c2fde7d47',1,'htu21d_set_reg(htu21d_handle_t *handle, uint8_t *buf, uint16_t len): driver_htu21d.c']]], + ['htu21d_5fset_5fresolution_92',['htu21d_set_resolution',['../group__htu21d__base__driver.html#gaa22549eabbb2985d2ca58b6e46334de2',1,'htu21d_set_resolution(htu21d_handle_t *handle, htu21d_resolution_t resolution): driver_htu21d.c'],['../group__htu21d__base__driver.html#gaa22549eabbb2985d2ca58b6e46334de2',1,'htu21d_set_resolution(htu21d_handle_t *handle, htu21d_resolution_t resolution): driver_htu21d.c']]], + ['htu21d_5fsoft_5freset_93',['htu21d_soft_reset',['../group__htu21d__base__driver.html#ga37d211893c7455071ec7246126af85c9',1,'htu21d_soft_reset(htu21d_handle_t *handle): driver_htu21d.c'],['../group__htu21d__base__driver.html#ga37d211893c7455071ec7246126af85c9',1,'htu21d_soft_reset(htu21d_handle_t *handle): driver_htu21d.c']]], + ['htu21d_5fstatus_5fless_5f2p25_94',['HTU21D_STATUS_LESS_2P25',['../group__htu21d__base__driver.html#ggae298be07e1cbe586e8ff27ee812a6f84a2391d5d5672ee8fc9f793478f09ad131',1,'driver_htu21d.h']]], + ['htu21d_5fstatus_5fover_5f2p25_95',['HTU21D_STATUS_OVER_2P25',['../group__htu21d__base__driver.html#ggae298be07e1cbe586e8ff27ee812a6f84af7d594c5f2d11771de2b324034cc9b14',1,'driver_htu21d.h']]], + ['htu21d_5fstatus_5ft_96',['htu21d_status_t',['../group__htu21d__base__driver.html#gae298be07e1cbe586e8ff27ee812a6f84',1,'driver_htu21d.h']]] ]; diff --git a/doc/html/search/enumvalues_0.js b/doc/html/search/enumvalues_0.js index 8639058..04a854b 100644 --- a/doc/html/search/enumvalues_0.js +++ b/doc/html/search/enumvalues_0.js @@ -1,13 +1,13 @@ var searchData= [ ['htu21d_5fbool_5ffalse_196',['HTU21D_BOOL_FALSE',['../group__htu21d__base__driver.html#ggaeb86855a36eeb5076b9f3f0afcc7a4c0a2e53bd798be760f7ca887f749f3e1ed3',1,'driver_htu21d.h']]], - ['htu21d_5fmode_5fhold_5fmaster_197',['HTU21D_MODE_HOLD_MASTER',['../group__htu21d__base__driver.html#gga8d45849af894d726346f7f4b0285882ba1ef89fb302aebc5d1bc4ae77b9930482',1,'driver_htu21d.h']]], - ['htu21d_5fresolution_5ftemp_5f11_5fbits_5frh_5f11_5fbits_198',['HTU21D_RESOLUTION_TEMP_11_BITS_RH_11_BITS',['../group__htu21d__base__driver.html#gga7324bd4db20abc8cebf8d069462def8aaf893c62ca9f5fc74873f8d900e96b2b0',1,'driver_htu21d.h']]], - ['htu21d_5fresolution_5ftemp_5f12_5fbits_5frh_5f8_5fbits_199',['HTU21D_RESOLUTION_TEMP_12_BITS_RH_8_BITS',['../group__htu21d__base__driver.html#gga7324bd4db20abc8cebf8d069462def8aac0bb731854d09231eab60880627acb8e',1,'driver_htu21d.h']]], - ['htu21d_5fresolution_5ftemp_5f13_5fbits_5frh_5f10_5fbits_200',['HTU21D_RESOLUTION_TEMP_13_BITS_RH_10_BITS',['../group__htu21d__base__driver.html#gga7324bd4db20abc8cebf8d069462def8aa729f42d53b9ce4a7a72effbcac3dce1e',1,'driver_htu21d.h']]], - ['htu21d_5fresolution_5ftemp_5f14_5fbits_5frh_5f12_5fbits_201',['HTU21D_RESOLUTION_TEMP_14_BITS_RH_12_BITS',['../group__htu21d__base__driver.html#gga7324bd4db20abc8cebf8d069462def8aa80e8c00e9e7d5cd5e75c8ad58b59856e',1,'driver_htu21d.h']]], - ['htu21d_5fstatus_5fover_5f2p25_202',['HTU21D_STATUS_OVER_2P25',['../group__htu21d__base__driver.html#ggae298be07e1cbe586e8ff27ee812a6f84af7d594c5f2d11771de2b324034cc9b14',1,'driver_htu21d.h']]], - ['hut21d_5fbool_5ftrue_203',['HUT21D_BOOL_TRUE',['../group__htu21d__base__driver.html#ggaeb86855a36eeb5076b9f3f0afcc7a4c0a5b8f72dda7fa09b644cec4a986cdfe4d',1,'driver_htu21d.h']]], - ['hut21d_5fmode_5fno_5fhold_5fmaster_204',['HUT21D_MODE_NO_HOLD_MASTER',['../group__htu21d__base__driver.html#gga8d45849af894d726346f7f4b0285882ba87dad60862d177a8f5c186533126a268',1,'driver_htu21d.h']]], - ['hut21d_5fstatus_5fless_5f2p25_205',['HUT21D_STATUS_LESS_2P25',['../group__htu21d__base__driver.html#ggae298be07e1cbe586e8ff27ee812a6f84aa051693bf6def6c73b517b098b00760d',1,'driver_htu21d.h']]] + ['htu21d_5fbool_5ftrue_197',['HTU21D_BOOL_TRUE',['../group__htu21d__base__driver.html#ggaeb86855a36eeb5076b9f3f0afcc7a4c0acea2597e8de24281cb97e15bc387a00b',1,'driver_htu21d.h']]], + ['htu21d_5fmode_5fhold_5fmaster_198',['HTU21D_MODE_HOLD_MASTER',['../group__htu21d__base__driver.html#gga8d45849af894d726346f7f4b0285882ba1ef89fb302aebc5d1bc4ae77b9930482',1,'driver_htu21d.h']]], + ['htu21d_5fmode_5fno_5fhold_5fmaster_199',['HTU21D_MODE_NO_HOLD_MASTER',['../group__htu21d__base__driver.html#gga8d45849af894d726346f7f4b0285882bab9f0e1d3a14981ba2f577840be098de7',1,'driver_htu21d.h']]], + ['htu21d_5fresolution_5ftemp_5f11_5fbits_5frh_5f11_5fbits_200',['HTU21D_RESOLUTION_TEMP_11_BITS_RH_11_BITS',['../group__htu21d__base__driver.html#gga7324bd4db20abc8cebf8d069462def8aaf893c62ca9f5fc74873f8d900e96b2b0',1,'driver_htu21d.h']]], + ['htu21d_5fresolution_5ftemp_5f12_5fbits_5frh_5f8_5fbits_201',['HTU21D_RESOLUTION_TEMP_12_BITS_RH_8_BITS',['../group__htu21d__base__driver.html#gga7324bd4db20abc8cebf8d069462def8aac0bb731854d09231eab60880627acb8e',1,'driver_htu21d.h']]], + ['htu21d_5fresolution_5ftemp_5f13_5fbits_5frh_5f10_5fbits_202',['HTU21D_RESOLUTION_TEMP_13_BITS_RH_10_BITS',['../group__htu21d__base__driver.html#gga7324bd4db20abc8cebf8d069462def8aa729f42d53b9ce4a7a72effbcac3dce1e',1,'driver_htu21d.h']]], + ['htu21d_5fresolution_5ftemp_5f14_5fbits_5frh_5f12_5fbits_203',['HTU21D_RESOLUTION_TEMP_14_BITS_RH_12_BITS',['../group__htu21d__base__driver.html#gga7324bd4db20abc8cebf8d069462def8aa80e8c00e9e7d5cd5e75c8ad58b59856e',1,'driver_htu21d.h']]], + ['htu21d_5fstatus_5fless_5f2p25_204',['HTU21D_STATUS_LESS_2P25',['../group__htu21d__base__driver.html#ggae298be07e1cbe586e8ff27ee812a6f84a2391d5d5672ee8fc9f793478f09ad131',1,'driver_htu21d.h']]], + ['htu21d_5fstatus_5fover_5f2p25_205',['HTU21D_STATUS_OVER_2P25',['../group__htu21d__base__driver.html#ggae298be07e1cbe586e8ff27ee812a6f84af7d594c5f2d11771de2b324034cc9b14',1,'driver_htu21d.h']]] ]; diff --git a/example/driver_htu21d_basic.h b/example/driver_htu21d_basic.h index 160df92..f08ebbd 100644 --- a/example/driver_htu21d_basic.h +++ b/example/driver_htu21d_basic.h @@ -53,7 +53,7 @@ extern "C"{ /** * @brief htu21d basic example default definition */ -#define HTU21D_BASIC_DEFAULT_MODE HUT21D_MODE_NO_HOLD_MASTER /**< no hold master mode */ +#define HTU21D_BASIC_DEFAULT_MODE HTU21D_MODE_NO_HOLD_MASTER /**< no hold master mode */ #define HTU21D_BASIC_DEFAULT_RESOLUTION HTU21D_RESOLUTION_TEMP_14_BITS_RH_12_BITS /**< temp 14 bits and rh 12 bits */ #define HTU21D_BASIC_DEFAULT_HEATER HTU21D_BOOL_FALSE /**< disable heater */ #define HTU21D_BASIC_DEFAULT_OTP_RELOAD HTU21D_BOOL_FALSE /**< enable otp reload */ diff --git a/src/driver_htu21d.c b/src/driver_htu21d.c index 717290f..6d1d32e 100644 --- a/src/driver_htu21d.c +++ b/src/driver_htu21d.c @@ -735,7 +735,7 @@ uint8_t htu21d_set_resolution(htu21d_handle_t *handle, htu21d_resolution_t resol return 3; /* return error */ } - res = a_htu21d_read(handle, HUT21D_MODE_NO_HOLD_MASTER, + res = a_htu21d_read(handle, HTU21D_MODE_NO_HOLD_MASTER, HTU21D_COMMAND_READ_USER_REGISTER, &prev, 1); /* read config */ if (res != 0) /* check the result */ { @@ -783,7 +783,7 @@ uint8_t htu21d_get_resolution(htu21d_handle_t *handle, htu21d_resolution_t *reso return 3; /* return error */ } - res = a_htu21d_read(handle, HUT21D_MODE_NO_HOLD_MASTER, + res = a_htu21d_read(handle, HTU21D_MODE_NO_HOLD_MASTER, HTU21D_COMMAND_READ_USER_REGISTER, &prev, 1); /* read config */ if (res != 0) /* check the result */ { @@ -823,7 +823,7 @@ uint8_t htu21d_get_battery_status(htu21d_handle_t *handle, htu21d_status_t *stat return 3; /* return error */ } - res = a_htu21d_read(handle, HUT21D_MODE_NO_HOLD_MASTER, + res = a_htu21d_read(handle, HTU21D_MODE_NO_HOLD_MASTER, HTU21D_COMMAND_READ_USER_REGISTER, &prev, 1); /* read config */ if (res != 0) /* check the result */ { @@ -861,7 +861,7 @@ uint8_t htu21d_set_heater(htu21d_handle_t *handle, htu21d_bool_t enable) return 3; /* return error */ } - res = a_htu21d_read(handle, HUT21D_MODE_NO_HOLD_MASTER, + res = a_htu21d_read(handle, HTU21D_MODE_NO_HOLD_MASTER, HTU21D_COMMAND_READ_USER_REGISTER, &prev, 1); /* read config */ if (res != 0) /* check the result */ { @@ -907,7 +907,7 @@ uint8_t htu21d_get_heater(htu21d_handle_t *handle, htu21d_bool_t *enable) return 3; /* return error */ } - res = a_htu21d_read(handle, HUT21D_MODE_NO_HOLD_MASTER, + res = a_htu21d_read(handle, HTU21D_MODE_NO_HOLD_MASTER, HTU21D_COMMAND_READ_USER_REGISTER, &prev, 1); /* read config */ if (res != 0) /* check the result */ { @@ -945,7 +945,7 @@ uint8_t htu21d_set_disable_otp_reload(htu21d_handle_t *handle, htu21d_bool_t ena return 3; /* return error */ } - res = a_htu21d_read(handle, HUT21D_MODE_NO_HOLD_MASTER, + res = a_htu21d_read(handle, HTU21D_MODE_NO_HOLD_MASTER, HTU21D_COMMAND_READ_USER_REGISTER, &prev, 1); /* read config */ if (res != 0) /* check the result */ { @@ -991,7 +991,7 @@ uint8_t htu21d_get_disable_otp_reload(htu21d_handle_t *handle, htu21d_bool_t *en return 3; /* return error */ } - res = a_htu21d_read(handle, HUT21D_MODE_NO_HOLD_MASTER, + res = a_htu21d_read(handle, HTU21D_MODE_NO_HOLD_MASTER, HTU21D_COMMAND_READ_USER_REGISTER, &prev, 1); /* read config */ if (res != 0) /* check the result */ { @@ -1181,7 +1181,7 @@ uint8_t htu21d_init(htu21d_handle_t *handle) return 4; /* return error */ } handle->delay_ms(15); /* delay 15 ms */ - res = a_htu21d_read(handle, HUT21D_MODE_NO_HOLD_MASTER, + res = a_htu21d_read(handle, HTU21D_MODE_NO_HOLD_MASTER, HTU21D_COMMAND_READ_USER_REGISTER, &prev, 1); /* read config */ if (res != 0) /* check the result */ { @@ -1192,7 +1192,7 @@ uint8_t htu21d_init(htu21d_handle_t *handle) } handle->resolution = (htu21d_resolution_t)((((prev >> 7) & 0x01) << 1) | (((prev >> 0) & 0x01) << 0)); /* save the resolution */ - handle->mode = HUT21D_MODE_NO_HOLD_MASTER; /* set no hold master */ + handle->mode = HTU21D_MODE_NO_HOLD_MASTER; /* set no hold master */ handle->inited = 1; /* flag finish initialization */ diff --git a/src/driver_htu21d.h b/src/driver_htu21d.h index a907f7e..30acd63 100644 --- a/src/driver_htu21d.h +++ b/src/driver_htu21d.h @@ -62,7 +62,7 @@ extern "C"{ typedef enum { HTU21D_BOOL_FALSE = 0x00, /**< false */ - HUT21D_BOOL_TRUE = 0x01, /**< true */ + HTU21D_BOOL_TRUE = 0x01, /**< true */ } htu21d_bool_t; /** @@ -71,7 +71,7 @@ typedef enum typedef enum { HTU21D_MODE_HOLD_MASTER = 0x00, /**< hold master mode */ - HUT21D_MODE_NO_HOLD_MASTER = 0x01, /**< no hold master mode */ + HTU21D_MODE_NO_HOLD_MASTER = 0x01, /**< no hold master mode */ } htu21d_mode_t; /** @@ -80,7 +80,7 @@ typedef enum typedef enum { HTU21D_STATUS_OVER_2P25 = 0x00, /**< >2.25V */ - HUT21D_STATUS_LESS_2P25 = 0x01, /**< <2.25V */ + HTU21D_STATUS_LESS_2P25 = 0x01, /**< <2.25V */ } htu21d_status_t; /** diff --git a/test/driver_htu21d_read_test.c b/test/driver_htu21d_read_test.c index 9ae4fc6..bd02d05 100644 --- a/test/driver_htu21d_read_test.c +++ b/test/driver_htu21d_read_test.c @@ -100,7 +100,7 @@ uint8_t htu21d_read_test(htu21d_bool_t hold_master_enable, uint32_t times) } /* enable heater */ - res = htu21d_set_heater(&gs_handle, HUT21D_BOOL_TRUE); + res = htu21d_set_heater(&gs_handle, HTU21D_BOOL_TRUE); if (res != 0) { htu21d_interface_debug_print("htu21d: set heater failed.\n"); @@ -120,7 +120,7 @@ uint8_t htu21d_read_test(htu21d_bool_t hold_master_enable, uint32_t times) } /* if hold master enable */ - if (hold_master_enable == HUT21D_BOOL_TRUE) + if (hold_master_enable == HTU21D_BOOL_TRUE) { /* set hold master mode */ res = htu21d_set_mode(&gs_handle, HTU21D_MODE_HOLD_MASTER); @@ -164,7 +164,7 @@ uint8_t htu21d_read_test(htu21d_bool_t hold_master_enable, uint32_t times) } /* set no hold master mode */ - res = htu21d_set_mode(&gs_handle, HUT21D_MODE_NO_HOLD_MASTER); + res = htu21d_set_mode(&gs_handle, HTU21D_MODE_NO_HOLD_MASTER); if (res != 0) { htu21d_interface_debug_print("htu21d: set mode failed.\n"); diff --git a/test/driver_htu21d_register_test.c b/test/driver_htu21d_register_test.c index 9f54123..98cdd86 100644 --- a/test/driver_htu21d_register_test.c +++ b/test/driver_htu21d_register_test.c @@ -129,7 +129,7 @@ uint8_t htu21d_register_test(void) htu21d_interface_debug_print("htu21d: check mode pin %s.\n", (HTU21D_MODE_HOLD_MASTER == mode) ? "ok" : "error"); /* no hold master mode */ - res = htu21d_set_mode(&gs_handle, HUT21D_MODE_NO_HOLD_MASTER); + res = htu21d_set_mode(&gs_handle, HTU21D_MODE_NO_HOLD_MASTER); if (res != 0) { htu21d_interface_debug_print("htu21d: set mode failed.\n"); @@ -150,7 +150,7 @@ uint8_t htu21d_register_test(void) return 1; } - htu21d_interface_debug_print("htu21d: check mode pin %s.\n", (HUT21D_MODE_NO_HOLD_MASTER == mode) ? "ok" : "error"); + htu21d_interface_debug_print("htu21d: check mode pin %s.\n", (HTU21D_MODE_NO_HOLD_MASTER == mode) ? "ok" : "error"); /* htu21d_set_resolution/htu21d_get_resolution test */ htu21d_interface_debug_print("htu21d: htu21d_set_resolution/htu21d_get_resolution test.\n"); @@ -255,7 +255,7 @@ uint8_t htu21d_register_test(void) htu21d_interface_debug_print("htu21d: htu21d_set_heater/htu21d_get_heater test.\n"); /* enable heater */ - res = htu21d_set_heater(&gs_handle, HUT21D_BOOL_TRUE); + res = htu21d_set_heater(&gs_handle, HTU21D_BOOL_TRUE); if (res != 0) { htu21d_interface_debug_print("htu21d: set heater failed.\n"); @@ -276,7 +276,7 @@ uint8_t htu21d_register_test(void) return 1; } - htu21d_interface_debug_print("htu21d: check heater %s.\n", (HUT21D_BOOL_TRUE == enable) ? "ok" : "error"); + htu21d_interface_debug_print("htu21d: check heater %s.\n", (HTU21D_BOOL_TRUE == enable) ? "ok" : "error"); /* disable heater */ res = htu21d_set_heater(&gs_handle, HTU21D_BOOL_FALSE); @@ -330,7 +330,7 @@ uint8_t htu21d_register_test(void) htu21d_interface_debug_print("htu21d: check otp reload %s.\n", (HTU21D_BOOL_FALSE == enable) ? "ok" : "error"); /* disable otp reload */ - res = htu21d_set_disable_otp_reload(&gs_handle, HUT21D_BOOL_TRUE); + res = htu21d_set_disable_otp_reload(&gs_handle, HTU21D_BOOL_TRUE); if (res != 0) { htu21d_interface_debug_print("htu21d: set disable otp reload failed.\n"); @@ -351,7 +351,7 @@ uint8_t htu21d_register_test(void) return 1; } - htu21d_interface_debug_print("htu21d: check otp reload %s.\n", (HUT21D_BOOL_TRUE == enable) ? "ok" : "error"); + htu21d_interface_debug_print("htu21d: check otp reload %s.\n", (HTU21D_BOOL_TRUE == enable) ? "ok" : "error"); /* htu21d_get_serial_number test */ htu21d_interface_debug_print("htu21d: htu21d_get_serial_number test.\n");