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.
Fork of mbed-src by
targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/sleepmodes.h@526:7c4bdfe6a168, 2015-04-28 (annotated)
- Committer:
- mbed_official
- Date:
- Tue Apr 28 13:00:10 2015 +0100
- Revision:
- 526:7c4bdfe6a168
Synchronized with git revision cdff09e6b6c486eb58fb5e968f3191c8480b0567
Full URL: https://github.com/mbedmicro/mbed/commit/cdff09e6b6c486eb58fb5e968f3191c8480b0567/
Silabs - Fix unblock/block declaration, implement gpio_is_connected
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbed_official | 526:7c4bdfe6a168 | 1 | /* mbed Microcontroller Library |
mbed_official | 526:7c4bdfe6a168 | 2 | * Copyright (c) 2015 ARM Limited |
mbed_official | 526:7c4bdfe6a168 | 3 | * |
mbed_official | 526:7c4bdfe6a168 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
mbed_official | 526:7c4bdfe6a168 | 5 | * you may not use this file except in compliance with the License. |
mbed_official | 526:7c4bdfe6a168 | 6 | * You may obtain a copy of the License at |
mbed_official | 526:7c4bdfe6a168 | 7 | * |
mbed_official | 526:7c4bdfe6a168 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
mbed_official | 526:7c4bdfe6a168 | 9 | * |
mbed_official | 526:7c4bdfe6a168 | 10 | * Unless required by applicable law or agreed to in writing, software |
mbed_official | 526:7c4bdfe6a168 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
mbed_official | 526:7c4bdfe6a168 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
mbed_official | 526:7c4bdfe6a168 | 13 | * See the License for the specific language governing permissions and |
mbed_official | 526:7c4bdfe6a168 | 14 | * limitations under the License. |
mbed_official | 526:7c4bdfe6a168 | 15 | */ |
mbed_official | 526:7c4bdfe6a168 | 16 | #ifndef MBED_SLEEPMODES_H |
mbed_official | 526:7c4bdfe6a168 | 17 | #define MBED_SLEEPMODES_H |
mbed_official | 526:7c4bdfe6a168 | 18 | |
mbed_official | 526:7c4bdfe6a168 | 19 | #include "em_gpio.h" |
mbed_official | 526:7c4bdfe6a168 | 20 | |
mbed_official | 526:7c4bdfe6a168 | 21 | #ifdef __cplusplus |
mbed_official | 526:7c4bdfe6a168 | 22 | extern "C" { |
mbed_official | 526:7c4bdfe6a168 | 23 | #endif |
mbed_official | 526:7c4bdfe6a168 | 24 | |
mbed_official | 526:7c4bdfe6a168 | 25 | void blockSleepMode(sleepstate_enum minimumMode); |
mbed_official | 526:7c4bdfe6a168 | 26 | void unblockSleepMode(sleepstate_enum minimumMode); |
mbed_official | 526:7c4bdfe6a168 | 27 | |
mbed_official | 526:7c4bdfe6a168 | 28 | #ifdef __cplusplus |
mbed_official | 526:7c4bdfe6a168 | 29 | } |
mbed_official | 526:7c4bdfe6a168 | 30 | #endif |
mbed_official | 526:7c4bdfe6a168 | 31 | |
mbed_official | 526:7c4bdfe6a168 | 32 | #endif |