riot_sys

Function spi_twi_irq_register_spi

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

@brief Register a SPI IRQ handler for a shared I2C/SPI irq vector

@param bus bus to register the IRQ handler on @param cb callback to call on IRQ @param arg Argument to pass to the handler