Tscope5
Functions | Variables
timer_internal.c File Reference

Definitions of internal timer functions. More...

Go to the source code of this file.

Functions

void ts5_check_timer (char *calling_function)
 Do some checks at the start of each timer function. More...
 
void ts5_check_timer2 (char *calling_function)
 Do some checks at the start of each timer function. More...
 
void ts5_check_timer3 (char *calling_function)
 Do some checks at the start of each timer function. More...
 
void ts5_check_timer4 (char *calling_function)
 Do some checks at the start of each timer function. More...
 
void ts5_install_timer (char *calling_function)
 Install the timer subsystem. More...
 
void ts5_uninstall_timer ()
 Uninstall the timer subsystem. More...
 
void ts5_install_realtime_clock (char *calling_function)
 Install the realtime clock. More...
 
void ts5_uninstall_realtime_clock ()
 Uninstall the realtime clock. More...
 
void ts5_realtime_clock_nap ()
 Give up processor time to allow other processes to run. More...
 

Variables

int _ts5_is_timer_installed = 0
 Is the timer subsystem installed? More...
 
int _ts5_is_realtime_clock_installed = 0
 Is the realtime clock installed. More...
 

Detailed Description

Definitions of internal timer functions.

Definition in file timer_internal.c.

Function Documentation

void ts5_check_timer ( char *  calling_function)

Do some checks at the start of each timer function.

Parameters
calling_functionName the function that calls for this check or installation.

Checks whether the timer is installed. If not, the timer is installed.

Definition at line 38 of file timer_internal.c.

void ts5_check_timer2 ( char *  calling_function)

Do some checks at the start of each timer function.

Parameters
calling_functionName the function that calls for this check or installation.

Checks whether there are active response buttons. Aborts if necessary.

Definition at line 55 of file timer_internal.c.

void ts5_check_timer3 ( char *  calling_function)

Do some checks at the start of each timer function.

Parameters
calling_functionName the function that calls for this check or installation.

Checks whether there are active trigger devices. Aborts if necessary.

Definition at line 73 of file timer_internal.c.

void ts5_check_timer4 ( char *  calling_function)

Do some checks at the start of each timer function.

Parameters
calling_functionName the function that calls for this check or installation.

Checks whether the realtime clock is installed. If not, the realtime clock is installed.

Definition at line 127 of file timer_internal.c.

void ts5_install_timer ( char *  calling_function)

Install the timer subsystem.

Parameters
calling_functionName the function that calls for this check or installation.

This function is called automatically if necessary.

Definition at line 145 of file timer_internal.c.

void ts5_uninstall_timer ( )

Uninstall the timer subsystem.

This function is called automatically at the end of the program.

Definition at line 185 of file timer_internal.c.

void ts5_install_realtime_clock ( char *  calling_function)

Install the realtime clock.

Parameters
calling_functionName the function that calls for this check or installation.

This function is called automatically if necessary.

Definition at line 212 of file timer_internal.c.

void ts5_uninstall_realtime_clock ( )

Uninstall the realtime clock.

This function is called automatically at the end of the program.

Definition at line 264 of file timer_internal.c.

void ts5_realtime_clock_nap ( )

Give up processor time to allow other processes to run.

Definition at line 288 of file timer_internal.c.

Variable Documentation

int _ts5_is_timer_installed = 0

Is the timer subsystem installed?

Definition at line 24 of file timer_internal.c.

int _ts5_is_realtime_clock_installed = 0

Is the realtime clock installed.

Definition at line 27 of file timer_internal.c.