Sebastian Goll
|
746ded94b1
|
Fix minor typos
|
2024-03-26 22:53:14 +01:00 |
|
Dario Nieuwenhuis
|
2bca875b5f
|
stm32: use private_bounds for sealed traits.
|
2024-03-23 01:38:51 +01:00 |
|
Dario Nieuwenhuis
|
eca9aac194
|
Fix warnings in recent nightly.
|
2024-03-20 16:39:09 +01:00 |
|
Sebastian Goll
|
cff665f2ec
|
Avoid unnecessary double-reference
|
2024-03-20 13:08:42 +01:00 |
|
Sebastian Goll
|
4eb4108952
|
Fix build for I2C v2 targets
|
2024-03-20 03:33:15 +01:00 |
|
Sebastian Goll
|
8f19a2b537
|
Avoid missing stop condition when write/read with empty read buffer
|
2024-03-20 02:59:30 +01:00 |
|
Sebastian Goll
|
c96062fbcd
|
Implement blocking transaction handling for I2C v1
|
2024-03-20 02:59:30 +01:00 |
|
Sebastian Goll
|
7c08616c02
|
Introduce frame options to control start/stop conditions
|
2024-03-20 02:55:49 +01:00 |
|
Dario Nieuwenhuis
|
90e96d281f
|
Merge pull request #2373 from embassy-rs/jamesmunns-patch-2
stm32: Add breadcrumb to i2cv1 investigation
|
2023-12-28 23:58:19 +01:00 |
|
James Munns
|
a780339103
|
stm32: Add breadcrumb to i2cv1 investigation
Adds an in-code breadcrumb for https://github.com/embassy-rs/embassy/issues/2372
|
2023-12-28 23:57:10 +01:00 |
|
James Munns
|
a142be8bb8
|
Seems to help
|
2023-12-27 19:12:44 +01:00 |
|
Priit Laes
|
fc724dd707
|
stm32: i2c: Clean up conditional code a bit
By moving conditional code inside the functions, we can
reduce duplication and in one case we can even eliminate one...
|
2023-12-19 11:48:58 +02:00 |
|
Dario Nieuwenhuis
|
49534cd405
|
stm32: more docs.
|
2023-12-19 00:10:36 +01:00 |
|
Dario Nieuwenhuis
|
124478c5e9
|
stm32: more docs.
|
2023-12-18 19:11:23 +01:00 |
|
Dario Nieuwenhuis
|
7044e53af4
|
stm32/i2c: remove _timeout public API, share more code between v1/v2.
|
2023-12-18 18:24:55 +01:00 |
|
Dario Nieuwenhuis
|
80c9d04bbd
|
stm32: add some docs.
|
2023-12-18 00:53:18 +01:00 |
|
Dario Nieuwenhuis
|
c6989dfbca
|
Remove nightly and unstable-traits features in preparation for 1.75.
|
2023-11-29 17:26:33 +01:00 |
|
Barnaby Walters
|
3efc3eee57
|
stm32/i2c: implement async i2c v1.
|
2023-11-24 23:55:46 +01:00 |
|
Dario Nieuwenhuis
|
bc65b8f7ec
|
stm32/i2c: add async, dual interrupt scaffolding.
|
2023-11-24 23:55:45 +01:00 |
|
Andres Vahter
|
4f8c79c911
|
stm32 i2c: allow EHA traits without time feature
|
2023-11-24 15:56:19 +02:00 |
|
Andres Vahter
|
0f2208c0af
|
stm32 i2c: remove mod dummy_time
|
2023-11-11 14:29:24 +02:00 |
|
Andres Vahter
|
6c42885d4a
|
stm32 i2c: remove pub _timeout api
|
2023-11-11 14:05:58 +02:00 |
|
Andres Vahter
|
3b33cc4691
|
i2c: expose async api without needing time
This exposes I2C async API without needing "time" feature. With "time" feature additional async API with timeouts is exposed.
|
2023-11-10 16:04:25 +02:00 |
|
Dario Nieuwenhuis
|
66e399b5c6
|
Merge pull request #2035 from pbert519/stm_reset_and_enable
STM32: combine RccPeripherals reset() and enable() to enable_and_reset()
|
2023-10-12 14:09:13 +00:00 |
|
pbert
|
ecdd7c0e2f
|
enable clock first
|
2023-10-12 11:04:44 +02:00 |
|
pbert
|
f65a96c541
|
STM32: combine RccPeripherals reset() and enable() to reset_and_enable()
|
2023-10-12 11:04:19 +02:00 |
|
Andres Oliva
|
063e6f96da
|
Remove outdated comment
|
2023-10-11 23:56:21 +02:00 |
|
Andres Oliva
|
e6c47c3718
|
cargo fmt
|
2023-10-11 23:47:24 +02:00 |
|
Andres Oliva
|
2f7c2750d1
|
Feature guarded more unused stuff
|
2023-10-11 23:45:47 +02:00 |
|
Andres Oliva
|
032b1f2d59
|
Fix some issues with unused stuff
|
2023-10-11 23:42:40 +02:00 |
|
Andres Oliva
|
f76d50e837
|
cfg! macro didn't work, had to duplicate functions with different guards
|
2023-10-11 23:39:24 +02:00 |
|
Andres Oliva
|
ee5ea7aa06
|
cargo fmt
|
2023-10-11 23:34:02 +02:00 |
|
Andres Oliva
|
251d004708
|
Try using cfg! macro
|
2023-10-11 23:32:40 +02:00 |
|
Andres Oliva
|
cd68f85501
|
Added guards to individual APIs
|
2023-10-11 23:25:13 +02:00 |
|
Andres Oliva
|
b6c0ddb7df
|
Move the feature gates to the i2c module instead of the pub use statement
|
2023-10-11 23:05:12 +02:00 |
|
Andres Oliva
|
ee93bbf1d4
|
Gate pub use _version::*
|
2023-10-11 22:45:54 +02:00 |
|
Andres Oliva
|
1cd3ae9bd5
|
Add comment about feature gate on I2C mod
|
2023-10-11 22:20:17 +02:00 |
|
Andres Oliva
|
bfcca79c1e
|
Add time feature back and gate i2c on time
|
2023-10-11 22:12:03 +02:00 |
|
Andres Oliva
|
cd12c9cbce
|
stm32: add timeout to I2C driver
|
2023-10-10 18:20:46 +02:00 |
|
James Munns
|
930b8f3495
|
Add some uncontroversial derives to Error types
|
2023-10-06 17:45:35 +02:00 |
|
xoviat
|
05218a52e6
|
stm32: update set_config
|
2023-10-01 09:39:10 -05:00 |
|
xoviat
|
274f63a879
|
stm32: fix refcounts for usart, spi, and i2c
|
2023-09-04 15:47:33 -05:00 |
|
Grant Miller
|
d49f40dd5c
|
embassy-stm32: Misc clippy fixes
|
2023-08-06 15:00:39 -05:00 |
|
Matt Ickstadt
|
036bc669cd
|
stm32: only enable async TimeoutI2c on V2 I2C peripheral
|
2023-07-31 14:17:50 -05:00 |
|
Matt Ickstadt
|
26cc0e634d
|
stm32: add async timeout functions to I2c and TimeoutI2c
|
2023-07-31 13:47:03 -05:00 |
|
Matt Ickstadt
|
1b0f4ee653
|
stm32: add outlives bounds to TimeoutI2c impl blocks
This should make usage and error messages more clear.
|
2023-07-31 13:35:06 -05:00 |
|
Matt Ickstadt
|
5a8704b4d8
|
TimeoutI2c: allow ref to live shorter than peripheral
|
2023-07-28 11:16:43 -05:00 |
|
Dario Nieuwenhuis
|
036e6ae30c
|
Rename embassy-hal-common to embassy-hal-internal, document it's for internal use only. (#1700)
|
2023-07-28 13:23:22 +02:00 |
|
shakencodes
|
29f3d5b68d
|
Ensure I2C master_stop() called after error
|
2023-07-10 16:40:33 -07:00 |
|
Dario Nieuwenhuis
|
558918651e
|
stm32: update stm32-metapac.
|
2023-06-19 03:22:12 +02:00 |
|