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@1:fcdb45ee95b9, 2018-05-30 (annotated)
- Committer:
- Bethory
- Date:
- Wed May 30 04:46:28 2018 +0000
- Revision:
- 1:fcdb45ee95b9
- Parent:
- 0:6ad07c9019fd
Entrega Final
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| Bethory | 0:6ad07c9019fd | 1 | /* mbed Microcontroller Library |
| Bethory | 0:6ad07c9019fd | 2 | * Copyright (c) 2006-2013 ARM Limited |
| Bethory | 0:6ad07c9019fd | 3 | * |
| Bethory | 0:6ad07c9019fd | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| Bethory | 0:6ad07c9019fd | 5 | * you may not use this file except in compliance with the License. |
| Bethory | 0:6ad07c9019fd | 6 | * You may obtain a copy of the License at |
| Bethory | 0:6ad07c9019fd | 7 | * |
| Bethory | 0:6ad07c9019fd | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| Bethory | 0:6ad07c9019fd | 9 | * |
| Bethory | 0:6ad07c9019fd | 10 | * Unless required by applicable law or agreed to in writing, software |
| Bethory | 0:6ad07c9019fd | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| Bethory | 0:6ad07c9019fd | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| Bethory | 0:6ad07c9019fd | 13 | * See the License for the specific language governing permissions and |
| Bethory | 0:6ad07c9019fd | 14 | * limitations under the License. |
| Bethory | 0:6ad07c9019fd | 15 | */ |
| Bethory | 0:6ad07c9019fd | 16 | |
| Bethory | 0:6ad07c9019fd | 17 | #include "drivers/AnalogIn.h" |
| Bethory | 0:6ad07c9019fd | 18 | |
| Bethory | 0:6ad07c9019fd | 19 | #if DEVICE_ANALOGIN |
| Bethory | 0:6ad07c9019fd | 20 | |
| Bethory | 0:6ad07c9019fd | 21 | namespace mbed { |
| Bethory | 0:6ad07c9019fd | 22 | |
| Bethory | 0:6ad07c9019fd | 23 | SingletonPtr<PlatformMutex> AnalogIn::_mutex; |
| Bethory | 0:6ad07c9019fd | 24 | |
| Bethory | 0:6ad07c9019fd | 25 | }; |
| Bethory | 0:6ad07c9019fd | 26 | |
| Bethory | 0:6ad07c9019fd | 27 | #endif |