Mark Gottscho / UtilityLib

Fork of UtilityLib by Mark Gottscho

Committer:
mgottscho
Date:
Wed Mar 12 19:47:18 2014 +0000
Revision:
8:e79637fbb035
Parent:
7:a2b7928a81a2
Child:
9:f71dc1b426da
Bugfix

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mgottscho 7:a2b7928a81a2 1 /* util.h
mgottscho 7:a2b7928a81a2 2 * Tested with mbed board: FRDM-KL46Z
mgottscho 7:a2b7928a81a2 3 * Author: Mark Gottscho
mgottscho 7:a2b7928a81a2 4 * mgottscho@ucla.edu
mgottscho 7:a2b7928a81a2 5 */
mgottscho 7:a2b7928a81a2 6
mgottscho 7:a2b7928a81a2 7 #include "mbed.h"
mgottscho 7:a2b7928a81a2 8
mgottscho 7:a2b7928a81a2 9 uint32_t bytes_to_unsigned(uint8_t b3, uint8_t b2, uint8_t b1, uint8_t b0);
mgottscho 8:e79637fbb035 10 void unsigned_to_bytes(const uint32_t var, uint8_t &b3, uint8_t &b2, uint8_t &b1, uint8_t &b0);