@@ -73,8 +73,11 @@ pub trait Monotonic {
73
73
fn disable_timer ( ) { }
74
74
}
75
75
76
- /// Creates impl blocks for `embedded_hal::delay::DelayUs`,
77
- /// based on `fugit::ExtU64Ceil`.
76
+ /// Creates impl blocks for [`embedded_hal::delay::DelayNs`][DelayNs],
77
+ /// based on [`fugit::ExtU64Ceil`][ExtU64Ceil].
78
+ ///
79
+ /// [DelayNs]: https://docs.rs/embedded-hal/latest/embedded_hal/delay/trait.DelayNs.html
80
+ /// [ExtU64Ceil]: https://docs.rs/fugit/latest/fugit/trait.ExtU64Ceil.html
78
81
#[ macro_export]
79
82
macro_rules! embedded_hal_delay_impl_fugit64 {
80
83
( $t: ty) => {
@@ -121,8 +124,11 @@ macro_rules! embedded_hal_delay_impl_fugit64 {
121
124
} ;
122
125
}
123
126
124
- /// Creates impl blocks for `embedded_hal_async::delay::DelayUs`,
125
- /// based on `fugit::ExtU64Ceil`.
127
+ /// Creates impl blocks for [`embedded_hal_async::delay::DelayNs`][DelayNs],
128
+ /// based on [`fugit::ExtU64Ceil`][ExtU64Ceil].
129
+ ///
130
+ /// [DelayNs]: https://docs.rs/embedded-hal-async/latest/embedded_hal_async/delay/trait.DelayNs.html
131
+ /// [ExtU64Ceil]: https://docs.rs/fugit/latest/fugit/trait.ExtU64Ceil.html
126
132
#[ macro_export]
127
133
macro_rules! embedded_hal_async_delay_impl_fugit64 {
128
134
( $t: ty) => {
@@ -148,8 +154,11 @@ macro_rules! embedded_hal_async_delay_impl_fugit64 {
148
154
} ;
149
155
}
150
156
151
- /// Creates impl blocks for `embedded_hal::delay::DelayUs`,
152
- /// based on `fugit::ExtU32Ceil`.
157
+ /// Creates impl blocks for [`embedded_hal::delay::DelayNs`][DelayNs],
158
+ /// based on [`fugit::ExtU32Ceil`][ExtU32Ceil].
159
+ ///
160
+ /// [DelayNs]: https://docs.rs/embedded-hal/latest/embedded_hal/delay/trait.DelayNs.html
161
+ /// [ExtU32Ceil]: https://docs.rs/fugit/latest/fugit/trait.ExtU32Ceil.html
153
162
#[ macro_export]
154
163
macro_rules! embedded_hal_delay_impl_fugit32 {
155
164
( $t: ty) => {
@@ -196,8 +205,11 @@ macro_rules! embedded_hal_delay_impl_fugit32 {
196
205
} ;
197
206
}
198
207
199
- /// Creates impl blocks for `embedded_hal_async::delay::DelayUs`,
200
- /// based on `fugit::ExtU32Ceil`.
208
+ /// Creates impl blocks for [`embedded_hal_async::delay::DelayNs`][DelayNs],
209
+ /// based on [`fugit::ExtU32Ceil`][ExtU32Ceil].
210
+ ///
211
+ /// [DelayNs]: https://docs.rs/embedded-hal-async/latest/embedded_hal_async/delay/trait.DelayNs.html
212
+ /// [ExtU32Ceil]: https://docs.rs/fugit/latest/fugit/trait.ExtU32Ceil.html
201
213
#[ macro_export]
202
214
macro_rules! embedded_hal_async_delay_impl_fugit32 {
203
215
( $t: ty) => {
0 commit comments