Master Thesis
V1.0
Research and Design of Sensor Node for NMSD Treatment
uart.h
Go to the documentation of this file.
1
/***************************************************************************/
9
/*
10
* uart.h
11
*
12
* Created on: Mar 8, 2020
13
* Author: jonac
14
*/
15
16
#ifndef BLE_UART_H_
17
#define BLE_UART_H_
18
19
#include <stdint.h>
20
#include <stdbool.h>
21
22
23
void
uart_Init
();
24
uint8_t
uartGetChar
( );
25
void
uartPutChar
(uint8_t ch);
26
void
uartPutData
(uint8_t * dataPtr, uint32_t dataLen);
27
uint32_t
uartGetData
(uint8_t * dataPtr, uint32_t dataLen);
28
void
UART1_RX_IRQHandler
(
void
);
29
void
UART1_TX_IRQHandler
(
void
);
30
31
32
33
34
35
36
#endif
/* BLE_UART_H_ */
uartGetChar
uint8_t uartGetChar()
uartGetChar function
Definition:
uart.c:94
UART1_RX_IRQHandler
void UART1_RX_IRQHandler(void)
uartPutData
void uartPutData(uint8_t *dataPtr, uint32_t dataLen)
uartPutData function
Definition:
uart.c:148
uartPutChar
void uartPutChar(uint8_t ch)
uartPutChar function
Definition:
uart.c:121
uart_Init
void uart_Init()
UART init.
Definition:
uart.c:57
uartGetData
uint32_t uartGetData(uint8_t *dataPtr, uint32_t dataLen)
uartGetData function
Definition:
uart.c:185
UART1_TX_IRQHandler
void UART1_TX_IRQHandler(void)
ble
uart.h
Generated by
1.8.16