Low voltage digital temperature sensor
Dependencies: X_NUCLEO_COMMON ST_INTERFACES
Dependents: X_NUCLEO_IKS01A3 X_NUCLEO_IKS01A3 X_NUCLEO_IKS01A3
STTS751_Common
[over temperature alarm]
This section groups common useful functions. More...
Functions | |
int32_t | stts751_smbus_timeout_set (stts751_ctx_t *ctx, uint8_t val) |
SMBus timeout.At power-up, the STTS751 is configured with an SMBus timeout of 25 to 35 milliseconds. | |
int32_t | stts751_smbus_timeout_get (stts751_ctx_t *ctx, uint8_t *val) |
SMBus timeout.At power-up, the STTS751 is configured with an SMBus timeout of 25 to 35 milliseconds. | |
int32_t | stts751_device_id_get (stts751_ctx_t *ctx, stts751_id_t *buff) |
Device Who am I. |
Detailed Description
This section groups common useful functions.
Function Documentation
int32_t stts751_device_id_get | ( | stts751_ctx_t * | ctx, |
stts751_id_t * | buff | ||
) |
Device Who am I.
[get]
- Parameters:
-
ctx read / write interface definitions buff buffer that stores data read
- Return values:
-
interface status (MANDATORY: return 0 -> no Error)
Definition at line 687 of file stts751_reg.c.
int32_t stts751_smbus_timeout_get | ( | stts751_ctx_t * | ctx, |
uint8_t * | val | ||
) |
SMBus timeout.At power-up, the STTS751 is configured with an SMBus timeout of 25 to 35 milliseconds.
[get]
- Parameters:
-
ctx read / write interface definitions val get timeout bit in register SMBUS_TIMEOUT.
- Return values:
-
interface status (MANDATORY: return 0 -> no Error)
Definition at line 670 of file stts751_reg.c.
int32_t stts751_smbus_timeout_set | ( | stts751_ctx_t * | ctx, |
uint8_t | val | ||
) |
SMBus timeout.At power-up, the STTS751 is configured with an SMBus timeout of 25 to 35 milliseconds.
[set]
- Parameters:
-
ctx read / write interface definitions val set timeout bit in register SMBUS_TIMEOUT.
- Return values:
-
interface status (MANDATORY: return 0 -> no Error)
Definition at line 648 of file stts751_reg.c.
Generated on Fri Jul 15 2022 18:33:31 by 1.7.2