Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
vector_integer.h@1:d043a9b85963, 2017-03-29 (annotated)
- Committer:
- cesarcazal
- Date:
- Wed Mar 29 02:17:17 2017 +0000
- Revision:
- 1:d043a9b85963
EJEMPLO NRF5X
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| cesarcazal | 1:d043a9b85963 | 1 | #ifndef MBED_VECTOR_INTEGER_H |
| cesarcazal | 1:d043a9b85963 | 2 | #define MBED_VECTOR_INTEGER_H |
| cesarcazal | 1:d043a9b85963 | 3 | |
| cesarcazal | 1:d043a9b85963 | 4 | #include "mbed.h" |
| cesarcazal | 1:d043a9b85963 | 5 | |
| cesarcazal | 1:d043a9b85963 | 6 | //LOS VALORES SON DEVUELTOS EN FORMATO INT32; SIN EMBARGO SOLO SE REALIZAN CONVERSIONES EQUIVALENTES A VARIABLES DE 24BITS |
| cesarcazal | 1:d043a9b85963 | 7 | |
| cesarcazal | 1:d043a9b85963 | 8 | int pointer_to_int (char *vect);//función que devuelve un int32 acorde al valor del puntero "vect", donde el LSB es point[0] |
| cesarcazal | 1:d043a9b85963 | 9 | void int_to_pointer (int dato, char *point);//función que coloca los valores de "dato" en el puntero "point", donde el LSB se encuentra en point[0]; |
| cesarcazal | 1:d043a9b85963 | 10 | |
| cesarcazal | 1:d043a9b85963 | 11 | #endif |