nicolas rojas
/
segundo_copy
pausa
Fork of primercorte by
memory.h@1:6ed951d975cc, 2018-04-20 (annotated)
- Committer:
- ANTONIO_VARGAS
- Date:
- Fri Apr 20 00:56:27 2018 +0000
- Revision:
- 1:6ed951d975cc
- Parent:
- 0:0119b611fc51
hjv
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ANTONIO_VARGAS | 0:0119b611fc51 | 1 | #ifndef MEMORY_ARRAY_H |
ANTONIO_VARGAS | 0:0119b611fc51 | 2 | #define MEMORY_ARRAY_H |
ANTONIO_VARGAS | 0:0119b611fc51 | 3 | |
ANTONIO_VARGAS | 0:0119b611fc51 | 4 | #include "mbed.h" |
ANTONIO_VARGAS | 0:0119b611fc51 | 5 | |
ANTONIO_VARGAS | 0:0119b611fc51 | 6 | #define MEM_SIZE 10 |
ANTONIO_VARGAS | 0:0119b611fc51 | 7 | #define MEM_TYPE uint32_t |
ANTONIO_VARGAS | 0:0119b611fc51 | 8 | |
ANTONIO_VARGAS | 0:0119b611fc51 | 9 | |
ANTONIO_VARGAS | 0:0119b611fc51 | 10 | |
ANTONIO_VARGAS | 0:0119b611fc51 | 11 | void tail_reset(); |
ANTONIO_VARGAS | 0:0119b611fc51 | 12 | void mem_free(); |
ANTONIO_VARGAS | 0:0119b611fc51 | 13 | uint8_t mem_put(MEM_TYPE data); |
ANTONIO_VARGAS | 0:0119b611fc51 | 14 | uint8_t mem_get(MEM_TYPE* data); |
ANTONIO_VARGAS | 0:0119b611fc51 | 15 | |
ANTONIO_VARGAS | 0:0119b611fc51 | 16 | |
ANTONIO_VARGAS | 0:0119b611fc51 | 17 | |
ANTONIO_VARGAS | 1:6ed951d975cc | 18 | #endif |