Annex Dual Radio Timer¶
The dual radio feature requires a free running timer to enable synchronization of both transceiver together. The user must initialize this timer in their BSP and provide functions to control it.
- Timer configuration:
Counter Up mode
Auto-reload preload disabled
20.48 MHz tick frequency
Generate interruption at end of period
The function pointers below are part of the swc_hal_t
structure. They need to be set to use the dual radio feature.
void (*timer_start)(void); /*!< Radio timer start interface. */
void (*timer_stop)(void); /*!< Radio timer stop interface. */
void (*timer_set_period)(uint16_t period); /*!< Radio timer set period interface. */
void (*disable_timer_irq)(void); /*!< Disable Multi radio interrupt source */
void (*enable_timer_irq)(void); /*!< Enable Multi radio interrupt source */
timer_start¶
This function starts the free running timer.
timer_stop¶
This function stops the free running timer.
timer_set_period¶
This function set the number of ticks required before an interrupt request is triggered.
disable_timer_irq¶
This function disables the timer’s interrupt requests.
enable_timer_irq¶
This function enables the timer’s interrupt requests.