Mark Chen / NU480_UART_9BIT

UART9BIT.CPP

Committer:
mark.chen@ebn.com.tw
Date:
2019-08-19
Revision:
1:9d4632d0b16f
Parent:
0:f0f0961f1727
Child:
5:b97a733f6ed8

File content as of revision 1:9d4632d0b16f:

/* mbed Microcontroller Library
 * Copyright (c) 2015-2016 Nuvoton
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
 
 #include "UART9BIT.h"


UART9BIT::UART9BIT(PinName tx, PinName rx, int baud,bool en9bit) :SerialBase( tx,  rx,  baud)
{
 Enable9Bit=en9bit;

}