USART Devices
[Serial]

AVR USART hardware dependant implementation. More...

Collaboration diagram for USART Devices:

AVR USART hardware dependant implementation.

A pointer to devUsartAvr0 or devUsartAvr1 must be passed to NutRegisterDevice() to bind the corresponding device driver to the Nut/OS kernel.

 NutRegisterDevice(&devUsartAvr0, 0, 0);
 fp = fopen("uart0", "r+");
 fprintf(fp, "Hello world!\n");

The AVR USART devices make use of the hardware independant USART Device Driver


© 2000-2010 by contributors - visit http://www.ethernut.de/