riot_sys::bindgen

Function nrf5x_i2c_acquire

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

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

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