riot_sys

Function nrf5x_spi_acquire

Source
pub unsafe extern "C" fn nrf5x_spi_acquire(
    bus: *mut NRF_SPIM_Type,
    cb: shared_irq_cb_t,
    arg: *mut c_void,
)
Expand description

@brief Acquire the shared I2C/SPI peripheral in SPI mode

@param bus bus to release exclusive access on @param cb ISR handler to call on IRQ @param arg ISR handler argument