ADF7030-1 Device Drivers API Reference Manual  Alpha 0.0.1
Device Drivers for ADF7030-1 Transceiver
Timers Interface layer
Collaboration diagram for Timers Interface layer:

Data Structures

struct  ADI_ADF7030_1_TIMESTAMP
 

Macros

#define ADF7030_1_TIMER_1MS_VAL   (SYS_CLK_FREQ / 1000)
 
#define ADF7030_1_TIMER_1US_VAL   (ADF7030_1_TIMER_1MS_VAL / 1000)
 
#define ADF7030_1_TIMER_FAST   0
 
#define ADF7030_1_TIMER_TICK   2
 
#define ERROR_CB   12
 
#define ERROR_COMPENSATION_DIV   4
 
#define ERROR_TOFF   12
 
#define ERROR_TON   12
 
#define SYS_CLK_FREQ   26000000
 
#define TOTAL_TMR_ERROR   (ERROR_TON + ERROR_CB + ERROR_TOFF)
 
#define WAIT_US(us)
 

Functions

uint32_t adf7030_1__TIMER_Active_Delay_uS (const uint16_t delay_us)
 Active wait using NOPs This function loops using NOPs to give short delays. More...
 
uint32_t adf7030_1__TIMER_ClrTime (ADI_ADF7030_1_TIMESTAMP *pTime)
 
uint32_t adf7030_1__TIMER_GetTime (ADI_ADF7030_1_TIMESTAMP *pTime)
 
uint32_t adf7030_1__TIMER_Init (void)
 
uint32_t adf7030_1__TIMER_Start_uS (const uint16_t u_sec, ADI_CALLBACK const pfCallback)
 
uint32_t adf7030_1__TIMER_Stop_uS (void)
 
uint32_t adf7030_1__TIMER_UnInit (void)
 
uint32_t adf7030_1__TIMER_Wait_uS (const uint16_t u_sec, ADI_CALLBACK const pfCallback)
 
void GPTimer0Callback (void *pCBParam, uint32_t Event, void *pArg)
 
void GPTimer2Callback (void *pCBParam, uint32_t Event, void *pArg)
 

Variables

ADI_ADF7030_1_TIMESTAMP adf7030_1_time
 
ADI_ADF7030_1_TIMESTAMP adf7030_1_time_capture
 
volatile bool_t bWait_uS_Flag
 

Detailed Description

Macro Definition Documentation

#define WAIT_US (   us)
Value:
{ \
adf7030_1__TIMER_Wait_uS(us, GPTimer0Callback); \
};

Definition at line 38 of file adf7030-1__timer.h.

Function Documentation

uint32_t adf7030_1__TIMER_Active_Delay_uS ( const uint16_t  delay_us)

Active wait using NOPs This function loops using NOPs to give short delays.

Parameters
[in]delay_usDelay in microseconds

Definition at line 364 of file adf7030-1__timer.c.