xwrust::xwds::spimStruct Spim
source #[repr(C)]
pub struct Spim { }
Expand description
配置总线
§参数说明
- cfgid: 总线配置ID
- to: 期望唤醒的时间点
§错误码
传输SPI消息
§参数说明
- txd: 发送数据的缓冲区
- rxd: 接收数据的缓冲区
- size: 传输的大小
- (I) 作为输入时,表示缓冲区大小(单位:字节)
- (O) 作为输出时,返回实际传输的数据大小
- to: 期望唤醒的时间点
§错误码
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
[From]<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.