Struct teensy3_sys::SPIClass
[−]
[src]
pub struct SPIClass;
Methods
impl SPIClass
[src]
unsafe fn begin()
unsafe fn usingInterrupt(n: u8)
unsafe fn usingInterrupt1(interruptName: IRQ_NUMBER_t)
unsafe fn notUsingInterrupt(interruptName: IRQ_NUMBER_t)
unsafe fn beginTransaction(settings: SPISettings)
unsafe fn transfer(data: u8) -> u8
unsafe fn transfer16(data: u16) -> u16
unsafe fn transfer1(buf: *mut c_void, count: usize)
unsafe fn endTransaction()
unsafe fn end()
unsafe fn setBitOrder(bitOrder: u8)
unsafe fn setDataMode(dataMode: u8)
unsafe fn setClockDivider(clockDiv: u8)
unsafe fn setClockDivider_noInline(clk: u32)
unsafe fn attachInterrupt()
unsafe fn detachInterrupt()
unsafe fn setMOSI(pin: u8)
unsafe fn setMISO(pin: u8)
unsafe fn setSCK(pin: u8)
unsafe fn pinIsChipSelect(pin: u8) -> u8
unsafe fn pinIsChipSelect1(pin1: u8, pin2: u8) -> bool
unsafe fn setCS(pin: u8) -> u8
Trait Implementations
impl Debug for SPIClass
[src]
impl Copy for SPIClass
[src]
impl Clone for SPIClass
[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