Skip to main content

pamoja_sx127x_lora_op_mode

Function pamoja_sx127x_lora_op_mode 

Source
#[unsafe(no_mangle)]
pub extern "C" fn pamoja_sx127x_lora_op_mode(mode: u8) -> u8
Expand description

Returns the RegOpMode value for a LoRa operating mode.

§Arguments

  • mode - a PAMOJA_SX127X_MODE_ code; only its low three bits are read.

§Returns

The RegOpMode value, with the LoRa register page selected.