pub type FuriHalSerialDmaRxCallback = Option<unsafe extern "C" fn(handle: *mut FuriHalSerialHandle, event: FuriHalSerialRxEvent, data_len: usize, context: *mut c_void)>;Expand description
Receive DMA callback
DMA Callback will be called in interrupt context, ensure thread safety on your side.
§Arguments
handle- Serial handleevent- FuriHalSerialDmaRxEventdata_len- Received datacontext- Callback context provided earlier
Aliased Type§
enum FuriHalSerialDmaRxCallback {
None,
Some(unsafe extern "C" fn(_: *mut FuriHalSerialHandle, _: u8, _: usize, _: *mut c_void)),
}