PreviousNext
eEEPROM_TempSensorOn
Help > Macros > Serial EEPROM and temperature sensor > eEEPROM_TempSensorOn

Macro

 

Enable serial EEPROM and temperature sensor

Purpose

 

To switch serial EEPROM and temperature sensor on only when it is required with respect to power consumption

Syntax

 

void eEEPROM_TempSensorOn()

Parameters

 

 –

Return value

 

 –

Output values

 

Serial EEPROM and temperature sensor are connected to the power supply

Preconditions

 

The default state after power on is On.

Remarks

 

•     Both EEEPROM and temperature sensor can be enabled at the same time only

•     To get EEEPROM ready, a short delay (about 10 µs) is required after eEEPROM_TempSensorOn. See Example.

•     To get the temperature sensor ready, a delay is required after eEEPROM_TempSensorOn. See getTemperature and  Example.

Side effects

 

 –

See also

 

eEEPROM_TempSensorOff

Example

 

See eEEPROM_TempSensorOff