Bas Stottelaar
1105f60a23
cpu/efm32: make series defines explicit
...
The EFM32 uses the provided _SILICON_LABS_32B_SERIES_0 and
_SILICON_LABS_32B_SERIES_1 definitions to enable or disable certain
code. With the introduction of new MCUs, there is also the
_SILICON_LABS_32B_SERIES_2 definition.
This PR ensures that the defines are explicit, and that #else
statements don't target the wrong series.
2020-07-08 21:54:57 +02:00
benpicco
98405fe151
Merge pull request #12380 from benemorius/pr/efm32-uart-init-tx-idle
...
cpu/efm32/uart: uart_init(): begin with TX pin at idle level
2020-02-26 10:23:12 +01:00
Bas Stottelaar
0c18ef4f23
Merge pull request #12278 from benemorius/pr/efm32-uart-rx_cb
...
cpu/efm32/uart: fix handling of RX when no RX callback is configured
2019-11-12 21:33:07 +01:00
Bas Stottelaar
2a5010f779
cpu/efm32: remove EFM32_UART_MODES
2019-10-16 22:05:08 +02:00
Thomas Stilwell
8d7dc4e503
cpu/efm32/uart: uart_init(): begin with TX pin at idle level
...
else TX will be asserted low for a few usec until the peripheral
is initialized and deasserts it
2019-10-06 22:12:37 -05:00
Thomas Stilwell
277459613b
cpu/efm32/uart: uart_write(): block until TX is complete
...
This avoids breaking the last character if something unclocks
the UART immediately after uart_write() returns.
2019-10-06 18:33:59 -05:00
Thomas Stilwell
5fb6801cca
cpu/efm32/uart: don't enable rx if no callback is configured
2019-10-06 18:33:57 -05:00
Thomas Stilwell
c8f34c705b
cpu/efm32/uart: move reusable code into uart_poweron/off()
2019-10-06 18:30:00 -05:00
Thomas Stilwell
3541666956
cpu/efm32/uart: fix crash on rx with no callback configured
2019-10-06 17:56:30 -05:00
Bas Stottelaar
4e6b46ca20
cpu/efm32: implement uart_mode
2019-09-30 18:12:15 +02:00
Bas Stottelaar
b2769c0857
cpu: efm32: move LOW_POWER_ENABLED to efm32-features.mk
2019-09-30 00:03:15 +02:00
Thomas Stilwell
70084ab6aa
cpu/efm32/uart: enable pullup on RX pin
2019-09-24 16:44:15 +02:00
Bas Stottelaar
0c47233f97
cpu: efm32: add support for non-standard UART modes.
2018-06-04 18:16:41 +02:00
Bas Stottelaar
8f12b9896f
cpu: efm32_common + ef32mg1p: replace with generalized efm32 cpu
2017-12-19 20:04:37 +01:00