Bruno Allaire-Lemay
/
APP1test
df
Fork of APP1 by
HomemadeMbed.hpp@14:2f89279586cb, 2017-01-16 (annotated)
- Committer:
- GaiSensei
- Date:
- Mon Jan 16 02:28:40 2017 +0000
- Revision:
- 14:2f89279586cb
- Parent:
- 13:bb9669053eb3
- Child:
- 15:b38d9d210e32
Bonne nuit; ; Tout est bris?; ; Ajouter mask dans write_bits pour que les reserved soit des 0
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 | 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); |
GaiSensei | 13:bb9669053eb3 | 8 | } |
GaiSensei | 13:bb9669053eb3 | 9 | |
GaiSensei | 13:bb9669053eb3 | 10 | #endif |