Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
fhss_timer Struct Reference
Struct fhss_timer defines interface between FHSS and FHSS platform timer. More...
#include <fhss_config.h>
Data Fields | |
int(* | fhss_timer_start )(uint32_t, void(*fhss_timer_callback)(const fhss_api_t *fhss_api, uint16_t), const fhss_api_t *fhss_api) |
Start timeout (1us) | |
int(* | fhss_timer_stop )(const fhss_api_t *fhss_api) |
Stop timeout. | |
uint32_t(* | fhss_get_remaining_slots )(const fhss_api_t *fhss_api) |
Get remaining time of started timeout. | |
uint32_t(* | fhss_get_timestamp )(const fhss_api_t *fhss_api) |
Get timestamp since initialization of driver. | |
uint8_t | fhss_resolution_divider |
Divide 1 microsecond resolution. |
Detailed Description
Struct fhss_timer defines interface between FHSS and FHSS platform timer.
Application must implement FHSS timer driver which is then used by FHSS with this interface.
Definition at line 70 of file fhss_config.h.
Field Documentation
uint32_t(* fhss_get_remaining_slots)(const fhss_api_t *fhss_api) |
Get remaining time of started timeout.
Definition at line 79 of file fhss_config.h.
uint32_t(* fhss_get_timestamp)(const fhss_api_t *fhss_api) |
Get timestamp since initialization of driver.
Overflow of 32-bit counter is allowed (1us)
Definition at line 82 of file fhss_config.h.
uint8_t fhss_resolution_divider |
Divide 1 microsecond resolution.
E.g. to use 64us resolution, use fhss_resolution_divider = 64
Definition at line 85 of file fhss_config.h.
int(* fhss_timer_start)(uint32_t, void(*fhss_timer_callback)(const fhss_api_t *fhss_api, uint16_t), const fhss_api_t *fhss_api) |
Start timeout (1us)
Definition at line 73 of file fhss_config.h.
int(* fhss_timer_stop)(const fhss_api_t *fhss_api) |
Stop timeout.
Definition at line 76 of file fhss_config.h.
Generated on Tue Jul 12 2022 12:46:56 by
