mirror of
https://github.com/OpenEPaperLink/OpenEPaperLink.git
synced 2026-03-23 18:08:50 +01:00
28 lines
424 B
C
28 lines
424 B
C
#ifndef _UART_ZBS_H_
|
|
#define _UART_ZBS_H_
|
|
|
|
#include <stdint.h>
|
|
|
|
//pre-configured for 115200 8n1
|
|
//RX can be done but i do not need it
|
|
|
|
#pragma callee_saves uartInit
|
|
void uartInit(void);
|
|
|
|
#pragma callee_saves uartTx
|
|
void uartTx(uint8_t val);
|
|
|
|
|
|
#ifdef AP_FW
|
|
void UART_IRQ1(void) __interrupt (0);
|
|
|
|
#pragma callee_saves uartBytesAvail
|
|
uint8_t uartBytesAvail(void);
|
|
|
|
#pragma callee_saves uartRX
|
|
uint8_t uartRx();
|
|
#endif
|
|
|
|
#endif
|
|
|