 |
HT32SX Monarch Scan
Monarch Scan application for HT32SX
|
Go to the documentation of this file.
16 #define ST_RF_ERR_API_ERROR (sfx_u8)(0x01)
53 sfx_u8 ST_RF_API_get_freq_offset(sfx_s32 *offset);
193 void ST_RF_API_Timer_CB(sfx_u8 state);
211 sfx_u8 ST_RF_API_Get_Continuous_TX_or_MONARCH_Scan_Flag(
void);
255 void ST_RF_API_ReadFifo(sfx_u8 n_bytes, sfx_u8* buffer, sfx_u8 flush);
256 sfx_u8 ST_RF_API_ReadFifoStatus(
void);
257 void ST_RF_API_SetFifoLength(sfx_u8 n_bytes);
sfx_u8 ST_RF_API_get_ramp_duration(void)
Returns the duration of the initial (or final) ramp in ms.
Definition: rf_api.c:1914
sfx_u8 ST_RF_API_gpio_tx_rx_pin(sfx_u8 gpio_pin)
Configures one of the S2-LP pin to be to be configured as (RX or TX) signal.
sfx_u8 ST_RF_API_gpio_rx_pin(sfx_u8 gpio_pin)
Configures one of the S2-LP pin to be configured as RX signal.
void ST_RF_API_S2LP_IRQ_CB(void)
This is a callback exported by the RF_API library. The RF_API module configures the S2-LP to raise in...
Definition: rf_api.c:1762
sfx_u8 ST_RF_API_set_pa(sfx_u8 pa)
Instructs the library to configure the S2-LP for a external PA (Power Amplifier).
sfx_s16 ST_RF_API_GetRSSI(void)
This is a function to Get the latest detected RSSI It is called from Monarch detection algorithm.
Definition: rf_api.c:1964
sfx_u8 ST_RF_API_StartRx(void)
This is a function to force S2LP to switch in RX mode. It is called from Monarch detection algorith...
Definition: rf_api.c:1944
sfx_u8 ST_RF_API_StartTx(void)
This is a function to force S2LP to switch in TX mode. It is called from Monarch detection algorith...
Definition: rf_api.c:1931
sfx_u8 ST_RF_API_set_tcxo(sfx_u8 tcxo)
Instructs the library to configure the S2-LP for a TCXO or for a XTAL.
Definition: rf_api.c:1900
sfx_u8 ST_RF_API_smps(sfx_u8 mode)
Instructs the library to configure the S2-LP with a user defined smps frequency.
sfx_u8 ST_RF_API_set_rssi_offset(sfx_s8 rssi_off)
Set an RSSI offset for the RSSI.
sfx_u8 ST_RF_API_set_xtal_freq(sfx_u32 xtal)
Sets the XTAL frequency of the S2-LP in Hertz (default is 50MHz).
Definition: rf_api.c:1806
sfx_u8 ST_RF_API_get_rssi_offset(sfx_s8 *rssi_off)
Get the RSSI offset for the RSSI.
sfx_u8 ST_RF_API_reduce_output_power(sfx_s16 reduction)
Reduces the output power of the transmitted signal by a facor (reduction*0.5dB against the actual val...
void ST_RF_API_Timer_Channel_Clear_CB(void)
This is a callback exported by the RF_API library. It must be called when the timer started by MCU_AP...
Definition: rf_api.c:1756
sfx_u8 ST_RF_API_set_freq_offset(sfx_s32 offset)
Sets the RF frequency offset in Hertz (default is 0 Hz).
Definition: rf_api.c:1821
sfx_u8 ST_RF_API_set_lbt_thr_offset(sfx_s8 lbt_thr_off)
Set an offset (dB) for tuning the LBT mechanism.
Definition: rf_api.c:1836
sfx_u8 ST_RF_API_get_xtal_freq(sfx_u32 *xtal)
Gets the RF frequency offset of the S2-LP XTAL in Hertz.
Definition: rf_api.c:1813
sfx_u8 ST_RF_API_get_lbt_thr_offset(sfx_s8 *lbt_thr_off)
Get the LBT offset (dB) for the LBT mechanism.
Definition: rf_api.c:1843
sfx_u8 ST_RF_API_gpio_irq_pin(sfx_u8 gpio_pin)
Configures one of the S2-LP pin to be an IRQ pin.
sfx_u8 ST_RF_API_StopRxTx(void)
This is a function to force S2LP to switch in Ready mode. It is called from Monarch detection algor...
Definition: rf_api.c:1953
sfx_u8 ST_RF_API_gpio_tx_pin(sfx_u8 gpio_pin)
Configures one of the S2-LP pin to be configured as TX signal.