diff options
| author | Barnaby Walters <[email protected]> | 2024-01-11 19:57:24 +0100 |
|---|---|---|
| committer | Barnaby Walters <[email protected]> | 2024-01-11 19:57:24 +0100 |
| commit | 1697386820993f7fc8ab39708a1b7349d9ed621e (patch) | |
| tree | 2d28672e95e280a0cf318d21993cb7c23dc663ea /embassy-stm32/README.md | |
| parent | ccf61f50feba45c496de1c3dc49b58cad5b8f7a1 (diff) | |
Correction from review
Diffstat (limited to 'embassy-stm32/README.md')
| -rw-r--r-- | embassy-stm32/README.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-stm32/README.md b/embassy-stm32/README.md index 7cce97d5e..23c1bf967 100644 --- a/embassy-stm32/README.md +++ b/embassy-stm32/README.md | |||
| @@ -20,6 +20,6 @@ In practice, this works as follows: | |||
| 20 | Be aware that, while embassy-stm32 strives to consistently support all peripherals across all chips, this approach can lead to slightly different APIs and capabilities being available on different families. Check the [documentation](https://docs.embassy.dev/embassy-stm32/) for the specific chip you’re using to confirm exactly what’s available. | 20 | Be aware that, while embassy-stm32 strives to consistently support all peripherals across all chips, this approach can lead to slightly different APIs and capabilities being available on different families. Check the [documentation](https://docs.embassy.dev/embassy-stm32/) for the specific chip you’re using to confirm exactly what’s available. |
| 21 | 21 | ||
| 22 | ## embassy-time Time Driver | 22 | ## embassy-time Time Driver |
| 23 | If the `time` feature is enabled, embassy-stm32 provides a timer driver for use with [embassy-time](https://docs.embassy.dev/embassy-time/). You can pick which hardware timer is used for this internally via the `time-driver-*` features, or let embassy pick with `time-driver-any`. | 23 | If the `time` feature is enabled, embassy-stm32 provides a time driver for use with [embassy-time](https://docs.embassy.dev/embassy-time/). You can pick which hardware timer is used for this internally via the `time-driver-*` features, or let embassy pick with `time-driver-any`. |
| 24 | 24 | ||
| 25 | embassy-time has a default tick rate of 1MHz, which is fast enough to cause problems with the 16-bit timers currently supported by the embassy-stm32 time driver (specifically, if a critical section delays an IRQ by more than 32ms). To avoid this, it’s recommended to pick a lower tick rate. 32.768kHz is a reasonable default for many purposes. \ No newline at end of file | 25 | embassy-time has a default tick rate of 1MHz, which is fast enough to cause problems with the 16-bit timers currently supported by the embassy-stm32 time driver (specifically, if a critical section delays an IRQ by more than 32ms). To avoid this, it’s recommended to pick a lower tick rate. 32.768kHz is a reasonable default for many purposes. \ No newline at end of file |
