Once you receive a uart interrupt you can call this function to get the received character.
13 lines
168 B
C
13 lines
168 B
C
#ifndef _UART_H
|
|
#define _UART_H
|
|
|
|
#include <stdint.h>
|
|
|
|
void uart_txb(uint8_t val);
|
|
void uart_txb_block(uint8_t val);
|
|
|
|
uint8_t uart_rxb();
|
|
|
|
uint8_t uart_status();
|
|
|
|
#endif |