
df
Fork of APP1 by
HomemadeMbed.hpp@13:bb9669053eb3, 2017-01-16 (annotated)
- Committer:
- GaiSensei
- Date:
- Mon Jan 16 00:06:45 2017 +0000
- Revision:
- 13:bb9669053eb3
- Child:
- 14:2f89279586cb
Create homemade_mbed functions; ; - Read bits; - Write bits; ; Sorry messy commit
Who changed what in which revision?
User | Revision | Line number | New 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 | 13:bb9669053eb3 | 6 | unsigned int read_bits(int* address_4_bytes, const int start_bit, const int stop_bit); |
GaiSensei | 13:bb9669053eb3 | 7 | void write_bits(int* address_4_bytes, const int start_bit, const int stop_bit, const unsigned int new_value); |
GaiSensei | 13:bb9669053eb3 | 8 | } |
GaiSensei | 13:bb9669053eb3 | 9 | |
GaiSensei | 13:bb9669053eb3 | 10 | #endif |