riot_sys::bindgen

Function shared_irq_register_spi

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

@brief Register a SPI IRQ handler for a shared UART/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