BlinkenArea - GitList
Repositories
Blog
Wiki
mips_sys
Code
Commits
Branches
Tags
Search
Tree:
7f7ba9a
Branches
Tags
master
mips_sys
fw
uart.h
added FIFO to UART RX
Stefan Schuermans
commited
7f7ba9a
at 2012-02-20 13:36:12
uart.h
Blame
History
Raw
#ifndef UART_H #define UART_H /** * @brief configure baudrate scaler * @param[in] scale baudrate scaler (1 = 7.143 Mhz) */ void uart_cfg_scale(unsigned short scale); /** * @brief configure number of data bits * @param[in] bits number of data bits */ void uart_cfg_bits(unsigned char bits); /** * @brief configure number of stop bits * @param[in] stop number of stop bits */ void uart_cfg_stop(unsigned char stop); /** * @brief transmit a character * @param[in] chr character to transmit */ void uart_tx(unsigned short chr); /** * @brief receive a character * @return character received */ unsigned short uart_rx(void); #endif /* #ifndef UART_H */