Struct linux_l6470::L6470Connector [−][src]
pub struct L6470Connector { /* fields omitted */ }
A connector to on or more L6470
Methods
impl L6470Connector
[src]
impl L6470Connector
pub fn new<P: AsRef<Path>>(path: P) -> L6470Connector
[src]
pub fn new<P: AsRef<Path>>(path: P) -> L6470Connector
Returns a new connectors
pub fn set_spi_clock_hz(&mut self, clock_hz: u32)
[src]
pub fn set_spi_clock_hz(&mut self, clock_hz: u32)
Set the maximum SPI transfer speed in Hz
The controller can't necessarily assign that specific clock speed
pub fn build(self) -> Result<L6470>
[src]
pub fn build(self) -> Result<L6470>
Auto Trait Implementations
impl Send for L6470Connector
impl Send for L6470Connector
impl Sync for L6470Connector
impl Sync for L6470Connector