Simple implementation of an command-interface. More...
#include "AVR_USART.h"
Functions | |
void | avr_usart_putc (uint8_t data) |
sends a single byte | |
void | avr_usart_puts (char *s) |
transmits each character of a string terminated with null | |
uint8_t | avr_usart_getc_wait (void) |
wait till one char has been received | |
uint8_t | avr_usart_getc (void) |
checks whether something has been received | |
uint8_t | avr_usart_getc_isr (void) |
interrupt service routine to be used to receive characters in ISR |
Simple implementation of an command-interface.
Target/Compiler: AVR_MEGA / GCC(WinAVR)
Routines for the internal hardware UART.
uint8_t avr_usart_getc | ( | void | ) |
checks whether something has been received
void |
none
uint8_t avr_usart_getc_isr | ( | void | ) | [inline] |
interrupt service routine to be used to receive characters in ISR
void |
none
uint8_t avr_usart_getc_wait | ( | void | ) |
wait till one char has been received
void |
none
void avr_usart_putc | ( | uint8_t | data | ) |
sends a single byte
uint8_t | data - byte to be send |
none
void avr_usart_puts | ( | char * | s | ) |
transmits each character of a string terminated with null
char | *s - string to be send |
none