Struct teensy3_sys::TwoWire
[−]
[src]
pub struct TwoWire { pub _base: Stream, }
Fields
_base: Stream
Methods
impl TwoWire
[src]
unsafe fn begin(&mut self)
unsafe fn begin1(&mut self, arg1: u8)
unsafe fn begin2(&mut self, arg1: i32)
unsafe fn end(&mut self)
unsafe fn setClock(&mut self, arg1: u32)
unsafe fn setSDA(&mut self, arg1: u8)
unsafe fn setSCL(&mut self, arg1: u8)
unsafe fn beginTransmission(&mut self, arg1: u8)
unsafe fn beginTransmission1(&mut self, arg1: i32)
unsafe fn endTransmission(&mut self) -> u8
unsafe fn endTransmission1(&mut self, arg1: u8) -> u8
unsafe fn requestFrom(&mut self, arg1: u8, arg2: u8) -> u8
unsafe fn requestFrom1(&mut self, arg1: u8, arg2: u8, arg3: u8) -> u8
unsafe fn requestFrom2(&mut self, arg1: i32, arg2: i32) -> u8
unsafe fn requestFrom3(&mut self, arg1: i32, arg2: i32, arg3: i32) -> u8
unsafe fn onReceive(&mut self, arg1: Option<unsafe extern fn(arg1: i32)>)
unsafe fn onRequest(&mut self, arg1: Option<unsafe extern fn()>)
unsafe fn send(&mut self, b: u8)
unsafe fn send1(&mut self, s: *mut u8, n: u8)
unsafe fn send2(&mut self, n: i32)
unsafe fn send3(&mut self, s: *mut u8)
unsafe fn receive(&mut self) -> u8
unsafe fn write(&mut self, n: u32) -> usize
unsafe fn write1(&mut self, n: i32) -> usize
unsafe fn write2(&mut self, n: u32) -> usize
unsafe fn write3(&mut self, n: i32) -> usize
Trait Implementations
impl Debug for TwoWire
[src]
impl Copy for TwoWire
[src]
impl Clone for TwoWire
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more