May
28
2010
The Usart Bla bla bla: Using the Standard IO facilities #16
Using the Standard IO facilities of the avr-libc This is a preview of The Usart Bla bla bla: Using the Standard IO facilities #16. Read the full post (190 words, estimated 46 secs reading time) Read moreMay
18
2010
The Usart Bla bla bla: The command line arguments #15
The getopt function int getopt(int argc, char * const argv, const char *optstring); extern char *optarg; extern int optind, opterr, optopt; The getopt function is used to parse command option. The parameters argc and argv are the argument count... Read moreMay
11
2010
The Usart Bla bla bla: The shell functions #14
The Shell functions The shell contains the following functions: vConsoleLoop vEchoff vEchon iGetChar This is a preview of The Usart Bla bla bla: The shell functions #14. Read the full post (256 words, estimated 1:01 mins reading time) Read moreApr
27
2010
The Usart Bla bla bla: functions #13
The Uart bla bla bla functions NAME uart_init — Init the UART port. SYNTAX #include “uart.h” char uart_init (unsigned long ulBaudRate, unsigned char ucParity, unsigned char ucDataBit, unsigned char ucStopBit ) This is a preview of... Read moreApr
20
2010
The Usart Bla bla bla: My USART implementation #12
My UART implementation My USART software is based on the ATMEL application note AVR306 : Using the AVR® UART in C. The original source code of the application note was changed to support receiver error and to support... Read moreApr
13
2010
The Usart Bla bla bla: Interrupt 3 #11
UART Data Register Empty Interrupt As described the USART can generate interrupt if the data register is empty. The interrupt could be enabled setting the Data Register Empty Interrupt Enable(UDRIE0) . The USART Data Register Empty ISR will be... Read moreApr
06
2010
The Usart Bla bla bla: Interrupt 2 #10
Interrupt from the USART Before to speak about the interrupts implementation of the USART, I want to say a little bit regarding the “Interrupts” and then it will follow by a description of the usage of the USART interrupts... Read moreMar
30
2010