Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | flash.h: Add missing include. | Marti Bolivar | 2011-06-06 | 1 | -1/+2 | |
| | ||||||
* | scb.h: Add missing include. | Marti Bolivar | 2011-06-06 | 1 | -0/+2 | |
| | ||||||
* | bitband.h: Add missing include. | Marti Bolivar | 2011-06-06 | 1 | -0/+2 | |
| | ||||||
* | i2c.h: Add missing includes. | Marti Bolivar | 2011-06-06 | 1 | -0/+5 | |
| | | | | | The missing includes are a bug in general, and prevent usage of i2c.h from within Maple IDE in particular. | |||||
* | usart.h: Allow the environment to determine USART_RX_BUF_SIZE. | Marti Bolivar | 2011-05-27 | 1 | -0/+2 | |
| | | | | | | | Place the USART_RX_BUF_SIZE #define within an #ifndef to allow users to pick their own buffer size. See http://forums.leaflabs.com/topic.php?id=803 | |||||
* | Tweak some register map base pointers. | Marti Bolivar | 2011-05-26 | 9 | -18/+18 | |
| | | | | | | | | | | | | Replace #define XXX_BASE ((xxx_reg_map*)0xDEADBEEF) with #define XXX_BASE ((struct xxx_reg_map*)0xDEADBEEF) for increased GDB-friendliness. | |||||
* | Moving Doxygen comments from declarations to definitions. | Marti Bolivar | 2011-05-23 | 6 | -10/+9 | |
| | ||||||
* | adc.c: Giving adc_dev variables static linkage. | Marti Bolivar | 2011-05-23 | 1 | -2/+2 | |
| | ||||||
* | adc: Moving ADC[123] Doxygen comments to definitions | Marti Bolivar | 2011-05-23 | 2 | -3/+3 | |
| | ||||||
* | spi.h: Doxygen | Marti Bolivar | 2011-05-20 | 1 | -3/+3 | |
| | ||||||
* | dma: Doxygen | Marti Bolivar | 2011-05-20 | 2 | -4/+5 | |
| | ||||||
* | timer.h: Doxygen | Marti Bolivar | 2011-05-20 | 1 | -10/+23 | |
| | ||||||
* | usart.h: Doxygen. | Marti Bolivar | 2011-05-20 | 1 | -6/+6 | |
| | ||||||
* | i2c.h: Documentation fixes. | Marti Bolivar | 2011-05-20 | 1 | -31/+31 | |
| | ||||||
* | usart: Moving Doxygen comments to points of definition | Marti Bolivar | 2011-05-19 | 2 | -5/+5 | |
| | | | | In keeping with convention. | |||||
* | timer: Shortening long names. | Marti Bolivar | 2011-05-19 | 2 | -22/+19 | |
| | | | | | Various names in timer.h were too unwieldy. Making these slightly more bearable. | |||||
* | timer: Moving some Doxygen comments. | Marti Bolivar | 2011-05-19 | 2 | -8/+8 | |
| | | | | From declaration to definition, to keep with convention. | |||||
* | timer.h: Naming tweaks. | Marti Bolivar | 2011-05-19 | 1 | -4/+4 | |
| | | | | | | Renamed timer_reg_map_union -> timer_reg_map. Named the anonymous timer_type. | |||||
* | systick.h: Doxygen comments | Marti Bolivar | 2011-05-19 | 1 | -1/+14 | |
| | ||||||
* | spi: Comment fixups | Marti Bolivar | 2011-05-19 | 2 | -3/+3 | |
| | | | | | Moving SPIn Doxygen comments to point of definition in keeping with libmaple conventions. | |||||
* | spi.h: Naming anonymous enums. | Marti Bolivar | 2011-05-19 | 1 | -4/+4 | |
| | | | | Named spi_mode, spi_baud_rate, spi_cfg_flag, spi_interrupt. | |||||
* | scb.h: Comment/line length fixups | Marti Bolivar | 2011-05-19 | 1 | -18/+20 | |
| | ||||||
* | ring_buffer.h: Comment fix. | Marti Bolivar | 2011-05-19 | 1 | -1/+1 | |
| | ||||||
* | rcc.h: Better names for the prescaler divider enums. | Marti Bolivar | 2011-05-19 | 1 | -8/+8 | |
| | | | | | | | | | | | The various clock divider enums suitable for passing to rcc_set_prescaler() were badly named. They have been renamed as follows: * adc_prescaler_divider -> rcc_adc_divider * apb1_prescaler_divider -> rcc_apb1_divider * apb2_prescaler_divider -> rcc_apb2_divider * ahb_prescaler_divider -> rcc_ahb_divider | |||||
* | rcc.h: Naming anonymous rcc_clk_id enum | Marti Bolivar | 2011-05-19 | 1 | -1/+1 | |
| | ||||||
* | pwr.h: Whitespace/comment cleanups | Marti Bolivar | 2011-05-19 | 1 | -10/+26 | |
| | ||||||
* | pwr: removing unused device. | Marti Bolivar | 2011-05-19 | 2 | -16/+0 | |
| | ||||||
* | i2c: Renaming, type changes, exposing i2c_init(), documentation. | Marti Bolivar | 2011-05-19 | 2 | -91/+137 | |
| | | | | | | | | | | | | | | | | | Changes to struct i2c_dev members: - uint8 clk_line's type is changing and is being renamed, is now rcc_clk_id clk_id - uint8 ev_nvic_line's type is changing to nvic_irq_num - uint8 er_nvic_line's type is changing to nvic_irq_num Previous names were badly typed and inconsistent with the rest of libmaple. Exposing i2c_init(), also for consistency. Adding/editing many Doxygen comments, for documentation and general housekeeping. | |||||
* | i2c.h: fixing type of i2c_dev state member. | Marti Bolivar | 2011-05-19 | 1 | -1/+1 | |
| | | | | | It's an i2c_state; calling it one. Previous uint8 type was broken since I2C_STATE_ERROR is negative. | |||||
* | iwdg: Doxygen comments | Marti Bolivar | 2011-05-19 | 2 | -11/+17 | |
| | ||||||
* | iwdg: Naming anonymous enum. | Marti Bolivar | 2011-05-19 | 1 | -1/+1 | |
| | | | | | Anonymous enum typedefed to iwdg_prescaler is now also enum iwdg_prescaler, for consistency with the rest of the library. | |||||
* | gpio: Renaming for consistency. | Marti Bolivar | 2011-05-19 | 2 | -59/+191 | |
| | | | | | Gave the anonymous enum typedefed to afio_exti_num the same name; renamed AFIORemapPeripheral afio_remap_peripheral. | |||||
* | adc.c: adc_init() doesn't set the RCC's ADC prescaler. | Marti Bolivar | 2011-05-19 | 1 | -3/+2 | |
| | | | | | You have to call rcc_set_prescaler() yourself now. adc_init() never should have been doing that anyway. | |||||
* | delay.h: Adding Doxygen comments for the file and delay_us(). | Marti Bolivar | 2011-05-19 | 1 | -1/+11 | |
| | ||||||
* | bitband.h: Changing "__io" -> "volatile" | Marti Bolivar | 2011-05-19 | 1 | -12/+20 | |
| | | | | | For SRAM functions, __io was in error. Everything else just for consistency. | |||||
* | bkp.h: Adding missing register bit definitions | Marti Bolivar | 2011-05-19 | 1 | -0/+45 | |
| | ||||||
* | adc.h: Putting ADC3_BASE within an #ifdef STM32_HIGH_DENSITY | Marti Bolivar | 2011-05-17 | 1 | -0/+2 | |
| | ||||||
* | Docs: Various improvements. | Marti Bolivar | 2011-05-13 | 1 | -0/+3 | |
| | ||||||
* | libmaple: Fix warnings in libmaple source files | Perry Hung | 2011-05-12 | 8 | -19/+15 | |
| | | | | | -Add -Wall, -Werror to libmaple/* -Fix warnings | |||||
* | i2c: Various fixes, extensions, documentation. | Perry Hung | 2011-05-12 | 6 | -80/+285 | |
| | | | | | | | | | | | | -Fix clock calculations for fast-mode support -Add I2C_REMAP option to remap i2c1 (untested) -Add I2C_BUS_RESET option to reset bus on initialization -Add optional timeout parameter -Doxygen comments -Various cleanup 10-bit slave addressing is untested until I have a device that speaks such. | |||||
* | Converting all files to UNIX newlines. | Marti Bolivar | 2011-05-10 | 13 | -3308/+3308 | |
| | | | | | | | Committing the results of running the following on the libmaple root directory: $ fromdos `grep --exclude-dir='[.]git' -Ilsr $'\r$' .` | |||||
* | Finally getting rid of __read() and __write(). | Marti Bolivar | 2011-05-06 | 1 | -8/+1 | |
| | | | | | This brings util.h down to some bit manipulation macros, failure routines, and asserts. | |||||
* | IWDG include fixup. | Marti Bolivar | 2011-05-06 | 1 | -0/+1 | |
| | ||||||
* | Independent watchdog refactor. | Marti Bolivar | 2011-05-06 | 2 | -38/+88 | |
| | ||||||
* | Doxygen syntax bugfixes. | Marti Bolivar | 2011-05-05 | 3 | -3/+8 | |
| | ||||||
* | SPI fixups. | Marti Bolivar | 2011-05-04 | 2 | -58/+37 | |
| | | | | | | Initial post-review changes based on thread here: https://github.com/leaflabs/libmaple/commit/77f707d7b87fce284945fc9fe21c824c18c4c93d#comments | |||||
* | systick_timer_millis is volatile, not IO-mapped. | Marti Bolivar | 2011-05-04 | 2 | -2/+2 | |
| | ||||||
* | SerialUSB fixups. | Marti Bolivar | 2011-05-04 | 4 | -11/+9 | |
| | ||||||
* | Native and FSMC cleanups. | Marti Bolivar | 2011-05-04 | 2 | -9/+9 | |
| | | | | | | | Got rid of native_sram.h (and native_sram.cpp), and pushed their functionality into maple_native.cpp. Fixed includes in maple_native.h. Fixed includes in fsmc.h. | |||||
* | Adding RCC_SPI3 for high density devices. | Marti Bolivar | 2011-04-29 | 2 | -0/+2 | |
| |