pub unsafe extern "C" fn phydat_unit_to_str(unit: u8) -> *const c_char
Expand description

@brief Convert the given unit to a string

@param[in] unit unit to convert

@return string representation of given unit (e.g. V or m) @return NULL if unit was not recognized

@deprecated Use @ref phydat_unit_print or @ref phydat_unit_write instead

@warning For classic Harvard architectures a small buffer is used to store the string, so that subsequent (or concurrent!) calls will overwrite the output.