![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
SmartMesh QSL for STM32F4 version
Fork of COG-AD4050_QSL by
sm_clib/dn_uart.h@1:b909b8399252, 2018-07-12 (annotated)
- Committer:
- APS_Lab
- Date:
- Thu Jul 12 09:19:12 2018 +0000
- Revision:
- 1:b909b8399252
- Parent:
- 0:8ca1e814a851
SmartMesh for STM32F4 version
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
APS_Lab | 0:8ca1e814a851 | 1 | /* |
APS_Lab | 0:8ca1e814a851 | 2 | Copyright (c) 2014, Dust Networks. All rights reserved. |
APS_Lab | 0:8ca1e814a851 | 3 | |
APS_Lab | 0:8ca1e814a851 | 4 | \license See attached DN_LICENSE.txt. |
APS_Lab | 0:8ca1e814a851 | 5 | */ |
APS_Lab | 0:8ca1e814a851 | 6 | |
APS_Lab | 0:8ca1e814a851 | 7 | #ifndef DN_UART_H |
APS_Lab | 0:8ca1e814a851 | 8 | #define DN_UART_H |
APS_Lab | 0:8ca1e814a851 | 9 | |
APS_Lab | 0:8ca1e814a851 | 10 | #include "dn_common.h" |
APS_Lab | 0:8ca1e814a851 | 11 | |
APS_Lab | 0:8ca1e814a851 | 12 | //=========================== defined ========================================= |
APS_Lab | 0:8ca1e814a851 | 13 | |
APS_Lab | 0:8ca1e814a851 | 14 | //=========================== typedef ========================================= |
APS_Lab | 0:8ca1e814a851 | 15 | |
APS_Lab | 0:8ca1e814a851 | 16 | typedef void (*dn_uart_rxByte_cbt)(uint8_t byte); |
APS_Lab | 0:8ca1e814a851 | 17 | |
APS_Lab | 0:8ca1e814a851 | 18 | //=========================== variables ======================================= |
APS_Lab | 0:8ca1e814a851 | 19 | |
APS_Lab | 0:8ca1e814a851 | 20 | //=========================== prototypes ====================================== |
APS_Lab | 0:8ca1e814a851 | 21 | |
APS_Lab | 0:8ca1e814a851 | 22 | #ifdef __cplusplus |
APS_Lab | 0:8ca1e814a851 | 23 | extern "C" { |
APS_Lab | 0:8ca1e814a851 | 24 | #endif |
APS_Lab | 0:8ca1e814a851 | 25 | |
APS_Lab | 0:8ca1e814a851 | 26 | void dn_uart_init(dn_uart_rxByte_cbt rxByte_cb); |
APS_Lab | 0:8ca1e814a851 | 27 | void dn_uart_txByte(uint8_t byte); |
APS_Lab | 0:8ca1e814a851 | 28 | void dn_uart_txFlush(); |
APS_Lab | 0:8ca1e814a851 | 29 | |
APS_Lab | 0:8ca1e814a851 | 30 | #ifdef __cplusplus |
APS_Lab | 0:8ca1e814a851 | 31 | } |
APS_Lab | 0:8ca1e814a851 | 32 | #endif |
APS_Lab | 0:8ca1e814a851 | 33 | |
APS_Lab | 0:8ca1e814a851 | 34 | #endif |
APS_Lab | 0:8ca1e814a851 | 35 |