SmartMesh QSL for STM32F4 version

Fork of COG-AD4050_QSL by APS Lab

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers dn_uart.h Source File

dn_uart.h

00001 /*
00002 Copyright (c) 2014, Dust Networks. All rights reserved.
00003 
00004 \license See attached DN_LICENSE.txt.
00005 */
00006 
00007 #ifndef DN_UART_H
00008 #define DN_UART_H
00009 
00010 #include "dn_common.h"
00011 
00012 //=========================== defined =========================================
00013 
00014 //=========================== typedef =========================================
00015 
00016 typedef void (*dn_uart_rxByte_cbt)(uint8_t byte);
00017 
00018 //=========================== variables =======================================
00019 
00020 //=========================== prototypes ======================================
00021 
00022 #ifdef __cplusplus
00023  extern "C" {
00024 #endif
00025 
00026 void dn_uart_init(dn_uart_rxByte_cbt rxByte_cb);
00027 void dn_uart_txByte(uint8_t byte);
00028 void dn_uart_txFlush();
00029 
00030 #ifdef __cplusplus
00031 }
00032 #endif
00033 
00034 #endif
00035