Low voltage digital temperature sensor

Dependencies:   X_NUCLEO_COMMON ST_INTERFACES

Dependents:   X_NUCLEO_IKS01A3 X_NUCLEO_IKS01A3 X_NUCLEO_IKS01A3

Embed: (wiki syntax)

« Back to documentation index

STTS751_Interrupt_on_threshold

STTS751_Interrupt_on_threshold
[over temperature alarm]

This section groups all the functions that manage interrupt on threshold event. More...

Functions

int32_t stts751_high_temperature_threshold_set (stts751_ctx_t *ctx, int16_t buff)
 high temperature theshold.
int32_t stts751_high_temperature_threshold_get (stts751_ctx_t *ctx, int16_t *buff)
 high temperature theshold.
int32_t stts751_low_temperature_threshold_set (stts751_ctx_t *ctx, int16_t buff)
 low temperature theshold.
int32_t stts751_low_temperature_threshold_get (stts751_ctx_t *ctx, int16_t *buff)
 low temperature theshold.

Detailed Description

This section groups all the functions that manage interrupt on threshold event.


Function Documentation

int32_t stts751_high_temperature_threshold_get ( stts751_ctx_t *  ctx,
int16_t *  buff 
)

high temperature theshold.

[get]

Parameters:
ctxread / write interface definitions
buffbuffer that stores data read
Return values:
interfacestatus (MANDATORY: return 0 -> no Error)

Definition at line 473 of file stts751_reg.c.

int32_t stts751_high_temperature_threshold_set ( stts751_ctx_t *  ctx,
int16_t  buff 
)

high temperature theshold.

[set]

Parameters:
ctxread / write interface definitions
buffbuffer that contains data to write
Return values:
interfacestatus (MANDATORY: return 0 -> no Error)

Definition at line 446 of file stts751_reg.c.

int32_t stts751_low_temperature_threshold_get ( stts751_ctx_t *  ctx,
int16_t *  buff 
)

low temperature theshold.

[get]

Parameters:
ctxread / write interface definitions
buffbuffer that stores data read
Return values:
interfacestatus (MANDATORY: return 0 -> no Error)

Definition at line 528 of file stts751_reg.c.

int32_t stts751_low_temperature_threshold_set ( stts751_ctx_t *  ctx,
int16_t  buff 
)

low temperature theshold.

[set]

Parameters:
ctxread / write interface definitions
buffbuffer that contains data to write
Return values:
interfacestatus (MANDATORY: return 0 -> no Error)

Definition at line 500 of file stts751_reg.c.