Trait drone_sx1276::sess::send::SessSend7
[−]
[src]
pub trait SessSend7<F1, F2, F3, F4, F5, F6, F7, C: Conn, M: Mode>: Sized { fn send7<R1, R2, R3, R4, R5, R6, R7>(
self,
f1: F1,
f2: F2,
f3: F3,
f4: F4,
f5: F5,
f6: F6,
f7: F7
) -> Box<Future<Item = Self, Error = SendError<C>> + Send>
where
R1: WSpiReg<M, Next = R2>,
R2: WSpiReg<M, Next = R3>,
R3: WSpiReg<M, Next = R4>,
R4: WSpiReg<M, Next = R5>,
R5: WSpiReg<M, Next = R6>,
R6: WSpiReg<M, Next = R7>,
R7: WSpiReg<M>,
F1: FnOnce(&mut R1) -> &mut R1,
F2: FnOnce(&mut R2) -> &mut R2,
F3: FnOnce(&mut R3) -> &mut R3,
F4: FnOnce(&mut R4) -> &mut R4,
F5: FnOnce(&mut R5) -> &mut R5,
F6: FnOnce(&mut R6) -> &mut R6,
F7: FnOnce(&mut R7) -> &mut R7; }
A session trait for writing 7 registers in burst mode.
Required Methods
fn send7<R1, R2, R3, R4, R5, R6, R7>(
self,
f1: F1,
f2: F2,
f3: F3,
f4: F4,
f5: F5,
f6: F6,
f7: F7
) -> Box<Future<Item = Self, Error = SendError<C>> + Send> where
R1: WSpiReg<M, Next = R2>,
R2: WSpiReg<M, Next = R3>,
R3: WSpiReg<M, Next = R4>,
R4: WSpiReg<M, Next = R5>,
R5: WSpiReg<M, Next = R6>,
R6: WSpiReg<M, Next = R7>,
R7: WSpiReg<M>,
F1: FnOnce(&mut R1) -> &mut R1,
F2: FnOnce(&mut R2) -> &mut R2,
F3: FnOnce(&mut R3) -> &mut R3,
F4: FnOnce(&mut R4) -> &mut R4,
F5: FnOnce(&mut R5) -> &mut R5,
F6: FnOnce(&mut R6) -> &mut R6,
F7: FnOnce(&mut R7) -> &mut R7,
self,
f1: F1,
f2: F2,
f3: F3,
f4: F4,
f5: F5,
f6: F6,
f7: F7
) -> Box<Future<Item = Self, Error = SendError<C>> + Send> where
R1: WSpiReg<M, Next = R2>,
R2: WSpiReg<M, Next = R3>,
R3: WSpiReg<M, Next = R4>,
R4: WSpiReg<M, Next = R5>,
R5: WSpiReg<M, Next = R6>,
R6: WSpiReg<M, Next = R7>,
R7: WSpiReg<M>,
F1: FnOnce(&mut R1) -> &mut R1,
F2: FnOnce(&mut R2) -> &mut R2,
F3: FnOnce(&mut R3) -> &mut R3,
F4: FnOnce(&mut R4) -> &mut R4,
F5: FnOnce(&mut R5) -> &mut R5,
F6: FnOnce(&mut R6) -> &mut R6,
F7: FnOnce(&mut R7) -> &mut R7,
Writes 7 registers in burst mode.