mirror of
https://github.com/apache/nuttx.git
synced 2026-09-24 00:42:03 +08:00
rpmsg_port_spi: add nbits to spicfg
Support more spi config paramters for Rpmsg Port SPI/SPI Slave Signed-off-by: liaoao <liaoao@xiaomi.com>
This commit is contained in:
@@ -79,6 +79,7 @@ struct rpmsg_port_spi_config_s
|
||||
int sreq_invert; /* Pin options described in ioexpander.h */
|
||||
|
||||
int mode; /* Mode of enum spi_mode_e */
|
||||
int nbits;
|
||||
uint32_t devid; /* Device ID of enum spi_devtype_e */
|
||||
uint32_t freq; /* SPI frequency (Hz) */
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user