sarmfsw: SMFSW Toolbox (for ARM & compatible with Arduino platform) 3.7
SMFSW collection of miscellaneous functions & macros (for ARM & compatible with Arduino platform)
Loading...
Searching...
No Matches
arm_inlines_temperature.h File Reference

Temperature conversion inlines. More...

This graph shows which files directly or indirectly include this file:

Macros

#define M_5_9   (5.0 / 9.0)
 5/9 constant approximation
 
#define M_9_5   (9.0 / 5.0)
 9/5 constant approximation
 

Functions

float celsius2kelvin (const float cel)
 Convert degrees Celsius to Kelvin.
 
float kelvin2celsius (const float kel)
 Convert degrees Kelvin to Celsius.
 
float celsius2fahrenheit (const float cel)
 Convert degrees Celsius to Fahrenheit.
 
float fahrenheit2celsius (const float fah)
 Convert degrees Fahrenheit to Celsius.
 
float fahrenheit2kelvin (const float fah)
 Convert degrees Fahrenheit to Kelvin.
 
float kelvin2fahrenheit (const float kel)
 Convert degrees Kelvin to Fahrenheit.
 

Detailed Description

Temperature conversion inlines.

Author
SMFSW

Macro Definition Documentation

◆ M_5_9

#define M_5_9   (5.0 / 9.0)

5/9 constant approximation

◆ M_9_5

#define M_9_5   (9.0 / 5.0)

9/5 constant approximation

Function Documentation

◆ celsius2fahrenheit()

float celsius2fahrenheit ( const float cel)
inline

Convert degrees Celsius to Fahrenheit.

Parameters
[in]cel- Celsius degrees value
Returns
Fahrenheit degrees
Here is the caller graph for this function:

◆ celsius2kelvin()

float celsius2kelvin ( const float cel)
inline

Convert degrees Celsius to Kelvin.

Parameters
[in]cel- Celsius degrees value
Returns
Kelvin degrees
Here is the caller graph for this function:

◆ fahrenheit2celsius()

float fahrenheit2celsius ( const float fah)
inline

Convert degrees Fahrenheit to Celsius.

Parameters
[in]fah- Fahrenheit degrees value
Returns
Celsius degrees
Here is the caller graph for this function:

◆ fahrenheit2kelvin()

float fahrenheit2kelvin ( const float fah)
inline

Convert degrees Fahrenheit to Kelvin.

Parameters
[in]fah- Fahrenheit degrees value
Returns
Kelvin degrees
Here is the call graph for this function:

◆ kelvin2celsius()

float kelvin2celsius ( const float kel)
inline

Convert degrees Kelvin to Celsius.

Parameters
[in]kel- Kelvin degrees value
Returns
Kelvin degrees
Here is the caller graph for this function:

◆ kelvin2fahrenheit()

float kelvin2fahrenheit ( const float kel)
inline

Convert degrees Kelvin to Fahrenheit.

Parameters
[in]kel- Kelvin degrees value
Returns
Fahrenheit degrees
Here is the call graph for this function: