mbed library sources. Supersedes mbed-src.

Dependents:   Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more

Committer:
AnnaBridge
Date:
Wed Feb 20 22:31:08 2019 +0000
Revision:
189:f392fc9709a3
Parent:
149:156823d33999
mbed library release version 165

Who changed what in which revision?

UserRevisionLine numberNew 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