Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
mbed-os/drivers/AnalogIn.cpp@0:4beb2ea291ec, 2020-03-16 (annotated)
- Committer:
- boro
- Date:
- Mon Mar 16 13:12:31 2020 +0000
- Revision:
- 0:4beb2ea291ec
a
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| boro | 0:4beb2ea291ec | 1 | /* mbed Microcontroller Library |
| boro | 0:4beb2ea291ec | 2 | * Copyright (c) 2006-2013 ARM Limited |
| boro | 0:4beb2ea291ec | 3 | * |
| boro | 0:4beb2ea291ec | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| boro | 0:4beb2ea291ec | 5 | * you may not use this file except in compliance with the License. |
| boro | 0:4beb2ea291ec | 6 | * You may obtain a copy of the License at |
| boro | 0:4beb2ea291ec | 7 | * |
| boro | 0:4beb2ea291ec | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| boro | 0:4beb2ea291ec | 9 | * |
| boro | 0:4beb2ea291ec | 10 | * Unless required by applicable law or agreed to in writing, software |
| boro | 0:4beb2ea291ec | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| boro | 0:4beb2ea291ec | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| boro | 0:4beb2ea291ec | 13 | * See the License for the specific language governing permissions and |
| boro | 0:4beb2ea291ec | 14 | * limitations under the License. |
| boro | 0:4beb2ea291ec | 15 | */ |
| boro | 0:4beb2ea291ec | 16 | |
| boro | 0:4beb2ea291ec | 17 | #include "drivers/AnalogIn.h" |
| boro | 0:4beb2ea291ec | 18 | |
| boro | 0:4beb2ea291ec | 19 | #if DEVICE_ANALOGIN |
| boro | 0:4beb2ea291ec | 20 | |
| boro | 0:4beb2ea291ec | 21 | namespace mbed { |
| boro | 0:4beb2ea291ec | 22 | |
| boro | 0:4beb2ea291ec | 23 | SingletonPtr<PlatformMutex> AnalogIn::_mutex; |
| boro | 0:4beb2ea291ec | 24 | |
| boro | 0:4beb2ea291ec | 25 | }; |
| boro | 0:4beb2ea291ec | 26 | |
| boro | 0:4beb2ea291ec | 27 | #endif |