Skip to main content

pamoja_sx126x_irq_from_bytes

Function pamoja_sx126x_irq_from_bytes 

Source
#[unsafe(no_mangle)]
pub extern "C" fn pamoja_sx126x_irq_from_bytes( high: u8, low: u8, ) -> u16
Expand description

Decodes a GetIrqStatus answer.

§Arguments

  • high - the first answer byte, IrqStatus(15:8).
  • low - the second answer byte, IrqStatus(7:0).

§Returns

The pending interrupts, as PAMOJA_SX126X_IRQ_* bits.