Bruno Allaire-Lemay
/
APP1test
df
Fork of APP1 by
Diff: Utility.hpp
- Revision:
- 15:b38d9d210e32
- Parent:
- 13:bb9669053eb3
- Child:
- 18:a21199781d20
--- a/Utility.hpp Mon Jan 16 02:28:40 2017 +0000 +++ b/Utility.hpp Tue Jan 17 00:06:38 2017 +0000 @@ -15,7 +15,9 @@ //after changing a single bit at a given position (position 0 being the LSB) unsigned int update_bit(const unsigned int previous_4_bytes, const int position, const bool new_bit_value); - unsigned int update_bits(const unsigned int previous_4_bytes, const int start_bit, const int stop_bit, const unsigned int new_bits_value); + unsigned int update_bits(const unsigned int previous_4_bytes, const int start_bit, const int stop_bit, const unsigned int reserved_bits_mask, const unsigned int new_bits_value); + //Hang the program and blink an LED on the mbed + void blink(); } #endif \ No newline at end of file