View Source HTS221.CTRLReg2 (hts221 v1.1.0)
Control the memory boot, heater element, and one shot initialization for the HTS221
Link to this section Summary
Functions
Parse a binary register response into the HTS221.CTRLReg2
structure
Make a HTS221.CTRLReg2
structure into a binary string to be written to the
register
Link to this section Types
Specs
boot_mode() :: :normal | :reboot_memory
Specs
heater_mode() :: :disabled | :enabled
Specs
one_shot() :: :waiting | :get_new_dataset
Specs
t() :: %HTS221.CTRLReg2{ boot: boot_mode(), heater: heater_mode(), one_shot: one_shot() }
Link to this section Functions
Specs
Parse a binary register response into the HTS221.CTRLReg2
structure
Specs
Make a HTS221.CTRLReg2
structure into a binary string to be written to the
register