File tree 4 files changed +0
-16
lines changed
4 files changed +0
-16
lines changed Original file line number Diff line number Diff line change 1
1
//! Digital I/O
2
- //!
3
- //! In some cases it's possible to implement these blocking traits on top of one of the core HAL
4
- //! traits. To save boilerplate when that's the case a `Default` marker trait may be provided.
5
- //! Implementing that marker trait will opt in your type into a blanket implementation.
6
2
7
3
use core:: { convert:: From , ops:: Not } ;
8
4
Original file line number Diff line number Diff line change 16
16
//! Since 7-bit addressing is the mode of the majority of I2C devices,
17
17
//! `SevenBitAddress` has been set as default mode and thus can be omitted if desired.
18
18
//!
19
- //! In some cases it's possible to implement these blocking traits on top of one of the core HAL
20
- //! traits. To save boilerplate when that's the case a `Default` marker trait may be provided.
21
- //! Implementing that marker trait will opt in your type into a blanket implementation.
22
- //!
23
19
//! ## Examples
24
20
//!
25
21
//! ### `embedded-hal` implementation for an MCU
Original file line number Diff line number Diff line change 1
1
//! Blocking serial API
2
- //!
3
- //! In some cases it's possible to implement these blocking traits on top of one of the core HAL
4
- //! traits. To save boilerplate when that's the case a `Default` marker trait may be provided.
5
- //! Implementing that marker trait will opt in your type into a blanket implementation.
6
2
7
3
/// Write half of a serial interface (blocking variant)
8
4
pub trait Write < Word > {
Original file line number Diff line number Diff line change 1
1
//! Blocking SPI API
2
- //!
3
- //! In some cases it's possible to implement these blocking traits on top of one of the core HAL
4
- //! traits. To save boilerplate when that's the case a `Default` marker trait may be provided.
5
- //! Implementing that marker trait will opt in your type into a blanket implementation.
6
2
7
3
/// Blocking transfer
8
4
pub trait Transfer < W > {
You can’t perform that action at this time.
0 commit comments