#include "config.h"
#include "timer16_drv.h"
Include dependency graph for timer16_drv.c:

Go to the source code of this file.
Functions | |
| U16 | timer16_get_counter (void) |
| This function READ the 16-bit TIMER counter. | |
| U16 | timer16_get_capture (void) |
| This function READ the 16-bit TIMER capture register. | |
Copyright (c) 2006 Atmel.
Use of this program is subject to Atmel's End User License Agreement. Please read file license.txt for copyright notice.
This file can be parsed by Doxygen for automatic documentation generation. This file has been validated with AVRStudio-412462/WinAVR-20060125.
Definition in file timer16_drv.c.
| U16 timer16_get_counter | ( | void | ) |
This function READ the 16-bit TIMER counter.
Definition at line 43 of file timer16_drv.c.
References Timer16_get_counter_high, and Timer16_get_counter_low.
00044 { 00045 U16 u16_temp; 00046 00047 u16_temp = Timer16_get_counter_low(); 00048 u16_temp |= (Timer16_get_counter_high() << 8 ); 00049 00050 return u16_temp; 00051 }
| U16 timer16_get_capture | ( | void | ) |
This function READ the 16-bit TIMER capture register.
Definition at line 64 of file timer16_drv.c.
References Timer16_get_capture_high, and Timer16_get_capture_low.
00065 { 00066 U16 u16_temp; 00067 00068 u16_temp = Timer16_get_capture_low(); 00069 u16_temp |= (Timer16_get_capture_high() << 8 ); 00070 00071 return u16_temp; 00072 }
1.5.1-p1