#include "sysconfig.h"Go to the source code of this file.
Data Structures | |
| struct | rs232_ |
Typedefs | |
| typedef struct rs232_ | rs232_struct |
Functions | |
| int | usart_write (char *buffer) |
| usart_write(): This function is called to send bytes via USART | |
| int | usart_read (void) |
| void | usart_clear_structure (rs232_struct_delete rs232_del) |
| usart_printf(): This function is called to send formatted bytes via USART | |
Variables | |
| rs232_struct | rs232_info |
| typedef struct rs232_ rs232_struct |
| void usart_clear_structure | ( | rs232_struct_delete | rs232_del | ) |
usart_printf(): This function is called to send formatted bytes via USART
This function is called on usart as an usart formatted writing mechanism
| void |
| rs232_del | (which should we delete) |
References BOTH, bzero, rs232_::last_read, rs232_::last_receive, rs232_::last_transmit, rs232_::last_write, MAX_RS232_CHARACTERS, READ, rs232_::readbuf, TMP_READ, rs232_::tmp_readbuf, WRITE, and rs232_::writebuf.
Referenced by bt_device_uc_config(), init_usart(), usart_read(), usart_uc_read(), and usart_write().
| int usart_read | ( | void | ) |
References BOTH, READ, rs232_::readbuf, rs232_::temperature, usart_clear_structure(), and usart_write().
Referenced by main().
| int usart_write | ( | char * | buffer | ) |
usart_write(): This function is called to send bytes via USART
This function is called on usart as an usart writing mechanism
only called when the first character is sent of a string
| buffer | The Buffer we want to write |
References rs232_::last_write, MAX_RS232_CHARACTERS, usart_clear_structure(), usart_uc_write(), WRITE, and rs232_::writebuf.
Referenced by usart_read().
Referenced by temperature(), usart_uc_read(), and usart_uc_write().
1.5.8