18 Commits

Author SHA1 Message Date
Uwe Hermann
17b2e87ba3 Factor out cm3/common.h and cm3/memorymap.h. 2010-12-30 00:53:52 +01:00
Piotr Esden-Tempski
e5941fb075 Improved usart api implementation to be more readable. 2010-12-29 13:56:22 +01:00
Piotr Esden-Tempski
bf0b987fe3 Splitted out the usart recv and send functions to have blocking and non blocking versions of those. 2010-12-27 15:29:22 +01:00
Piotr Esden-Tempski
d84c4030b2 Cleaned up header inclusion.
Now all examples are including only the modules they really need. Also
each header file of the library is including only the necessary headers
making it possible to use these modules in parallel with other
implementations that may collide with the definitions in other modules.
2010-03-04 19:16:24 +01:00
Uwe Hermann
c441007867 Drop useless endif markers. 2010-02-24 00:34:18 +01:00
Piotr Esden-Tempski
0c6b661502 Adapted to the new header style. Added some defs. 2010-01-15 17:00:18 +01:00
Uwe Hermann
1b73ccdd7a Whitespace fixes. 2010-01-15 00:54:07 +01:00
Piotr Esden-Tempski
667f32bd45 Added USART_ prefix to bit definitions.
This matches the new convention used throughout libopenstm32.
2010-01-15 00:03:29 +01:00
Uwe Hermann
c6ec621b1a Initial implementation of USART API functions.
The usart_set_baudrate() function is currently hardcoded to certain
settings, that needs to be fixed later.
2009-07-25 03:24:08 +02:00
Uwe Hermann
712261bb52 Add some more USART related bit definitions. 2009-07-25 03:09:36 +02:00
Uwe Hermann
c26541c4c5 Some random cosmetic changes and additional comments. 2009-07-25 02:35:46 +02:00
Uwe Hermann
5ba3aae7d7 Add simple USART convenience macros. 2009-07-25 02:01:55 +02:00
Uwe Hermann
732760ccd0 Add more comments, fix copy-paste error in descriptions. 2009-07-24 14:43:44 +02:00
Uwe Hermann
2a571de8f8 Add RCC_CR3 values and some more comments. 2009-07-24 14:43:44 +02:00
Uwe Hermann
ecd6d52463 Add RCC_CR2 bit definitions. 2009-07-24 14:43:43 +02:00
Uwe Hermann
944456fde1 Fix compile by using the correct variable name. 2009-07-24 14:43:43 +02:00
Uwe Hermann
b6a4976495 Add register #defines for all available USARTs/UARTs. 2009-07-22 16:48:55 +02:00
Uwe Hermann
6db6d5b49c Add initial framework for USART support. So far only some #defines. 2009-07-22 14:02:21 +02:00