Classes | Macros | Functions
d_timer.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  waveconfig_t
 

Macros

#define TC_SAMPLE_SENSORS_CHANNEL   0
 
#define TC_SAMPLE_SENSORS_HANDLER   TC0_Handler
 
#define TC_SAMPLE_SENSORS_ID   ID_TC0
 
#define TC_SAMPLE_SENSORS_IRQn   TC0_IRQn
 
#define TC_SAMPLE_SENSORS_RATE_HZ   8000
 
#define TC_TIME_BASE_ID   ID_TC9
 
#define TC_TIME_CHANNEL   2
 
#define TC_TIME_HANDLER   TC9_Handler
 
#define TC_TIME_IRQn   TC9_IRQn
 
#define TC_TIME_SYNC_CHANNEL   1
 
#define TC_TIME_SYNC_HANDLER   TC1_Handler
 
#define TC_TIME_SYNC_ID   ID_TC1
 
#define TC_TIME_SYNC_IER_MASK   TC_IER_LDRAS
 
#define TC_TIME_SYNC_IRQn   TC1_IRQn
 
#define TC_TIME_SYNC_TICKS_TO_SEC   (5.3333333333333333333333333333333e-8)
 

Functions

volatile uint64_t time_cv (void)
 
int timer_capture_disable (void)
 
int timer_capture_enable (void)
 
void timer_capture_init (void)
 
uint32_t timer_captured (void)
 
void timer_time_init (void)
 
void timer_waveform_init (unsigned int channel, void(*func)(void))
 

Macro Definition Documentation

◆ TC_SAMPLE_SENSORS_CHANNEL

#define TC_SAMPLE_SENSORS_CHANNEL   0

Definition at line 18 of file d_timer.h.

◆ TC_SAMPLE_SENSORS_HANDLER

#define TC_SAMPLE_SENSORS_HANDLER   TC0_Handler

Definition at line 20 of file d_timer.h.

◆ TC_SAMPLE_SENSORS_ID

#define TC_SAMPLE_SENSORS_ID   ID_TC0

Definition at line 19 of file d_timer.h.

◆ TC_SAMPLE_SENSORS_IRQn

#define TC_SAMPLE_SENSORS_IRQn   TC0_IRQn

Definition at line 21 of file d_timer.h.

◆ TC_SAMPLE_SENSORS_RATE_HZ

#define TC_SAMPLE_SENSORS_RATE_HZ   8000

Definition at line 22 of file d_timer.h.

◆ TC_TIME_BASE_ID

#define TC_TIME_BASE_ID   ID_TC9

Definition at line 36 of file d_timer.h.

◆ TC_TIME_CHANNEL

#define TC_TIME_CHANNEL   2

Definition at line 37 of file d_timer.h.

◆ TC_TIME_HANDLER

#define TC_TIME_HANDLER   TC9_Handler

Definition at line 38 of file d_timer.h.

◆ TC_TIME_IRQn

#define TC_TIME_IRQn   TC9_IRQn

Definition at line 39 of file d_timer.h.

◆ TC_TIME_SYNC_CHANNEL

#define TC_TIME_SYNC_CHANNEL   1

Definition at line 26 of file d_timer.h.

◆ TC_TIME_SYNC_HANDLER

#define TC_TIME_SYNC_HANDLER   TC1_Handler

Definition at line 28 of file d_timer.h.

◆ TC_TIME_SYNC_ID

#define TC_TIME_SYNC_ID   ID_TC1

Definition at line 27 of file d_timer.h.

◆ TC_TIME_SYNC_IER_MASK

#define TC_TIME_SYNC_IER_MASK   TC_IER_LDRAS

Definition at line 30 of file d_timer.h.

◆ TC_TIME_SYNC_IRQn

#define TC_TIME_SYNC_IRQn   TC1_IRQn

Definition at line 29 of file d_timer.h.

◆ TC_TIME_SYNC_TICKS_TO_SEC

#define TC_TIME_SYNC_TICKS_TO_SEC   (5.3333333333333333333333333333333e-8)

Definition at line 34 of file d_timer.h.

Function Documentation

◆ time_cv()

volatile uint64_t time_cv ( void  )

Definition at line 284 of file d_timer.c.

◆ timer_capture_disable()

int timer_capture_disable ( void  )

Definition at line 206 of file d_timer.c.

◆ timer_capture_enable()

int timer_capture_enable ( void  )

Definition at line 192 of file d_timer.c.

◆ timer_capture_init()

void timer_capture_init ( void  )

Definition at line 220 of file d_timer.c.

◆ timer_captured()

uint32_t timer_captured ( void  )

Definition at line 258 of file d_timer.c.

◆ timer_time_init()

void timer_time_init ( void  )

Definition at line 322 of file d_timer.c.

◆ timer_waveform_init()

void timer_waveform_init ( unsigned int  channel,
void(*)(void)  func 
)

Definition at line 105 of file d_timer.c.



inertial_sense_ros
Author(s):
autogenerated on Sun Feb 28 2021 03:17:59