sf
batter.h@0:e1658d625afc, 2016-09-27 (annotated)
- Committer:
- floatlei
- Date:
- Tue Sep 27 09:41:52 2016 +0000
- Revision:
- 0:e1658d625afc
sf
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
floatlei | 0:e1658d625afc | 1 | /* mbed Microcontroller Library |
floatlei | 0:e1658d625afc | 2 | * Copyright (c) 2006-2013 ARM Limited |
floatlei | 0:e1658d625afc | 3 | * |
floatlei | 0:e1658d625afc | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
floatlei | 0:e1658d625afc | 5 | * you may not use this file except in compliance with the License. |
floatlei | 0:e1658d625afc | 6 | * You may obtain a copy of the License at |
floatlei | 0:e1658d625afc | 7 | * |
floatlei | 0:e1658d625afc | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
floatlei | 0:e1658d625afc | 9 | * |
floatlei | 0:e1658d625afc | 10 | * Unless required by applicable law or agreed to in writing, software |
floatlei | 0:e1658d625afc | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
floatlei | 0:e1658d625afc | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
floatlei | 0:e1658d625afc | 13 | * See the License for the specific language governing permissions and |
floatlei | 0:e1658d625afc | 14 | * limitations under the License. |
floatlei | 0:e1658d625afc | 15 | */ |
floatlei | 0:e1658d625afc | 16 | |
floatlei | 0:e1658d625afc | 17 | #include "mbed.h" |
floatlei | 0:e1658d625afc | 18 | |
floatlei | 0:e1658d625afc | 19 | #ifndef SANFAN_BATTER_H |
floatlei | 0:e1658d625afc | 20 | #define SANFAN_BATTER_H |
floatlei | 0:e1658d625afc | 21 | |
floatlei | 0:e1658d625afc | 22 | #include "platform.h" |
floatlei | 0:e1658d625afc | 23 | |
floatlei | 0:e1658d625afc | 24 | class BatterVol { |
floatlei | 0:e1658d625afc | 25 | |
floatlei | 0:e1658d625afc | 26 | public: |
floatlei | 0:e1658d625afc | 27 | BatterVol(); |
floatlei | 0:e1658d625afc | 28 | |
floatlei | 0:e1658d625afc | 29 | unsigned short detect(void); |
floatlei | 0:e1658d625afc | 30 | |
floatlei | 0:e1658d625afc | 31 | private: |
floatlei | 0:e1658d625afc | 32 | |
floatlei | 0:e1658d625afc | 33 | |
floatlei | 0:e1658d625afc | 34 | protected: |
floatlei | 0:e1658d625afc | 35 | |
floatlei | 0:e1658d625afc | 36 | }; |
floatlei | 0:e1658d625afc | 37 | |
floatlei | 0:e1658d625afc | 38 | #endif |
floatlei | 0:e1658d625afc | 39 | |
floatlei | 0:e1658d625afc | 40 | |
floatlei | 0:e1658d625afc | 41 |