Functions | Variables
d_timer.c File Reference
#include <asf.h>
#include <tc.h>
#include "d_timer.h"
#include "misc/debug_gpio.h"
Include dependency graph for d_timer.c:

Go to the source code of this file.

Functions

void TC_TIME_HANDLER (void)
 
static void time_channel_init (uint32_t channel, uint32_t intclock)
 
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)
 
static void timer_io_enable (void)
 
void timer_time_init (void)
 
void timer_waveform_init (unsigned int channel, void(*func)(void))
 

Variables

static int g_capture_initialized
 
static const uint32_t g_divisors [5] = { 2, 8, 32, 128, 0 }
 
static uint16_t g_rollover = 0
 
static void(* g_wvf_callback )(void) = NULL
 
static unsigned int g_wvf_channel
 

Function Documentation

◆ TC_TIME_HANDLER()

void TC_TIME_HANDLER ( void  )

Definition at line 275 of file d_timer.c.

◆ time_channel_init()

static void time_channel_init ( uint32_t  channel,
uint32_t  intclock 
)
static

Definition at line 301 of file d_timer.c.

◆ 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_io_enable()

static void timer_io_enable ( void  )
static

Definition at line 35 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.

Variable Documentation

◆ g_capture_initialized

int g_capture_initialized
static

Definition at line 161 of file d_timer.c.

◆ g_divisors

const uint32_t g_divisors[5] = { 2, 8, 32, 128, 0 }
static

Definition at line 31 of file d_timer.c.

◆ g_rollover

uint16_t g_rollover = 0
static

Definition at line 272 of file d_timer.c.

◆ g_wvf_callback

void(* g_wvf_callback) (void) = NULL
static

Definition at line 32 of file d_timer.c.

◆ g_wvf_channel

unsigned int g_wvf_channel
static

Definition at line 33 of file d_timer.c.



inertial_sense_ros
Author(s):
autogenerated on Sat Sep 19 2020 03:19:05