![]() |
LibDriver LM75B
|
lm75b interrupt driver modules More...
Functions | |
| uint8_t | lm75b_set_fault_queue (lm75b_handle_t *handle, lm75b_fault_queue_t fault_queue) |
| set the chip fault queue | |
| uint8_t | lm75b_get_fault_queue (lm75b_handle_t *handle, lm75b_fault_queue_t *fault_queue) |
| get the chip fault queue | |
| uint8_t | lm75b_hysteresis_convert_to_register (lm75b_handle_t *handle, float c, uint16_t *reg) |
| convert the hysteresis value to the register data | |
| uint8_t | lm75b_hysteresis_convert_to_data (lm75b_handle_t *handle, uint16_t reg, float *c) |
| convert the register raw data to the hysteresis value | |
| uint8_t | lm75b_set_hysteresis (lm75b_handle_t *handle, uint16_t hysteresis) |
| set the hysteresis value | |
| uint8_t | lm75b_get_hysteresis (lm75b_handle_t *handle, uint16_t *hysteresis) |
| get the hysteresis value | |
| uint8_t | lm75b_over_temperature_threshold_convert_to_register (lm75b_handle_t *handle, float c, uint16_t *reg) |
| convert the over temperature threshold to the register data | |
| uint8_t | lm75b_over_temperature_threshold_convert_to_data (lm75b_handle_t *handle, uint16_t reg, float *c) |
| convert the register raw data to the over temperature threshold | |
| uint8_t | lm75b_set_over_temperature_threshold (lm75b_handle_t *handle, uint16_t threshold) |
| set the over temperature threshold | |
| uint8_t | lm75b_get_over_temperature_threshold (lm75b_handle_t *handle, uint16_t *threshold) |
| get the over temperature threshold | |
| uint8_t | lm75b_set_os_polarity (lm75b_handle_t *handle, lm75b_os_polarity_t polarity) |
| set the chip os polarity | |
| uint8_t | lm75b_get_os_polarity (lm75b_handle_t *handle, lm75b_os_polarity_t *polarity) |
| get the chip os polarity | |
| uint8_t | lm75b_set_interrupt_mode (lm75b_handle_t *handle, lm75b_os_operation_mode_t mode) |
| set the chip interrupt mode | |
| uint8_t | lm75b_get_interrupt_mode (lm75b_handle_t *handle, lm75b_os_operation_mode_t *mode) |
| get the chip interrupt mode | |
lm75b interrupt driver modules
| uint8_t lm75b_get_fault_queue | ( | lm75b_handle_t * | handle, |
| lm75b_fault_queue_t * | fault_queue ) |
get the chip fault queue
| [in] | *handle | pointer to an lm75b handle structure |
| [out] | *fault_queue | pointer to a chip fault queue buffer |
Definition at line 447 of file driver_lm75b.c.
| uint8_t lm75b_get_hysteresis | ( | lm75b_handle_t * | handle, |
| uint16_t * | hysteresis ) |
get the hysteresis value
| [in] | *handle | pointer to an lm75b handle structure |
| [out] | *hysteresis | pointer to a hysteresis value buffer |
Definition at line 221 of file driver_lm75b.c.
| uint8_t lm75b_get_interrupt_mode | ( | lm75b_handle_t * | handle, |
| lm75b_os_operation_mode_t * | mode ) |
get the chip interrupt mode
| [in] | *handle | pointer to an lm75b handle structure |
| [out] | *mode | pointer to an interrupt mode buffer |
Definition at line 611 of file driver_lm75b.c.
| uint8_t lm75b_get_os_polarity | ( | lm75b_handle_t * | handle, |
| lm75b_os_polarity_t * | polarity ) |
get the chip os polarity
| [in] | *handle | pointer to an lm75b handle structure |
| [out] | *polarity | pointer to an os polarity buffer |
Definition at line 529 of file driver_lm75b.c.
| uint8_t lm75b_get_over_temperature_threshold | ( | lm75b_handle_t * | handle, |
| uint16_t * | threshold ) |
get the over temperature threshold
| [in] | *handle | pointer to an lm75b handle structure |
| [out] | *threshold | pointer to an over temperature threshold buffer |
Definition at line 365 of file driver_lm75b.c.
| uint8_t lm75b_hysteresis_convert_to_data | ( | lm75b_handle_t * | handle, |
| uint16_t | reg, | ||
| float * | c ) |
convert the register raw data to the hysteresis value
| [in] | *handle | pointer to an lm75b handle structure |
| [in] | reg | register raw data |
| [out] | *c | pointer to a converted hysteresis value buffer |
Definition at line 148 of file driver_lm75b.c.
| uint8_t lm75b_hysteresis_convert_to_register | ( | lm75b_handle_t * | handle, |
| float | c, | ||
| uint16_t * | reg ) |
convert the hysteresis value to the register data
| [in] | *handle | pointer to an lm75b handle structure |
| [in] | c | hysteresis value |
| [out] | *reg | pointer to a register data buffer |
Definition at line 114 of file driver_lm75b.c.
| uint8_t lm75b_over_temperature_threshold_convert_to_data | ( | lm75b_handle_t * | handle, |
| uint16_t | reg, | ||
| float * | c ) |
convert the register raw data to the over temperature threshold
| [in] | *handle | pointer to an lm75b handle structure |
| [in] | reg | register raw data |
| [out] | *c | pointer to a converted over temperature threshold buffer |
Definition at line 292 of file driver_lm75b.c.
| uint8_t lm75b_over_temperature_threshold_convert_to_register | ( | lm75b_handle_t * | handle, |
| float | c, | ||
| uint16_t * | reg ) |
convert the over temperature threshold to the register data
| [in] | *handle | pointer to an lm75b handle structure |
| [in] | c | over temperature threshold |
| [out] | *reg | pointer to a register data buffer |
Definition at line 258 of file driver_lm75b.c.
| uint8_t lm75b_set_fault_queue | ( | lm75b_handle_t * | handle, |
| lm75b_fault_queue_t | fault_queue ) |
set the chip fault queue
| [in] | *handle | pointer to an lm75b handle structure |
| [in] | fault_queue | chip fault queue |
Definition at line 402 of file driver_lm75b.c.
| uint8_t lm75b_set_hysteresis | ( | lm75b_handle_t * | handle, |
| uint16_t | hysteresis ) |
set the hysteresis value
| [in] | *handle | pointer to an lm75b handle structure |
| [in] | hysteresis | hysteresis value |
Definition at line 183 of file driver_lm75b.c.
| uint8_t lm75b_set_interrupt_mode | ( | lm75b_handle_t * | handle, |
| lm75b_os_operation_mode_t | mode ) |
set the chip interrupt mode
| [in] | *handle | pointer to an lm75b handle structure |
| [in] | mode | interrupt mode |
Definition at line 566 of file driver_lm75b.c.
| uint8_t lm75b_set_os_polarity | ( | lm75b_handle_t * | handle, |
| lm75b_os_polarity_t | polarity ) |
set the chip os polarity
| [in] | *handle | pointer to an lm75b handle structure |
| [in] | polarity | os polarity |
Definition at line 484 of file driver_lm75b.c.
| uint8_t lm75b_set_over_temperature_threshold | ( | lm75b_handle_t * | handle, |
| uint16_t | threshold ) |
set the over temperature threshold
| [in] | *handle | pointer to an lm75b handle structure |
| [in] | threshold | over temperature threshold |
Definition at line 327 of file driver_lm75b.c.