|
rt_err_t | rt_spi_bus_register (struct rt_spi_bus *bus, const char *name, const struct rt_spi_ops *ops) |
|
rt_err_t | rt_spi_bus_attach_device (struct rt_spi_device *device, const char *name, const char *bus_name, void *user_data) |
|
rt_err_t | rt_spi_bus_attach_device_cspin (struct rt_spi_device *device, const char *name, const char *bus_name, rt_base_t cs_pin, void *user_data) |
|
rt_err_t | rt_spi_bus_configure (struct rt_spi_device *device) |
|
rt_err_t | rt_spi_take_bus (struct rt_spi_device *device) |
|
rt_err_t | rt_spi_release_bus (struct rt_spi_device *device) |
|
rt_err_t | rt_spi_take (struct rt_spi_device *device) |
|
rt_err_t | rt_spi_release (struct rt_spi_device *device) |
|
rt_err_t | rt_spi_configure (struct rt_spi_device *device, struct rt_spi_configuration *cfg) |
|
rt_err_t | rt_spi_send_then_recv (struct rt_spi_device *device, const void *send_buf, rt_size_t send_length, void *recv_buf, rt_size_t recv_length) |
|
rt_err_t | rt_spi_send_then_send (struct rt_spi_device *device, const void *send_buf1, rt_size_t send_length1, const void *send_buf2, rt_size_t send_length2) |
|
rt_ssize_t | rt_spi_transfer (struct rt_spi_device *device, const void *send_buf, void *recv_buf, rt_size_t length) |
|
rt_err_t | rt_spi_sendrecv8 (struct rt_spi_device *device, rt_uint8_t senddata, rt_uint8_t *recvdata) |
|
rt_err_t | rt_spi_sendrecv16 (struct rt_spi_device *device, rt_uint16_t senddata, rt_uint16_t *recvdata) |
|
struct rt_spi_message * | rt_spi_transfer_message (struct rt_spi_device *device, struct rt_spi_message *message) |
|
rt_inline rt_size_t | rt_spi_recv (struct rt_spi_device *device, void *recv_buf, rt_size_t length) |
|
rt_inline rt_size_t | rt_spi_send (struct rt_spi_device *device, const void *send_buf, rt_size_t length) |
|
rt_inline void | rt_spi_message_append (struct rt_spi_message *list, struct rt_spi_message *message) |
|
rt_err_t | rt_qspi_configure (struct rt_qspi_device *device, struct rt_qspi_configuration *cfg) |
|
rt_err_t | rt_qspi_bus_register (struct rt_spi_bus *bus, const char *name, const struct rt_spi_ops *ops) |
|
rt_size_t | rt_qspi_transfer_message (struct rt_qspi_device *device, struct rt_qspi_message *message) |
|
rt_err_t | rt_qspi_send_then_recv (struct rt_qspi_device *device, const void *send_buf, rt_size_t send_length, void *recv_buf, rt_size_t recv_length) |
|
rt_err_t | rt_qspi_send (struct rt_qspi_device *device, const void *send_buf, rt_size_t length) |
|