Skip to main content

pamoja_sx127x_ocp_register

Function pamoja_sx127x_ocp_register 

Source
#[unsafe(no_mangle)]
pub extern "C" fn pamoja_sx127x_ocp_register(milliamps: u16) -> u8
Expand description

Returns RegOcp for a current limit.

§Arguments

  • milliamps - the most current the amplifier may draw.

§Returns

The register value with the protection on.