1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

10 Commits

Author SHA1 Message Date
Kees Bakker
bac5cda1e3 periph/i2c: convert char to uint8_t where applicapable
In general, data transferred through I2C are bytes and thus should have
type uint8_t, not char.

Also convert uint8_t ptrs to void ptrs
2016-10-04 20:26:39 +02:00
Toon Stegen
77c9ee043f stm32f2: add adc and lpm
changes taken from DipSwitch's board: EMW3162 #4498 PR.
- Adds a functional implementation of the ADC
- Implements low power mode
2016-07-25 10:34:57 +02:00
Toon Stegen
7a0e81923b stm32f2: fix dac compilation
this is copied from DipSwitch's pr
2016-07-19 12:10:16 +02:00
Toon Stegen
71dce7584f stm32f2: i2c: update driver
Remove unneeded workaround from stm32f1
Make pullup configurable
Fix OAR1 register initialization
improve i2c read functions with repeatead start conditions
avoid to any loop to become infinite
improve i2c driver error handling
add missing coma in array initializers
2016-04-22 14:03:21 +02:00
Vincent Dupont
70c8bff842 stm32f2: update timer and pwm drivers 2016-04-14 14:44:19 +02:00
Aurelien Gonce
d01da278ac stm32f2: Update hwrng driver 2016-04-13 15:47:12 +02:00
Hermann Lelong
182be862bb stm32f2: Improve UART driver
Add missing DMA interrupts for UART
Improve baudrate intialization:
 - Return error if baudrate is theorically unreachable
 - Implement oversampling by 8 method for high baudrates
Add UART hardware flow control support
Ensure uart tx thread safety with a mutex
Allow setting of pins mode per UART
2016-04-01 16:38:49 +02:00
Vincent Dupont
ab8f9f148e stm32f2: Add RTC driver
The driver was imported from stm32f0
Fixes:
 - Fix 12/24h handling (CR flag badly used)
 - Fix interrupt flag clearance and interrupt name
2016-03-31 16:34:04 +02:00
Vincent Dupont
15b6814d9b stm32f2: Update with last api changes
* Update headers from ST
* Add linker scripts
2016-03-23 15:26:18 +01:00
DipSwitch
4064858e8d stm32f2: add initial support for stm32f2 2015-12-13 11:00:06 +01:00