(group: u8, number: u8)
| 249 | #[doc(alias = "_IOW")] |
| 250 | #[inline] |
| 251 | pub const fn write<T>(group: u8, number: u8) -> Opcode { |
| 252 | from_components(Direction::Write, group, number, mem::size_of::<T>()) |
| 253 | } |
| 254 | |
| 255 | /// Create a new reading and writing opcode from a group, a number and the |
| 256 | /// type of data. |