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

33 Commits

Author SHA1 Message Date
Aurelien Fillau
0368239a63 cpu/stm32l0: power management updated
Now, MCU is able to go in stop mode if necessary when
periph_pm feature is activated.
Regarding LPSDSR bit that deactivates or not regulator in stop
mode, it is up to the user to set/clear this bit. In order
to save power, voltage regulator can be set in low power state
during stop mode but it increases wakeup time.

Signed-off-by: Aurelien Fillau <aurelien.fillau@gmail.com>
2018-03-11 11:01:25 +01:00
Vincent Dupont
c01e8629ec cpu/stm32_common: add PM modes 2018-03-06 15:12:58 +01:00
Gilles DOFFE
bee493ac71 cpu/stm32_common: add qdec implementation
* Add support for the STM32 encoder interface
* The STM32 only supports X2 and X4 modes.
* Enable interrupt handler on counter overflow
* Add simple test code for QDEC based on nucleo-f401 board

Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2018-02-23 23:17:26 +01:00
George Hopkins
ebd525306a cpu/stm32_common: consider timer multiplier for PWM 2017-11-10 17:25:13 +01:00
Hauke Petersen
5920d99752 pm: fix weak-based default implementations
Instead of using `weak` function definitions, this PR handles
default implementations using `PROVIDES_x` defines, allowing
for cpus/pm realted modules to use their own implementations.
2017-10-16 14:27:35 +02:00
Hauke Petersen
5a35517787 cpu/stm32: optimized definition of CPUID_ADDR 2017-10-13 16:03:32 +02:00
Vincent Dupont
be588c2f0e cpu/stm32_common: use pseudomodule for UART HW FC 2017-10-10 14:09:05 +02:00
Hauke Petersen
265173806e cpu/stm32: added model specific LSI clock speeds 2017-08-23 15:39:16 +02:00
Hauke Petersen
73ede74cd8 cpu/stm32: unified and cleaned up DAC driver
- removed neccessity to define empty `DAC_NUMOF 0` for each STM
  base board
- adapted all board configs to this
- joined stm32f2 to use common DAC driver
- improved code of DAC driver
2017-06-29 13:03:12 +02:00
Hauke Petersen
7079d481c7 cpu/stm32: added support for STM32F7 2017-05-08 09:16:12 +02:00
Joakim Nohlgård
6cda6a6560 periph/cpuid: Unify implementations to a common driver for several platforms 2017-04-05 09:03:49 +02:00
Hauke Petersen
964deefc39 cpu: added support for stm32l4 2017-03-30 16:58:34 +02:00
Vincent Dupont
b34611273c Merge pull request #6336 from OTAkeys/pr/stm32_uart
cpu/stm32_common: add UART HW flow control
2017-03-29 12:47:49 +02:00
Vincent Dupont
a8da073f51 cpu/stm32_common: add UART HW flow control 2017-03-29 09:35:29 +02:00
Vincent Dupont
7b686b3015 cpu/stm32_common: unify gpio driver 2017-03-13 15:09:12 +01:00
5bd4ba6da0 cpu/stm32l0: add support for stm32l0 cpu family 2017-02-24 16:12:00 +01:00
Hauke Petersen
0edef2a0e1 cpu/stm32*+boards: adapted to new SPI API
- adapted the SPI driver
- adapted all boards using the CPU
2017-01-25 16:46:45 +01:00
245f60edfa cpu: fix typo in author email 2017-01-19 21:45:23 +01:00
Hauke Petersen
346b51d9fa cpu/stm32/pwm: made channel config more flexible 2017-01-17 14:08:13 +01:00
9d1c5f02d7 cpu: stm32_common: periph_cpu_common.h doxygen fix 2017-01-12 16:26:03 +01:00
5798beca64 cpu: stm32f1/2/4: unify periph/pm support 2017-01-12 16:26:02 +01:00
Hauke Petersen
625d804fcb cpu/stm32_common: unified UART driver 2017-01-05 11:00:18 +01:00
Hauke Petersen
5afb191027 cpu/stm32x: unified gpio_init_af() function 2017-01-05 10:58:54 +01:00
Pieter Willemsen
2b37d369a0 stm32_common: add delay when turn on peripheral clock
Implements workaround 1 (use __DSB()) proposed in the stm32 errata
It was possible to lose data when you configure a peripheral
right after enabling its clock
2016-12-16 14:51:35 +01:00
Hauke Petersen
4d09d09ee4 cpu/stm32x: unified PWM driver 2016-12-15 12:18:39 +01:00
Hauke Petersen
47b379e45d cpu/stm32x: unified timer driver 2016-12-09 12:20:03 +01:00
Hauke Petersen
7979c3ac5c cpu/stm32_common: added periph_apb_clk() function 2016-12-09 12:20:02 +01:00
DipSwitch
bd9b3a269c cpu/stm32/perip/dac: Move DAC implementation to stm32_common/periph since all STM32 DAC's have the same basics 2016-03-29 22:25:50 +02:00
DipSwitch
6e9f36c0c5 cpu/stm32_common/gpio: Use default gpio_t type and defines 2016-03-29 22:25:50 +02:00
Hauke Petersen
462d156821 cpu/stm32_common: added periph clk en/dis functions 2016-03-16 12:17:16 +01:00
Hauke Petersen
360e392d69 cpu/stm32f1: reworked timer driver 2016-03-01 22:39:36 +01:00
Hauke Petersen
ea8db10524 cpu/stm32: use common CPUID implementation 2016-02-10 09:12:30 +01:00
Hauke Petersen
f4587b3794 cpu: added place for shared STM32 files 2016-02-10 09:12:29 +01:00