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-dev by
targets/TARGET_Silicon_Labs/TARGET_EFM32/serial_api_HAL.h@174:ed647f63e28d, 2017-12-19 (annotated)
- Committer:
- Dollyparton
- Date:
- Tue Dec 19 12:50:13 2017 +0000
- Revision:
- 174:ed647f63e28d
- Parent:
- 149:156823d33999
Added RAW socket.
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 |