t
Fork of mbed-dev by
targets/TARGET_Silicon_Labs/TARGET_EFM32/serial_api_HAL.h@178:c26431f84b0d, 2017-11-09 (annotated)
- Committer:
- amithy
- Date:
- Thu Nov 09 22:14:37 2017 +0000
- Revision:
- 178:c26431f84b0d
- Parent:
- 149:156823d33999
test export
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbed_official | 50:a417edff4437 | 1 | /***************************************************************************//** |
mbed_official | 50:a417edff4437 | 2 | * @file serial_api_HAL.h |
mbed_official | 50:a417edff4437 | 3 | ******************************************************************************* |
mbed_official | 50:a417edff4437 | 4 | * @section License |
mbed_official | 50:a417edff4437 | 5 | * <b>(C) Copyright 2015 Silicon Labs, http://www.silabs.com</b> |
mbed_official | 50:a417edff4437 | 6 | ******************************************************************************* |
mbed_official | 50:a417edff4437 | 7 | * |
<> | 144:ef7eb2e8f9f7 | 8 | * SPDX-License-Identifier: Apache-2.0 |
mbed_official | 50:a417edff4437 | 9 | * |
<> | 144:ef7eb2e8f9f7 | 10 | * Licensed under the Apache License, Version 2.0 (the "License"); you may |
<> | 144:ef7eb2e8f9f7 | 11 | * not use this file except in compliance with the License. |
<> | 144:ef7eb2e8f9f7 | 12 | * You may obtain a copy of the License at |
mbed_official | 50:a417edff4437 | 13 | * |
<> | 144:ef7eb2e8f9f7 | 14 | * http://www.apache.org/licenses/LICENSE-2.0 |
mbed_official | 50:a417edff4437 | 15 | * |
<> | 144:ef7eb2e8f9f7 | 16 | * Unless required by applicable law or agreed to in writing, software |
<> | 144:ef7eb2e8f9f7 | 17 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
<> | 144:ef7eb2e8f9f7 | 18 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
<> | 144:ef7eb2e8f9f7 | 19 | * See the License for the specific language governing permissions and |
<> | 144:ef7eb2e8f9f7 | 20 | * limitations under the License. |
mbed_official | 50:a417edff4437 | 21 | * |
mbed_official | 50:a417edff4437 | 22 | ******************************************************************************/ |
mbed_official | 50:a417edff4437 | 23 | |
mbed_official | 50:a417edff4437 | 24 | #ifndef MBED_SERIAL_API_HAL_H |
mbed_official | 50:a417edff4437 | 25 | #define MBED_SERIAL_API_HAL_H |
mbed_official | 50:a417edff4437 | 26 | |
mbed_official | 50:a417edff4437 | 27 | #include "em_device.h" |
mbed_official | 50:a417edff4437 | 28 | |
mbed_official | 50:a417edff4437 | 29 | #ifdef _SILICON_LABS_32B_PLATFORM_2 |
mbed_official | 50:a417edff4437 | 30 | |
mbed_official | 50:a417edff4437 | 31 | #define UART_TYPE_USART 0x01 |
mbed_official | 50:a417edff4437 | 32 | #define UART_TYPE_LEUART 0x02 |
mbed_official | 50:a417edff4437 | 33 | |
mbed_official | 50:a417edff4437 | 34 | #ifdef __cplusplus |
mbed_official | 50:a417edff4437 | 35 | extern "C" { |
mbed_official | 50:a417edff4437 | 36 | #endif |
mbed_official | 50:a417edff4437 | 37 | |
mbed_official | 50:a417edff4437 | 38 | #ifdef __cplusplus |
mbed_official | 50:a417edff4437 | 39 | } |
mbed_official | 50:a417edff4437 | 40 | #endif |
mbed_official | 50:a417edff4437 | 41 | |
mbed_official | 50:a417edff4437 | 42 | |
mbed_official | 50:a417edff4437 | 43 | #endif |
mbed_official | 50:a417edff4437 | 44 | |
mbed_official | 50:a417edff4437 | 45 | #endif |