aboutsummaryrefslogtreecommitdiff
path: root/embassy-imxrt/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'embassy-imxrt/README.md')
-rw-r--r--embassy-imxrt/README.md59
1 files changed, 59 insertions, 0 deletions
diff --git a/embassy-imxrt/README.md b/embassy-imxrt/README.md
new file mode 100644
index 000000000..cfdfb8ce2
--- /dev/null
+++ b/embassy-imxrt/README.md
@@ -0,0 +1,59 @@
1# Embassy iMXRT HAL
2
3## Introduction
4
5HALs implement safe, idiomatic Rust APIs to use the hardware capabilities, so
6raw register manipulation is not needed.
7
8The Embassy iMXRT HAL targets the NXP iMXRT Family of MCUs. The HAL implements
9both blocking and async APIs for many peripherals. The benefit of using the
10async APIs is that the HAL takes care of waiting for peripherals to complete
11operations in low power mode and handling of interrupts, so that applications
12can focus on business logic.
13
14NOTE: The Embassy HALs can be used both for non-async and async operations. For
15async, you can choose which runtime you want to use.
16
17For a complete list of available peripherals and features, see the
18[embassy-imxrt documentation](https://docs.embassy.dev/embassy-imxrt).
19
20## Hardware support
21
22The `embassy-imxrt` HAL currently supports two main variants of the iMXRT
23family:
24
25* MIMXRT685S
26 ([examples](https://github.com/OpenDevicePartnership/embassy-imxrt/tree/main/examples/rt685s-evk))
27* MIMXRT633s
28 ([examples](https://github.com/OpenDevicePartnership/embassy-imxrt/tree/main/examples/rt633))
29
30Several peripherals are supported and tested on both supported chip variants. To
31check what's available, make sure to the MCU you're targetting in the top menu
32in the [documentation](https://docs.embassy.dev/embassy-imxrt).
33
34## TrustZone support
35
36TrustZone support is yet to be implemented.
37
38## Time driver
39
40If the `time-driver` feature is enabled, the HAL uses the RTC peripheral as a
41global time driver for [embassy-time](https://crates.io/crates/embassy-time),
42with a tick rate of 32768 Hz.
43
44## Embedded-hal
45
46The `embassy-imxrt` HAL implements the traits from
47[embedded-hal](https://crates.io/crates/embedded-hal) (v0.2 and 1.0) and
48[embedded-hal-async](https://crates.io/crates/embedded-hal-async), as well as
49[embedded-io](https://crates.io/crates/embedded-io) and
50[embedded-io-async](https://crates.io/crates/embedded-io-async).
51
52## Interoperability
53
54This crate can run on any executor.
55
56Optionally, some features requiring
57[`embassy-time`](https://crates.io/crates/embassy-time) can be activated with
58the `time` feature. If you enable it, you must link an `embassy-time` driver in
59your project.