Atmel Software Framework

t_cpu_time Struct Reference

Structure holding private information, automatically initialized by the cpu_set_timeout() function.

#include <cycle_counter.h>

Data Fields

unsigned long delay_end_cycle
 The cycle count at the end of the timeout. More...
 
unsigned long delay_start_cycle
 The cycle count at the beginning of the timeout. More...
 
unsigned char timer_state
 Enable/disable the timeout detection. More...
 

unsigned long t_cpu_time::delay_end_cycle

The cycle count at the end of the timeout.

Referenced by cpu_is_timeout(), and cpu_set_timeout().

unsigned long t_cpu_time::delay_start_cycle

The cycle count at the beginning of the timeout.

Referenced by cpu_is_timeout(), and cpu_set_timeout().

unsigned char t_cpu_time::timer_state

Enable/disable the timeout detection.

Referenced by check_device_task(), com_task(), cpu_is_timeout(), cpu_is_timer_stopped(), cpu_set_timeout(), and cpu_stop_timeout().