The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
mbed 2
This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.
TARGET_EFM32ZG_STK3200/TOOLCHAIN_ARM_MICRO/device_peripherals.h@172:65be27845400, 2019-02-20 (annotated)
- Committer:
- AnnaBridge
- Date:
- Wed Feb 20 20:53:29 2019 +0000
- Revision:
- 172:65be27845400
- Parent:
- 171:3a7713b1edbc
mbed library release version 165
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
AnnaBridge | 171:3a7713b1edbc | 1 | /***************************************************************************//** |
AnnaBridge | 171:3a7713b1edbc | 2 | * @file device_peripheral.h |
AnnaBridge | 171:3a7713b1edbc | 3 | ******************************************************************************* |
AnnaBridge | 171:3a7713b1edbc | 4 | * @section License |
AnnaBridge | 171:3a7713b1edbc | 5 | * <b>(C) Copyright 2015 Silicon Labs, http://www.silabs.com</b> |
AnnaBridge | 171:3a7713b1edbc | 6 | ******************************************************************************* |
AnnaBridge | 171:3a7713b1edbc | 7 | * |
AnnaBridge | 171:3a7713b1edbc | 8 | * SPDX-License-Identifier: Apache-2.0 |
AnnaBridge | 171:3a7713b1edbc | 9 | * |
AnnaBridge | 171:3a7713b1edbc | 10 | * Licensed under the Apache License, Version 2.0 (the "License"); you may |
AnnaBridge | 171:3a7713b1edbc | 11 | * not use this file except in compliance with the License. |
AnnaBridge | 171:3a7713b1edbc | 12 | * You may obtain a copy of the License at |
AnnaBridge | 171:3a7713b1edbc | 13 | * |
AnnaBridge | 171:3a7713b1edbc | 14 | * http://www.apache.org/licenses/LICENSE-2.0 |
AnnaBridge | 171:3a7713b1edbc | 15 | * |
AnnaBridge | 171:3a7713b1edbc | 16 | * Unless required by applicable law or agreed to in writing, software |
AnnaBridge | 171:3a7713b1edbc | 17 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
AnnaBridge | 171:3a7713b1edbc | 18 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
AnnaBridge | 171:3a7713b1edbc | 19 | * See the License for the specific language governing permissions and |
AnnaBridge | 171:3a7713b1edbc | 20 | * limitations under the License. |
AnnaBridge | 171:3a7713b1edbc | 21 | * |
AnnaBridge | 171:3a7713b1edbc | 22 | ******************************************************************************/ |
AnnaBridge | 171:3a7713b1edbc | 23 | #ifndef MBED_DEVICE_PERIPHERALS_H |
AnnaBridge | 171:3a7713b1edbc | 24 | #define MBED_DEVICE_PERIPHERALS_H |
AnnaBridge | 171:3a7713b1edbc | 25 | |
AnnaBridge | 171:3a7713b1edbc | 26 | /* us ticker */ |
AnnaBridge | 171:3a7713b1edbc | 27 | #define US_TICKER_TIMER TIMER1 |
AnnaBridge | 171:3a7713b1edbc | 28 | #define US_TICKER_TIMER_CLOCK cmuClock_TIMER1 |
AnnaBridge | 171:3a7713b1edbc | 29 | #define US_TICKER_TIMER_IRQ TIMER1_IRQn |
AnnaBridge | 171:3a7713b1edbc | 30 | |
AnnaBridge | 171:3a7713b1edbc | 31 | /* PWM */ |
AnnaBridge | 171:3a7713b1edbc | 32 | #define PWM_TIMER TIMER0 |
AnnaBridge | 171:3a7713b1edbc | 33 | #define PWM_TIMER_CLOCK cmuClock_TIMER0 |
AnnaBridge | 171:3a7713b1edbc | 34 | #define PWM_ROUTE TIMER_ROUTE_LOCATION_LOC0 |
AnnaBridge | 171:3a7713b1edbc | 35 | |
AnnaBridge | 171:3a7713b1edbc | 36 | #endif |