Skip to content
Snippets Groups Projects
Commit 9d46041b authored by Sebastien Lorquet's avatar Sebastien Lorquet
Browse files

reworking how to set rf parameters

parent 03799b6b
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
......@@ -53,8 +53,14 @@ struct si4463_dev_s
FAR const struct si4463_lower_s *lower; /* Low-level MCU-specific support */
uint32_t xtal; /* Frequency of the attached oscillator */
uint32_t realdev; /* Real value of deviation so it can be recomputed when the base freq changes */
uint8_t freq_set:1; /* Flag: Set to 1 if frequency is set */
uint8_t outdiv; /* VCO output divider backup */
/* Requested parameters, input to modem calculator */
uint8_t requested_modtype; /* Requested modulation */
uint32_t requested_datarate; /* Requested data rate in milli bps */
uint32_t requested_basefreq; /* Requested base frequency in Hz */
uint32_t requested_deviation; /* Requested FSK deviation in mHz */
uint32_t requested_chanspacing; /* Requested channel spacing in mHz */
uint32_t requested_bt; /* Requested GFSK parameter */
uint32_t requested_rxbw; /* Requested RX bandwidth */
};
/* Commands */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment