![]() |
nrfxlib API 3.3.99
|
| uint32_t(* mpsl_fem_twi_if_t::p_xfer_write_async_time_get) (void *p_instance, uint8_t data_length) |
Returns the time in microseconds needed to perform asynchronous TWI write transfer.
This function allows to get the worst case time needed to perform p_xfer_write_async until the completion of th operation. The time returned is measured since the call to function pointed by p_xfer_write_async until the callback provided to that function is called.
p_xfer_write_async_time_get takes into account the current TWI bus speed and any software overhead required by the TWI driver. The implementation may return a bit bigger value taking into account aby safety margin, but must not return too small value.| p_instance | Pointer to object representing TWI instance. The value of p_instance field is put here. The meaning is fully up to the implementation of the function. |
| data_length | Number of bytes to write through the TWI bus. Does not include the slave address field which is always present. |
p_xfer_write_async .