pub unsafe extern "C" fn Y2RU_SetTransferEndInterrupt(
    should_interrupt: bool
) -> Result
Expand description

Used to enable the end of conversion interrupt.


  • should_interrupt - Enables the interrupt if true, disable it if false.

It is possible to fire an interrupt when the conversion is finished, and that the DMA is done copying the data. This interrupt will then be used to fire an event. See Y2RU_GetTransferEndEvent. By default the interrupt is enabled.

Note: It seems that the event can be fired too soon in some cases, depending the transfer_unit size.Please see the note at Y2RU_SetReceiving