LMS 2012
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
lego_ti_omapl_pru_suart.h
Go to the documentation of this file.
1 /*
2  * LEGO® MINDSTORMS EV3
3  *
4  * Copyright (C) 2010-2013 The LEGO Group
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19  */
20 
21 
22 #ifndef LEGO_TI_OMAPL_PRU_SUART_H
23 #define LEGO_TI_OMAPL_PRU_SUART_H 1
24 
25 int lego_pru_suart_init(void);
26 void lego_pru_suart_exit(void);
27 
28 int lego_pru_uart_init(int port);
29 void lego_pru_uart_exit(int port);
30 int lego_pru_uart_activate(int port);
31 void lego_pru_uart_deactivate(int port);
32 void lego_pru_set_baudrate(int port, unsigned int baud);
33 int lego_pru_uart_get_break_state(int port);
34 int lego_pru_write_bytes(int port, unsigned char *pdata, int size);
35 int lego_pru_read_bytes(int port, unsigned char *pdata, int size);
36 int lego_pru_size_data_rx_buffer(int port);
37 
38 #endif
int lego_pru_write_bytes(int port, unsigned char *pdata, int size)
void lego_pru_uart_deactivate(int port)
int lego_pru_suart_init(void)
int lego_pru_read_bytes(int port, unsigned char *pdata, int size)
int lego_pru_size_data_rx_buffer(int port)
int lego_pru_uart_init(int port)
void lego_pru_uart_exit(int port)
int lego_pru_uart_get_break_state(int port)
void lego_pru_set_baudrate(int port, unsigned int baud)
int lego_pru_uart_activate(int port)
void lego_pru_suart_exit(void)