Yet another U(S)ART library

Go To Last Post
5 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,
You can find new version of my UART library here.

This is library for using UART and USART (including those with 2 USARTs) in Atmel AVR microcontrollers.
Its main part is written in assembler and its core size is only about 380 bytes (receiver 190 and transmitter 192). You don't need take care about any U(S)ART interrupts handling. Input and output are buffered in buffers and its length can be changed (independently) at compilation time to any value between 2 and 254 (default is 16). It is true library (from linker point of view) and only used code will be included in the final FLASH image (eg. only transmitting or receiving part). There are included "glue" functions which allows use UART as input and/or output stream for standard IO functions like fprintf, puts, fgets etc. Examples and documentation included.
For each device there is produced separate library file, so if you want to change your program to work with another AVR you must only link it with different archive.
This version is supposed as release candidate quality.

Search project ID 233.

Regards,

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I'M JUST GETTING GOING AND AM TRYING TO USE MY avr FOR A SIMPLE RS-232 I/O
DO YOU HAVE ANY SUGGESTIONS OR EXAMPLES FOR VERY BASIC ASSEMBLY USART APPLICATIONS?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

STOP SHOUTING! :evil:

If you read the post, Artur has a UART library which is probably what you're looking for.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

thanks for your comment ther ew, but that does not look like assembly to me nor does it look like a simple application 8)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

You can also search through the Academy to see what other project are available that meet your requirements.