[−][src]Function mynewt::hw::hal::hal_spi_slave_set_def_tx_val
pub unsafe extern "C" fn hal_spi_slave_set_def_tx_val(
spi_num: c_int,
val: u16
) -> c_int
Sets the default value transferred by the slave. Not valid for master
spi_num
: SPI interface to use
Return: int 0 on success, non-zero error code on failure.