aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/rcc.h
Commit message (Collapse)AuthorAgeFilesLines
* Switch spi to use new rcc interfacePerry Hung2010-08-041-0/+2
|
* New reset and clock control apiPerry Hung2010-08-041-101/+92
|
* 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