first lib
Dependents: 17robo_fuzi 17robo_tokyo_kaede
bit_test.h@0:81eadcca6267, 2017-09-24 (annotated)
- Committer:
- echo_piyo
- Date:
- Sun Sep 24 05:24:41 2017 +0000
- Revision:
- 0:81eadcca6267
????2??
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
echo_piyo | 0:81eadcca6267 | 1 | /**************************************** |
echo_piyo | 0:81eadcca6267 | 2 | int bit_test(int data, int bit_number); |
echo_piyo | 0:81eadcca6267 | 3 | データのビットが1なら1を返す |
echo_piyo | 0:81eadcca6267 | 4 | ****************************************/ |
echo_piyo | 0:81eadcca6267 | 5 | |
echo_piyo | 0:81eadcca6267 | 6 | #ifndef MBED_BIT_TEST_H |
echo_piyo | 0:81eadcca6267 | 7 | #define MBED_BIT_TEST_H |
echo_piyo | 0:81eadcca6267 | 8 | |
echo_piyo | 0:81eadcca6267 | 9 | #include "mbed.h" |
echo_piyo | 0:81eadcca6267 | 10 | |
echo_piyo | 0:81eadcca6267 | 11 | int bitTest(int dataByte, int bitNumber); |
echo_piyo | 0:81eadcca6267 | 12 | |
echo_piyo | 0:81eadcca6267 | 13 | #endif |