[][src]Module embedded_spi::ffi

Compatibility shims to allow C use of rust SPI peripherals This module provides mechanisms to convert an abstract Wrapper object to and from c void pointers, as well as C ffi compatible spi_read and spi_write functions using these context pointers.

Traits

Conv

Conv provides methods to convert rust types to and from c pointers

Cursed

Mark traits as cursed to provide a Conv implementation for FFI use