pub fn clear_rx_available_callback_fn(&mut self) {
        critical_section::with(|cs| {
            let mut rx_available_callback_fn = RX_AVAILABLE_CALLBACK_FN.borrow_ref_mut(cs);
            rx_available_callback_fn.take();
        });
    }
Clear the receive available callback function.
esp-ieee802154/src/lib.rs