df

Dependencies:   mbed

Fork of APP1 by Team APP

Committer:
dupm2216
Date:
Tue Jan 17 00:06:38 2017 +0000
Revision:
15:b38d9d210e32
Parent:
14:2f89279586cb
Child:
21:a111be2582be
Fini?

Who changed what in which revision?

UserRevisionLine numberNew contents of line
GaiSensei 13:bb9669053eb3 1 #ifndef HOMEMADE_MBED_HPP
GaiSensei 13:bb9669053eb3 2 #define HOMEMADE_MBED_HPP
GaiSensei 13:bb9669053eb3 3
GaiSensei 13:bb9669053eb3 4 namespace homemade_mbed
GaiSensei 13:bb9669053eb3 5 {
GaiSensei 14:2f89279586cb 6 unsigned int read_bits(unsigned int* address_4_bytes, const int start_bit, const int stop_bit);
GaiSensei 14:2f89279586cb 7 void write_bits(unsigned int* address_4_bytes, const int start_bit, const int stop_bit, const unsigned int new_value);
dupm2216 15:b38d9d210e32 8 //Reserved bits: 0
dupm2216 15:b38d9d210e32 9 //Non-reserved bits: 1
dupm2216 15:b38d9d210e32 10 unsigned int get_reserved_bits_mask(unsigned int* address_4_bytes);
GaiSensei 13:bb9669053eb3 11 }
GaiSensei 13:bb9669053eb3 12
GaiSensei 13:bb9669053eb3 13 #endif