2016-08-16 11:56:10 +02:00
|
|
|
/* 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 3 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, see <http://www.gnu.org/licenses/>.
|
|
|
|
*
|
|
|
|
*/
|
2016-09-04 14:48:40 +02:00
|
|
|
/** library to control multiple software UARTs (API)
|
|
|
|
* @file uart_soft.h
|
2016-08-16 11:56:10 +02:00
|
|
|
* @author King Kévin <kingkevin@cuvoodoo.info>
|
|
|
|
* @date 2016
|
2016-09-04 14:48:40 +02:00
|
|
|
* @note peripherals used: GPIO @ref uart_soft_gpio, timer @ref uart_soft_timer
|
2016-08-16 11:56:10 +02:00
|
|
|
*/
|
|
|
|
|
2016-09-04 14:48:40 +02:00
|
|
|
/** setup software UART ports
|
2016-08-18 10:45:36 +02:00
|
|
|
* @return is setup succeeded, else the configuration is wrong
|
|
|
|
*/
|
2016-09-04 14:48:40 +02:00
|
|
|
bool uart_soft_setup(void);
|