The file with interface for UART driver.
More...
#include <oc_driver.h>
#include <oc_gpio.h>
#include <oc_stdlib.h>
#include <oc_ioctl.h>
#include <oc_uart_lld.h>
Go to the source code of this file.
- Author
- Patryk Kubiak - (Created on: 27 05 2015 22:30:48)
- Note
- Copyright (C) 2015 Patryk Kubiak patry.nosp@m.k.ku.nosp@m.biak9.nosp@m.0@gm.nosp@m.ail.c.nosp@m.om
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Definition in file oc_uart.h.
Enumerator |
---|
oC_UART_BitOrder_LSBFirst |
low significant bit first
|
oC_UART_BitOrder_MSBFirst |
most significant bit first
|
Definition at line 69 of file oc_uart.h.
Enumerator |
---|
oC_UART_Invert_NotInverted |
not inverted signals
|
oC_UART_Invert_Inverted |
signals will be inverted
|
Definition at line 75 of file oc_uart.h.
Enumerator |
---|
oC_UART_Parity_None |
none parity checking
|
oC_UART_Parity_Odd |
odd parity checking
|
oC_UART_Parity_Even |
even parity checking
|
Definition at line 55 of file oc_uart.h.
Enumerator |
---|
oC_UART_StopBit_1Bit |
stop bit length set to 1 bit
|
oC_UART_StopBit_1p5Bits |
stop bit length set to 1.5 bit
|
oC_UART_StopBit_2Bits |
stop bit length set to 2 bits
|
Definition at line 62 of file oc_uart.h.
Enumerator |
---|
oC_UART_WordLength_5Bits |
transmission length is 5 bits
|
oC_UART_WordLength_6Bits |
transmission length is 6 bits
|
oC_UART_WordLength_7Bits |
transmission length is 7 bits
|
oC_UART_WordLength_8Bits |
transmission length is 8 bits
|
Definition at line 47 of file oc_uart.h.