aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/rcc.h
Commit message (Collapse)AuthorAgeFilesLines
* rcc.h: Better names for the prescaler divider enums.Marti Bolivar2011-05-191-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 enumMarti Bolivar2011-05-191-1/+1
|
* Adding RCC_SPI3 for high density devices.Marti Bolivar2011-04-291-0/+1
|
* Adding rcc_dev_clk(), an accessor for a peripheral's clock line.Marti Bolivar2011-04-251-0/+8
|
* Adding i2c2 and i2c fast modeAnton Eltchaninov2011-04-121-1/+1
| | | | Signed-off-by: Anton Eltchaninov <anton.eltchaninov@gmail.com>
* RCC refactor.Marti Bolivar2011-03-211-125/+484
| | | | | | Older refactor commit e4807a5010f59ab863ad2c96dc14caf65bf1ae60 used bit-banding in rcc_clk_init() to set RCC_CR_HSEON, which doesn't work for some reason. Not going to try to figure out why.
* Merge branch 'i2c-wip' into refactorPerry Hung2011-03-211-0/+2
|\ | | | | | | | | | | | | Conflicts: examples/test-fsmc.cpp libmaple/rules.mk wirish/boards.h
| * i2c mergePerry Hung2011-02-281-0/+2
| |\
| | * checkpointPerry Hung2011-02-261-0/+2
| | |
* | | Revert "RCC refactor, bugfixes"Perry Hung2011-03-211-429/+112
| | | | | | | | | | | | This reverts commit e4807a5010f59ab863ad2c96dc14caf65bf1ae60.
* | | RCC refactor, bugfixesMarti Bolivar2011-03-121-112/+429
| | |
* | | [WIP] GPIO refactor: seems ok, ready for reviewMarti Bolivar2011-03-111-1/+2
|/ /
* | Refactor backup (BKP) and power (PWR) routines.Marti Bolivar2011-02-271-2/+4
| |
* | libmaple: Refactor ADC routinesPerry Hung2011-02-271-3/+6
|/ | | | | | ADC routines rewritten, support for ADC2, 3, added. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
* Merge branch 'nzmichaelh-master' into master.Marti Bolivar2011-02-161-2/+11
|\ | | | | | | | | | | | | | | | | 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
| |
| * Added DMA1 and DMA2 to the RCCMichael Hope2010-10-201-0/+2
| |
| * Make rcc.h C++ safeMichael Hope2010-10-101-0/+7
| |
* | docsMarti Bolivar2010-10-111-1/+2
|/
* whitespace cleanupsMarti Bolivar2010-09-271-34/+34
|
* Merge maple-native changes into portablebnewbold2010-08-311-122/+99
|\ | | | | | | This compiles for both maple and maple_native but is untested.
| * Further wirish portability progressbnewbold2010-08-311-0/+1
| | | | | | | | Sort of ugly changes. Compiles but untested.
| * inital portability workbnewbold2010-08-251-13/+62
| |
| * Switch spi to use new rcc interfacePerry Hung2010-08-041-0/+2
| |
| * New reset and clock control apiPerry Hung2010-08-041-101/+92
| |
* | basic working dac implementationbnewbold2010-08-071-0/+3
| |
* | partial progress on FSMC for SRAMbnewbold2010-08-051-9/+25
| |
* | Some refactoringbnewbold2010-08-051-26/+75
|/
* rename clock selection registerbnewbold2010-07-241-2/+2
| | | | | | | This is just a change of macro name with zero impact on the actual binary. Looking at page 87/1003 of the STM reference manual, bits [0:1] are the SW register which is modifiable by software, while [2:3] are SWS and are set only by hardware.
* Initial SPI Polling implementation.Perry Hung2010-04-241-0/+4
| | | | | | | | | Initial commit of a polling-based SPI driver. The driver is limited to synchronous, blocking sends and a 8-bit data frame format. Tested on SPI1 and SPI2. Other peripherals are temporarily disabled, and the rx function is untested until I find a good peripheral to test everything on.
* Licensing: Relicensed libmaple under the MIT License.Perry Hung2010-03-311-0/+24
| | | | | | 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.
* Removed inttypes.hPerry Hung2010-03-311-2/+2
| | | | | Removed inttypes.h from libmaple. Will have another pass through to use the standard libmaple types, but will come in another commit.
* Merge branch 'master' into rcc-devPerry Hung2010-03-301-0/+107
Conflicts: Makefile