Function frequency_value
Source pub const fn frequency_value(hertz: u32) -> u32
Expand description
Turns a frequency into the number the radio is tuned with.
§Arguments
§Returns
The value the tune command takes.
§Examples
use pamoja_radios::sx1302::sx1261::frequency_value;
assert_eq!(frequency_value(868_100_000), 910_268_825);