riot_sys::bindgen

Function spi_twi_irq_register_i2c

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

@brief Register a I2C 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