#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_lora_sim_chip_sx127x(
pa_boost: bool,
tcxo: bool,
out_chip: *mut *mut PamojaLoraSimChip,
) -> PamojaStatusExpand description
Creates a simulated SX1276, SX1277, SX1278, or SX1279, out of reset.
§Arguments
pa_boost-truewhen the antenna is on the PA_BOOST output, as on the RFM95W, andfalsefor RFO.tcxo-truewhen a TCXO drives the XTA pin instead of a crystal.out_chip- receives the chip.
§Returns
PamojaStatus::Ok with the chip in out_chip, or PamojaStatus::InvalidArgument for
a null out_chip.
§Safety
out_chip must be a writable pointer or null.