STC15W408AS library 0.9.0
Macros | Functions
uart.h File Reference
#include <sys.h>
#include <stdint.h>
#include <timer2_mode0.h>
#include <timer2_to_ms.h>
Include dependency graph for uart.h:

Go to the source code of this file.

Macros

#define uart1_init(uart_baudrate)
 Initiazlize UART1. More...
 

Functions

void uart1_send_byte (uint8_t data)
 
uint8_t uart1_receive_byte ()
 Receive byte from UART1. More...
 
int putchar (int ch)
 Send character to UART1. More...
 
int getchar (void)
 Receive character from UART1. More...