df

Dependencies:   mbed

Fork of APP1 by Team APP

HomemadeMbed.hpp

Committer:
dupm2216
Date:
2017-01-17
Revision:
15:b38d9d210e32
Parent:
14:2f89279586cb
Child:
21:a111be2582be

File content as of revision 15:b38d9d210e32:

#ifndef HOMEMADE_MBED_HPP
#define HOMEMADE_MBED_HPP

namespace homemade_mbed
{
    unsigned int read_bits(unsigned int* address_4_bytes, const int start_bit, const int stop_bit);
    void write_bits(unsigned int* address_4_bytes, const int start_bit, const int stop_bit, const unsigned int new_value);
    //Reserved bits: 0
    //Non-reserved bits: 1
    unsigned int get_reserved_bits_mask(unsigned int* address_4_bytes);
}

#endif