Function xensiv_pasco2_set_scratch_pad(const xensiv_pasco2_t *, uint8_t)¶
Defined in File xensiv_pasco2.h
Function Documentation¶
-
int32_t xensiv_pasco2_set_scratch_pad(const xensiv_pasco2_t *dev, uint8_t val)¶
Writes to the scratchpad register.
- Parameters
dev – [in] Pointer to the XENSIV™ PAS CO2 sensor device
val – [in] New scratchpad register value to apply
- Returns
XENSIV_PASCO2_OK if writing to the scratch pad register was successful; an error indicating what went wrong otherwise