QSL / Mbed 2 deprecated QSL_SimplePublish Featured

Dependencies:   mbed millis

Fork of QSL_SimplePublish by Jon-Håkon Bøe Røli

QSL SimplePublish

SmartMesh IP QuickStart Library

dn_uart.h

Committer:
jhbr
Date:
2016-09-01
Revision:
0:d3f5fdf2e6da

File content as of revision 0:d3f5fdf2e6da:

/*
Copyright (c) 2014, Dust Networks. All rights reserved.

\license See attached DN_LICENSE.txt.
*/

#ifndef DN_UART_H
#define DN_UART_H

#include "dn_common.h"

//=========================== defined =========================================

//=========================== typedef =========================================

typedef void (*dn_uart_rxByte_cbt)(uint8_t byte);

//=========================== variables =======================================

//=========================== prototypes ======================================

#ifdef __cplusplus
 extern "C" {
#endif

void dn_uart_init(dn_uart_rxByte_cbt rxByte_cb);
void dn_uart_txByte(uint8_t byte);
void dn_uart_txFlush();

#ifdef __cplusplus
}
#endif

#endif