TESIS SATUROMETRICA / vector_int24

vector_int24.h

Committer:
cesarcazal
Date:
2016-08-26
Revision:
0:58277eb442ad

File content as of revision 0:58277eb442ad:

#ifndef MBED_VECTOR_INT24_H
#define MBED_VECTOR_INT24_H

#include "mbed.h"

//LOS VALORES SON DEVUELTOS EN FORMATO INT32; SIN EMBARGO SOLO SE REALIZAN CONVERSIONES EQUIVALENTES A VARIABLES DE 24BITS

int32_t pointer_to_int32 (uint8_t *vect);//función que devuelve un int32 acorde al valor del puntero "vect", donde el LSB es point[0]
void int32_to_pointer (int32_t dato, uint8_t *point);//función que coloca los valores de "dato" en el puntero "point", donde el LSB se encuentra en point[0];

#endif