File tree Expand file tree Collapse file tree 4 files changed +0
-16
lines changed Expand file tree Collapse file tree 4 files changed +0
-16
lines changed Original file line number Diff line number Diff line change 11//! 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.
62
73use core:: { convert:: From , ops:: Not } ;
84
Original file line number Diff line number Diff line change 1616//! Since 7-bit addressing is the mode of the majority of I2C devices,
1717//! `SevenBitAddress` has been set as default mode and thus can be omitted if desired.
1818//!
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- //!
2319//! ## Examples
2420//!
2521//! ### `embedded-hal` implementation for an MCU
Original file line number Diff line number Diff line change 11//! 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.
62
73/// Write half of a serial interface (blocking variant)
84pub trait Write < Word > {
Original file line number Diff line number Diff line change 11//! 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.
62
73/// Blocking transfer
84pub trait Transfer < W > {
You can’t perform that action at this time.
0 commit comments