aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/usart.h
Commit message (Collapse)AuthorAgeFilesLines
* Fixing usart_putstr() atrocity.Marti Bolivar2011-04-251-1/+1
|
* Adding nonblocking USART transmit, usart_tx().Marti Bolivar2011-04-251-13/+23
| | | | | Other USART transmission functions are still blocking, but are now implemented in terms of usart_tx().
* Making usart.h license header 80-column clean.Marti Bolivar2011-04-151-14/+16
|
* USART refactor.Marti Bolivar2011-04-071-58/+257
|
* Cleaned out libmaple.h; this had wide-ranging implications.Marti Bolivar2011-02-271-0/+2
| | | | | | | | | | | | | | | | | | | Many of the #defines in libmaple.h were board-specific, not MCU-specific. Most of these were only used by code under libmaple/usb/. These were moved into usb_config.h, and are clearly marked as being terrible hacks. I'm going to treat the USB stack as a black box that we'll deal with later. Further, instead of having a variety of #defines like "How many USARTS do I have?", we decide that based on the density of the chip. This is determined by testing for STM32_MEDIUM_DENSITY or STM32_HIGH_DENSITY defines. libmaple currently doesn't support low-density chips, so that suffices. The Makefile will set these automatically based on the MCU. Other offending #defines are ERROR_LED_PORT and ERROR_LED_PIN; these were made optional, but they're set in the Makefile as a hack to keep things working.
* Merge branch 'nzmichaelh-master' into master.Marti Bolivar2011-02-161-3/+3
|\ | | | | | | | | | | | | | | | | This provides DMA, IWDG, PWR, and BKP support, and fixes several bugs. Conflicts: libmaple/adc.h libmaple/libmaple.h libmaple/ring_buffer.h
| * undoing USART[45] -> UART[45] mistakeMarti Bolivar2011-02-151-2/+2
| |
| * [WIP] Code review picked up some bugs/issues.Marti Bolivar2011-01-261-2/+2
| |
| * Wait until the transmit buffer is empty before send to save timeMichael Hope2010-10-201-3/+3
| |
* | docsMarti Bolivar2010-10-111-0/+1
|/
* added notes/coding_standard.txt, more cleanupsMarti Bolivar2010-09-271-1/+1
|
* whitespace cleanupsMarti Bolivar2010-09-271-20/+14
|
* inital portability workbnewbold2010-08-251-0/+3
|
* New usart implementation:Perry Hung2010-08-041-11/+77
| | | | | | Fixed a bug where the maximum baud rate was incorrectly set to 225000 General cleanup Use new rcc and nvic APIs
* added Serial.flush()bnewbold2010-07-191-0/+1
|
* Licensing: Relicensed libmaple under the MIT License.Perry Hung2010-03-311-12/+17
| | | | | | Relicensed the bulk of libmaple under the more permissive MIT License, from GPLv3. Files that were largely or entirely derived from the Arduino, STM, or Lanchon retain their original licenses.
* Major hierarchy reorganization; see README.bnewbold2010-03-311-0/+53
copy-to-ide and Makefile updated to conform; .gitignore added; LICENSE added